cli icon indicating copy to clipboard operation
cli copied to clipboard

`network`: support Ignite CLI config as initial genesis

Open lumtis opened this issue 3 years ago • 0 comments

Support recent change on sp: https://github.com/tendermint/spn/pull/958

1

Add a flag like --genesis-config in publish command. This flag contains the name of the config file in the repository used as the initial genesis for the chain

ignite n chain publish ... --genesis-config config.yml

The CLI must verify that the config file exists under the repo

2

Update initGenesis method that includes logic for config genesis.

If initial genesis is generated from a config, this method run the logic to create a genesis from the config file Only the genesis field and the accounts field in the config file should be parsed, we shouldn't add validators

lumtis avatar Sep 21 '22 21:09 lumtis