0xPolygonHermez / zkevm-node

Go implementation of a node that operates the Polygon zkEVM Network
Other
539 stars 697 forks source link

Skip wait L1 block confirmations after restart #3662

Closed agnusmor closed 5 months ago

agnusmor commented 5 months ago

What does this PR do?

Skips wait L1 block confirmations after sequence-sender restart. After the restart, if we have the confirmation of a pending L1 tx sent that was sent before the sequence-sender was restarted, we don't know which batch was the last sequenced, therefore we cannot wait for the L1 block confirmations and compare the last sequenced batch in the SC with the last sequenced from sequence-sender. In this case we skip to wait L1 block confirmations

Reviewers

Main reviewers:

@tclemos @ToniRamirezM