• Matthew Slipper's avatar
    l2geth: Add commands to initialize from a URL, and dump the current chainstate · ae96d784
    Matthew Slipper authored
    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
    ae96d784
Name
Last commit
Last update
..
testdata Loading commit data...
accountcmd.go Loading commit data...
accountcmd_test.go Loading commit data...
chaincmd.go Loading commit data...
chaincmd_test.go Loading commit data...
config.go Loading commit data...
consolecmd.go Loading commit data...
consolecmd_test.go Loading commit data...
dao_test.go Loading commit data...
genesis_test.go Loading commit data...
main.go Loading commit data...
misccmd.go Loading commit data...
retesteth.go Loading commit data...
retesteth_copypaste.go Loading commit data...
run_test.go Loading commit data...
usage.go Loading commit data...