-
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
[Sequencer] L1 recovery to support pre etrog #1334
Comments
Re-opening. After pulling the L1 data which was successful the node is stuck reporting it can't find a fork ID to start sequencing. Hopefully something small but we need it to consider this as complete |
I'm halting my efforts after a few hours on this one yesterday, until I can get some feedback. I spoke with Carlos about some of the differences in pre-etrog networks i.e. no injected batch, different mechanisms for handling fork upgrades, and after editing some code to work around some etrog+ concerns I managed to process up to block 37 before hitting issues as the next batch is empty. So far I have come across the following whilst looking at this:
I'm sure there will be more if we keep digging. But essentially the task to support recovering pre-etrog networks is a task to implement a fully working sequencer for fork 4,5,6 and all of the minor/major differences between them. As no new networks will be launched with these forks (and I doubt anything before fork 9) this seems like a lot of effort to tackle an unlikely disaster scenario, and will of course add plenty of complexity to the sequencer code for something that might never be needed. I believe that having suitable backups of Bali, Cardona, Mainnet in 3+ separate places would cover us in the event of a disaster, and if something went seriously wrong we can use a legacy node to sync against the L1 up to the etrog fork. cc: @Sharonbc01 @mandrigin (not sure on Edu's handle but will share this link with him) |
Thanks @hexoscott for this detailed update it does seem like the effort out weighs the reward. One to discuss. |
Current status summary:
While the above solution fully synchronize from L1 (so we are covered from a full DB lost), the procedure is not to most convenient and it is tedious/complex. |
Thanks @krlosMata I will descope this issue from this milestone based on your feedback thank you |
At the moment we can only recover networks post etrog. We need to support recovery of networks prior to this such as the zkevm networks.
The text was updated successfully, but these errors were encountered: