chainlink-starknet icon indicating copy to clipboard operation
chainlink-starknet copied to clipboard

read pending block not latest

Open augustbleeds opened this issue 8 months ago • 2 comments

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

augustbleeds avatar Jun 13 '24 18:06 augustbleeds