Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@piggydoughnut
Copy link
Contributor

@piggydoughnut piggydoughnut commented Mar 5, 2025

Addresses #11262

I updated the subscan Sale Purchase Transactions query to use date instead of blocks.
It is not possible to correctly calculate historical Coretime blocks for start and end of the sale due to the regions not being 201,600 blocks long, they deviate from 2,212 to 1,417 blocks in length.

Reproduce steps:

  1. Relay chain -> Network -> Coretime
  2. Sale tab
  3. Choose sale number in the history select at the bottom
  4. Subscan links for purchase and Renewal should point to correct time intervals.
Screenshot 2025-03-05 at 9 48 30 PM

@piggydoughnut piggydoughnut changed the title Fix: query subscan blocks gives 0 blocks Fix: Coretime sale page -> purchase transactions subscan url is constructred with start and end blocks = 0 Mar 5, 2025
@piggydoughnut piggydoughnut merged commit ef69801 into master Mar 6, 2025
5 checks passed
@piggydoughnut piggydoughnut deleted the fix/subscan-query-sales-purchases branch March 6, 2025 23:01
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Mar 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants