l2geth: Add commands to initialize from a URL, and dump the current chainstate#2048
Conversation
🦋 Changeset detectedLatest commit: b0582a3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Do you mind adding a changeset for this? |
2761135 to
9cfa74d
Compare
|
My bad. Changeset added. |
Codecov Report
@@ Coverage Diff @@
## develop #2048 +/- ##
========================================
Coverage 74.58% 74.58%
========================================
Files 79 79
Lines 2554 2554
Branches 401 401
========================================
Hits 1905 1905
Misses 649 649
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
|
Looks like a linting error needs to be fixed, but the functionality looks good to me |
|
Cool, will fix the lint error then merge. |
5d782c3 to
692e9d3
Compare
…hainstate This PR adds two commands to l2geth: - `geth init <url> <genesisHash>`, which will download a remote genesis JSON file, compare its hash to the one specified on the CLI, then reinitialize the chain config. - `geth dump-chain-cfg`, which will dump the current chain config to stdout. These commands will make it easier for us to adopt the upcoming gas schedule hardfork. Fixes: ENG-1906
692e9d3 to
ae96d78
Compare
This PR adds two commands to l2geth:
geth init <url> <genesisHash>, which will download a remote genesis JSON file, compare its hash to the one specified on the CLI, then reinitialize the chain config.geth dump-chain-cfg, which will dump the current chain config to stdout.These commands will make it easier for us to adopt the upcoming gas schedule hardfork.
Fixes: ENG-1906