-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting sequencer after fork upgrade transaction, the starting block is still on the prior fork ID #1577
Comments
The fix for this is available in |
I'm working on that, will update here at some point ! |
Tried yesterday with zkevm branch and today again with image v2.61.3-RC1, same result. I Halt Sequencer on batch 21, and it halts ok. I keep waiting for virtual and verified batch number endpoints to return 20, but that NEVER happens.
Both Sequencer and RPC report 0x10 as virtual and 0x9 as verified, which turns to be WRONG. I check on L1 contracts: If I ignore these numbers and proceed with the upgrade, when I resume sequencer+rpc, the sequencer produces blocks in the new forkid, but RPC reports a state root missmatch, as reported in the previous comment. |
Interesting, is the RPC going through the stage loop at all? Or does it keep reporting that it's waiting for data from the stream? This is when the network is halted. |
On a fork ID upgrade, once the upgrade transaction is finalized you can restart the sequencer. Once started, check logs and ensure new blocks are generated with new fork ID. During our upgrade we have observed the new block showing the prior fork ID. As a work around we have then taken one of the RPC datadirs (that were synced till the halt and are currently stopped) and replaced it to become new sequencer.
Why is the sequencer not seeing the new fork ID?
This issue needs investigation by Gateway FM and resolution along with clear guidance on the steps to follow when re starting the sequencer after the upgrade transaction is finalized
cc: @ToniRamirezM @rafael-genes
The text was updated successfully, but these errors were encountered: