Skip to content

[Core Protocol] Need to add L1 confirmation checker. #95

Closed Answered by sbvegan
maodaishan asked this question in Core Protocol
Discussion options

You must be logged in to vote

That is a helpful tool! I'm not aware of a similar one we have at the moment. The root of what you're looking for is the different block tags (safe, unsafe, and finalized).

  • safe means all of the data to derive a L2 block has been included on L1. safe blocks only reorg if L1 reorg happens.
  • unsafe means all of the data to derive a L2 block has been included on L1. unsafe blocks can reorg if the L1 reorgs or there was an issue sequencer.
  • finalized means all of the data to derive a L2 block has been finalized on L1. No finalized block can be reorged.

This is information I gathered from our specs.

So to get the behavior you're looking for, you can check what block the transaction is in and t…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sbvegan
Comment options

You must be logged in to vote
1 reply
@sbvegan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-protocol Questions relating to the core protocol and how the OP Stack works. discussion-metrics Used by Github Action to gather discussion metrics on the question and answer section.
2 participants