Skip to content
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

ForkId update #1780

Closed
ARR552 opened this issue Mar 9, 2023 · 0 comments · Fixed by #1803
Closed

ForkId update #1780

ARR552 opened this issue Mar 9, 2023 · 0 comments · Fixed by #1803

Comments

@ARR552
Copy link
Contributor

ARR552 commented Mar 9, 2023

We can have 2 situations for updating the forID:
1- It is a scheduled update and we wait until all the virtual batches are verified.
2- We face problems in a batch and we need to update the forkID.
For the first situation we don't need to add extra logic.
Regarding the second situation:
When a forkID is detected, the synchronizer has to force a trustedReorg. This will force the sequencer to start building batches again using the correct forkID.
If the event has the batchNumber 15, the synchronizer will delete batches after batch 14.
we would also need to delete the proof table for proofs after proof 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant