0xPolygonHermez / zkevm-node

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

Fix use of L2coinbase configured in sequencesender.L2Coinbase parameter #3642

Closed agnusmor closed 5 months ago

agnusmor commented 5 months ago

Closes #2739, #3537

What does this PR do?

Fixes use of L2Coinbase address configured in SequenceSender.L2Coinbase parameter instead of use the sequencer address since these 2 addresses can be different. In case they were different we get a "trusted reorg" as commented in the issues #2739 #3537

Reviewers

Main reviewers:

@ToniRamirezM @joanestebanr @ARR552