Skip to content

Commit

Permalink
increase finality lookback
Browse files Browse the repository at this point in the history
  • Loading branch information
arshsingh committed May 2, 2024
1 parent fe8d6c5 commit 6bc5e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/rollup/derive/engine_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const maxUnsafePayloadsMemory = 500 * 1024 * 1024
// The beacon chain on mainnet has 32 slots per epoch,
// and new finalization events happen at most 4 epochs behind the head.
// And then we add 1 to make pruning easier by leaving room for a new item without pruning the 32*4.
const finalityLookback = 4*32 + 1
const finalityLookback = 6*4*32 + 1

// finalityDelay is the number of L1 blocks to traverse before trying to finalize L2 blocks again.
// We do not want to do this too often, since it requires fetching a L1 block by number, so no cache data.
Expand Down

0 comments on commit 6bc5e4f

Please sign in to comment.