-
Notifications
You must be signed in to change notification settings - Fork 6
Add regenesis #237
base: develop
Are you sure you want to change the base?
Add regenesis #237
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! looks good to me
@@ -0,0 +1,36 @@ | |||
export const makeRegenesisDump = (dump:any, genesis: any) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the script that we have used to make the regenesis: https://github.com/ethereum-optimism/scripts/blob/main/scripts/state-surgery.js. It currently includes some specific logic for the previous regenesis, so look at its history if you are interested in seeing a more pure form.
Whenever there is another regenesis, we will move it into the monorepo and be very thorough around using it and documenting it.
Codecov Report
@@ Coverage Diff @@
## develop #237 +/- ##
===========================================
- Coverage 79.16% 76.08% -3.08%
===========================================
Files 68 81 +13
Lines 2721 3036 +315
Branches 421 469 +48
===========================================
+ Hits 2154 2310 +156
- Misses 567 726 +159
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
TODO: