From a7f60b094b95505f466ab680ff4628e0a898ab71 Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Thu, 27 Feb 2025 21:54:07 -0300 Subject: [PATCH] fix: cli opts --- cmd/babylond/cmd/root.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/babylond/cmd/root.go b/cmd/babylond/cmd/root.go index 14adae053..28caf2358 100644 --- a/cmd/babylond/cmd/root.go +++ b/cmd/babylond/cmd/root.go @@ -30,7 +30,6 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/keys" "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/server" servertypes "github.com/cosmos/cosmos-sdk/server/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -127,12 +126,8 @@ func NewRootCmd() *cobra.Command { // add keyring to autocli opts autoCliOpts := tempApp.AutoCliOpts() initClientCtx, _ = config.ReadFromClientConfig(initClientCtx) - autoCliOpts.Keyring, _ = keyring.NewAutoCLIKeyring(initClientCtx.Keyring) + // autoCliOpts.Keyring, _ = keyring.NewAutoCLIKeyring(initClientCtx.Keyring) autoCliOpts.ClientCtx = initClientCtx - autoCliOpts.TxConfigOpts = tx.ConfigOptions{ - EnabledSignModes: tx.DefaultSignModes, - TextualCoinMetadataQueryFn: authtxconfig.NewGRPCCoinMetadataQueryFn(initClientCtx), - } EnhanceRootCommandWithoutTxStaking(autoCliOpts, rootCmd)