Block states
How can you determine when a Taiko Alethia block is Safe
or Finalized
?
The Safe
block state on Taiko Alethia is analogous to a Safe
block state on Ethereum.
Every Taiko Alethia L2 block has a corresponding Ethereum L1 block as it’s origin that can be queried through a taiko-geth API
.
When that Ethereum L1 block can be considered Safe
, the corresponding Taiko Alethia L2 block can be considered to have reached the same block state.
The Finalized
block state is referred to as the Verified
block state on the Taiko Alethia Protocol.
A Taiko Alethia block is Finalized
/Verified
when every state transition from genesis to the current block has valid proofs.
Example Query and Response:
The above Taiko Alethia block with blockID 0x19a3c
would thus be considered Safe
if the L1 block with the blockHash 0x419f..
reaches a Safe
state.
The Taiko Alethia block with blockID 0x19a3c
would be Finalized
/Verified
if every state transition from genesis to the current block has a valid proof.