op-geth/cmd
jwasinger 7227c9ef07
cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135)
`geth dumpgenesis` currently does not respect the content of the data directory. Instead, it outputs the genesis block created by command-line flags. This PR fixes it to read the genesis from the database, if the database already exists.


Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-09-26 13:55:18 +02:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd/abigen: change --exc to exclude by type name (#22620) 2022-09-23 19:04:02 +02:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
clef internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
devp2p internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
ethkey internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
evm internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
faucet cmd/faucet: fix readme typos (#25867) 2022-09-26 11:30:50 +02:00
geth cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135) 2022-09-26 13:55:18 +02:00
p2psim internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
puppeth cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370) 2022-09-23 22:32:10 +02:00
rlpdump all: change format `0x%x` to `%#x` (#25221) 2022-07-04 11:03:32 +03:00
utils cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135) 2022-09-26 13:55:18 +02:00