-
Notifications
You must be signed in to change notification settings - Fork 21
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
read pending block not latest #465
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fix the tests, likely needs an update of the devnet/RPC version
thanks, it was missing a mocked response |
blaz's request has been satisfied
Quality Gate passedIssues Measures |
the pending block contains finalized txs so it should be used for the most recent data
if you read from the pending block, there's a problem where the block number on chain is actually not queryable via the rpc because the block hasn't been assigned a block number since it's in the
pending
state. a fix has been made to account for this edge case