Tony D’Addeo
@deodad
questions about OP Stack re-orgs: - can unsafe blocks be re-orged by the sequencer? - if so, how often are unsafe blocks re-orged? - in practice how many confirmations before block become safe? - is there a way to view historical re-orgs? - (bonus) what's the best way to detect a re-oreg?
5 replies
3 recasts
30 reactions
Roberto Bayardo 🎩
@bayardo.eth
Yes, unsafe blocks can potentially be reorged, but most deployments of OP Stack (e.g. Base's) try REALLY REALLY hard to avoid this in order to allow a tx receipt to be treated as an effective tx confirmation. So reorgs are extremely unlikely. I don't think Base has ever had one.
2 replies
0 recast
7 reactions
Tony D’Addeo
@deodad
yea this checks out, for my us case the difference between zero and non-zero is the important one my current assumption is wait for 6 blocks confirmation and assume zero
1 reply
0 recast
1 reaction
Greg
@greg
any specific reasoning for 6 block confirmations or its an arbitrary number? kinda relevant to some stuff we're working on at ENS
2 replies
0 recast
2 reactions
Brock
@runninyeti.eth
tl;dr on our thinking at /indexing if it helps: 1) OP reorgs effectively don't happen due to centralized sequencers 2) We typically assume a tx is "safe" after 1 confirmation as a result 3) Even if there is a reorg, it's practically going to be a reordering of txs within blocks vs txs being reverted (obviously not guaranteed though) -> in the vast majority of cases, landing a tx onchain means it will persist through reorgs 4) If there is a reorg due to L1 state, that's going to be muchhh deeper (can be minutes to days) Decent related read on how the OP team is thinking about reorgs for their interop plays: https://docs.optimism.io/stack/interop/reorg
2 replies
0 recast
3 reactions
Greg
@greg
the ENS use case involves verifying L2 state from L1, so we're thinking to wait a certain amount of time to see if anybody's submitted a challenge before considering the state actually final thinking is that if the state were to be disputed, it would likely happen relatively early (few hours) in the 7 day period, but hard to say confidently since it's never happened
1 reply
0 recast
1 reaction
Brock
@runninyeti.eth
💯 yeah... I haven't seen / noticed the L1 state get disputed so not sure what that would result in My assumption would mirror yours though - challenging L1 state *should* be an automated thing (no human involvement), so it should happen relatively early in the in optimistic period
0 reply
0 recast
1 reaction