Skip to content

Commit

Permalink
remove outdated coment
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar committed Aug 2, 2024
1 parent ed3f001 commit 64cd1d4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions l1infotreesync/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,6 @@ func (p *processor) ProcessBlock(ctx context.Context, b sync.Block) error {
}

if event.VerifyBatches != nil {
// before the verify batches event happens, the updateExitRoot event is emitted.
// Since the previous event include the rollup exit root, this can use it to assert
// that the computation of the tree is correct. However, there are some execution paths
// on the contract that don't follow this (verifyBatches + pendingStateTimeout != 0)
rollupExitTreeLeavesToAdd = append(rollupExitTreeLeavesToAdd, tree.Leaf{
Index: event.VerifyBatches.RollupID - 1,
Hash: event.VerifyBatches.ExitRoot,
Expand Down

0 comments on commit 64cd1d4

Please sign in to comment.