Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjg555543 committed Nov 7, 2024
1 parent 47c85c0 commit 2577840
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sequencesender/txbuilder/banana_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func SequenceSanityCheck(seq *etherman.SequenceBanana) error {
if err != nil {
return err
}
log.Infof("zjg, seq.CounterL1InfoRoot: %v, maxL1InfoIndex: %v", seq.CounterL1InfoRoot, maxL1InfoIndex)
if seq.CounterL1InfoRoot < maxL1InfoIndex+1 {
return fmt.Errorf("wrong CounterL1InfoRoot(%d): BatchL2Data (max=%d) ", seq.CounterL1InfoRoot, maxL1InfoIndex)
}
Expand Down

0 comments on commit 2577840

Please sign in to comment.