You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the execute_in_block_context function is called, the callback receives an immutable reference to a blockchain. Currently, we always return the latest blockchain or a pending blockchain. For historic blocks, the view of the blockchain should be limited to the range of blocks that had already been mined.
Definition of Done
A test demonstrating the soundness issue when retrieving "future" blocks and a fix that ensures the proper error is returned when an unknown block is requested.
The text was updated successfully, but these errors were encountered:
When the
execute_in_block_context
function is called, the callback receives an immutable reference to a blockchain. Currently, we always return the latest blockchain or a pending blockchain. For historic blocks, the view of the blockchain should be limited to the range of blocks that had already been mined.The design of this fix could be affected by #284.
Definition of Done
A test demonstrating the soundness issue when retrieving "future" blocks and a fix that ensures the proper error is returned when an unknown block is requested.
The text was updated successfully, but these errors were encountered: