forked from cerc-io/laconicd-deprecated
changed binary names and source repos in docker files and readmes
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
|
||||
|
||||
"github.com/cerc-io/laconicd/app"
|
||||
chibaclonkd "github.com/cerc-io/laconicd/cmd/chibaclonkd"
|
||||
laconicd "github.com/cerc-io/laconicd/cmd/laconicd"
|
||||
)
|
||||
|
||||
func TestInitCmd(t *testing.T) {
|
||||
rootCmd, _ := chibaclonkd.NewRootCmd()
|
||||
rootCmd, _ := laconicd.NewRootCmd()
|
||||
rootCmd.SetArgs([]string{
|
||||
"init", // Test the init cmd
|
||||
"etherminttest", // Moniker
|
||||
@@ -23,6 +23,6 @@ func TestInitCmd(t *testing.T) {
|
||||
fmt.Sprintf("--%s=%s", flags.FlagChainID, "ethermint_9000-1"),
|
||||
})
|
||||
|
||||
err := svrcmd.Execute(rootCmd, chibaclonkd.EnvPrefix, app.DefaultNodeHome)
|
||||
err := svrcmd.Execute(rootCmd, laconicd.EnvPrefix, app.DefaultNodeHome)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
ethermint "github.com/cerc-io/laconicd/types"
|
||||
)
|
||||
|
||||
const EnvPrefix = "CHIBACLONK"
|
||||
const EnvPrefix = "LACONIC"
|
||||
|
||||
// NewRootCmd creates a new root command for simd. It is called once in the
|
||||
// main function.
|
||||
@@ -61,8 +61,8 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
|
||||
WithViper(EnvPrefix)
|
||||
|
||||
rootCmd := &cobra.Command{
|
||||
Use: "chibaclonkd",
|
||||
Short: "Chiba-Clonk Daemon",
|
||||
Use: "laconicd",
|
||||
Short: "Laconic Daemon",
|
||||
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
// set the default command outputs
|
||||
cmd.SetOut(cmd.OutOrStdout())
|
||||
Reference in New Issue
Block a user