0xPolygonHermez / zkevm-node

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

synchronizer: sync from Trusted node. If a batch is closed GlobalExitRoot must be updated #3598

Closed joanestebanr closed 5 months ago

joanestebanr commented 5 months ago

System information

zkEVM Node version: v0.6.5 Network: Mainnet

Expected behaviour

When a Trusted Batch is syncrhonized need to update the GER if have changed

Actual behaviour

The case that a trusted Batch need to be closed and have changed GER, GER is not update in state

Steps to reproduce the behaviour

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.