prysm icon indicating copy to clipboard operation
prysm copied to clipboard

Disallow `--chain-config-file` or `--genesis-state` from being passed concurrently with a network flag

Open SeaMonkey82 opened this issue 2 years ago • 2 comments

Prysm should error and exit if --chain-config-file or --genesis-state are passed concurrently with --ropsten (or any other network flag), since one will override the others.

SeaMonkey82 avatar Jun 04 '22 18:06 SeaMonkey82

I believe you must provide a genesis state for a network that isn't mainnet.

prestonvanloon avatar Jun 09 '22 17:06 prestonvanloon

I believe you must provide a genesis state for a network that isn't mainnet.

If that's true, then it must only apply on the initial run, as I removed those two flags from my prysm nodes after the --ropsten flag was added, and they are working.

SeaMonkey82 avatar Jun 09 '22 19:06 SeaMonkey82