chore: rename the ethermint to chibaclonk

1. rename `ethermint` to `chiba-clonk`

2. fix the `make localnet-start`
This commit is contained in:
Sai Kumar
2022-04-05 21:00:20 +05:30
parent 96393bfc36
commit 548f2a7b92
24 changed files with 269 additions and 252 deletions
@@ -11,11 +11,11 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
"github.com/tharsis/ethermint/app"
ethermintd "github.com/tharsis/ethermint/cmd/ethermintd"
chibaclonkd "github.com/tharsis/ethermint/cmd/chibaclonkd"
)
func TestInitCmd(t *testing.T) {
rootCmd, _ := ethermintd.NewRootCmd()
rootCmd, _ := chibaclonkd.NewRootCmd()
rootCmd.SetArgs([]string{
"init", // Test the init cmd
"etherminttest", // Moniker
@@ -41,7 +41,7 @@ import (
ethermint "github.com/tharsis/ethermint/types"
)
const EnvPrefix = "ETHERMINT"
const EnvPrefix = "CHIBACLONK"
// NewRootCmd creates a new root command for simd. It is called once in the
// main function.
@@ -60,8 +60,8 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
WithViper(EnvPrefix)
rootCmd := &cobra.Command{
Use: "ethermintd",
Short: "Ethermint Daemon",
Use: "chibaclonkd",
Short: "Chiba-Clonk Daemon",
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
// set the default command outputs
cmd.SetOut(cmd.OutOrStdout())