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
The test TestChainRPC waits for a block with a number greater than 0 or 1 to be finalized. When the block is finalized this test calls the chain_getBlock RPC endpoint to retrieve the full block header and calls chain_getBlock again but this time to retrieve the parent block full header.
The last step in the test is to call chain_getBlockHash and assert that the returned hash is not equal to the finalized hash retrieved in the very first step, this last part is flaky since it is not guaranteed that when we call chain_getBlockHash a new block ahead of the finalized one was produced
The text was updated successfully, but these errors were encountered:
Description
The test
TestChainRPC
waits for a block with a number greater than0
or1
to be finalized. When the block is finalized this test calls thechain_getBlock
RPC endpoint to retrieve the full block header and callschain_getBlock
again but this time to retrieve the parent block full header.The last step in the test is to call
chain_getBlockHash
and assert that the returned hash is not equal to the finalized hash retrieved in the very first step, this last part is flaky since it is not guaranteed that when we callchain_getBlockHash
a new block ahead of the finalized one was producedThe text was updated successfully, but these errors were encountered: