Skip to content

Conversation

thewhaleking
Copy link
Collaborator

async-substrate-interface was not designed to work with old blocks. This adds an error that will correctly inform the user when they're attempting to query the metadata v15 for a very old block [in the case of #112 a block that is 2_499_439 blocks (about a year) old].

@thewhaleking thewhaleking requested a review from a team May 6, 2025 19:26
@github-actions github-actions bot added run-bittensor-sdk-tests Runs Bittensor SDK tests. run-bittensor-cli-tests Runs BTCLI tests. labels May 6, 2025
@thewhaleking thewhaleking linked an issue May 6, 2025 that may be closed by this pull request
@thewhaleking thewhaleking merged commit fab6fc9 into staging May 6, 2025
38 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/add-metadata-at-version-not-found-error branch May 6, 2025 19:59
@ibraheem-abe ibraheem-abe mentioned this pull request May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't get timestamp for old blocks
2 participants