From 7ca61460c6b8de5a45c322c52b298c3749d30135 Mon Sep 17 00:00:00 2001 From: MalteHerrmann Date: Wed, 9 Oct 2024 11:51:49 +0200 Subject: [PATCH] use eth_secp dy default again on osd chain --- .clconfig.json | 2 +- example_chain/osd/cmd/root.go | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.clconfig.json b/.clconfig.json index ed097644..ddfadb3d 100644 --- a/.clconfig.json +++ b/.clconfig.json @@ -49,4 +49,4 @@ }, "legacy_version": null, "target_repo": "https://github.com/evmos/os" -} +} \ No newline at end of file diff --git a/example_chain/osd/cmd/root.go b/example_chain/osd/cmd/root.go index b081ca12..7e04dcc9 100644 --- a/example_chain/osd/cmd/root.go +++ b/example_chain/osd/cmd/root.go @@ -24,7 +24,6 @@ import ( "github.com/cosmos/cosmos-sdk/client/pruning" "github.com/cosmos/cosmos-sdk/client/rpc" "github.com/cosmos/cosmos-sdk/client/snapshot" - cosmoshd "github.com/cosmos/cosmos-sdk/crypto/hd" sdkserver "github.com/cosmos/cosmos-sdk/server" serverconfig "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" @@ -39,6 +38,7 @@ import ( genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" evmoscmd "github.com/evmos/os/client" evmoscmdconfig "github.com/evmos/os/cmd/config" + "github.com/evmos/os/crypto/hd" evmoskeyring "github.com/evmos/os/crypto/keyring" "github.com/evmos/os/example_chain" cmdcfg "github.com/evmos/os/example_chain/osd/config" @@ -231,8 +231,7 @@ func initRootCmd(rootCmd *cobra.Command, osApp *example_chain.ExampleChain) { // add evmOS key commands rootCmd.AddCommand( - // evmoscmd.KeyCommands(example_chain.DefaultNodeHome, string(hd.EthSecp256k1Type)), - evmoscmd.KeyCommands(example_chain.DefaultNodeHome, string(cosmoshd.Secp256k1Type)), + evmoscmd.KeyCommands(example_chain.DefaultNodeHome, string(hd.EthSecp256k1Type)), ) // add keybase, auxiliary RPC, query, genesis, and tx child commands