forked from cerc-io/laconicd-deprecated
feat: update chain-id format (#447)
* feat: update chain-id format * c++ * docs * additional context'
This commit is contained in:
@@ -17,10 +17,10 @@ import (
|
||||
func TestInitCmd(t *testing.T) {
|
||||
rootCmd, _ := ethermintd.NewRootCmd()
|
||||
rootCmd.SetArgs([]string{
|
||||
"init", // Test the init cmd
|
||||
"ethermint-test", // Moniker
|
||||
"init", // Test the init cmd
|
||||
"etherminttest", // Moniker
|
||||
fmt.Sprintf("--%s=%s", cli.FlagOverwrite, "true"), // Overwrite genesis.json, in case it already exists
|
||||
fmt.Sprintf("--%s=%s", flags.FlagChainID, "ethermint-1"),
|
||||
fmt.Sprintf("--%s=%s", flags.FlagChainID, "ethermint_9000-1"),
|
||||
})
|
||||
|
||||
err := svrcmd.Execute(rootCmd, app.DefaultNodeHome)
|
||||
|
||||
Reference in New Issue
Block a user