Skip to content

Add MetadataAtVersionNotFound error #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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