go-pulse/cmd/geth
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
..
testdata cmd/geth: update vulnerabilities.json testdata (#24856) 2022-05-16 13:41:36 +02:00
accountcmd_test.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
accountcmd.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
chaincmd.go cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135) 2022-09-26 13:55:18 +02:00
config.go internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
consolecmd_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
consolecmd.go cmd: use flags.Merge for grouping flags (#25392) 2022-07-25 12:07:44 +03:00
dao_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
dbcmd.go cmd/geth: fix legacy receipt detection for empty db (#25609) 2022-08-30 14:38:35 +02:00
genesis_test.go cmd/geth: eth/catalyst: enable authrpc by default (#25152) 2022-07-23 09:56:02 +02:00
les_test.go cmd/geth: eth/catalyst: enable authrpc by default (#25152) 2022-07-23 09:56:02 +02:00
main.go cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370) 2022-09-23 22:32:10 +02:00
misccmd.go internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
run_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
snapshot.go all: clean up the configs for pruner and snapshotter (#22396) 2022-09-23 20:20:36 +02:00
verkle.go cmd/geth: add a verkle subcommand (#25718) 2022-09-14 12:05:03 +02:00
version_check_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
version_check.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00