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

R4R: dump witness for bedrock migration #1357

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

abelliumnt
Copy link
Collaborator

Goals of PR

Core changes:

  • Add statedumper in l2geth to generate witness file which is necessary for bedrock upgrade
  • Anyone can run a replica node to sync data, once the replica node reach bedrock upgrade height, then the witness file is completed.
  • By default, statedumper is closed. It can be opened by setting up an environment variable L2GETH_STATE_DUMP_PATH
  • To generate a full witness file, the replica node must set up the environment variable and sync data from the beginning to the height before bedrock upgrade height.

Notes:

  • Write notes here

Related Issues:

  • Link issues here

@abelliumnt abelliumnt changed the title WIP: dump witness for bedrock migration R4R: dump witness for bedrock migration Aug 22, 2023
@abelliumnt abelliumnt merged commit f713e9c into develop Aug 22, 2023
1 of 9 checks passed
@abelliumnt abelliumnt deleted the lhy/l2geth-dump-witness branch August 22, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants