cli
cli copied to clipboard
`network`: support Ignite CLI config as initial genesis
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