From f1e67295fde99074f4d379dd3739426313a95020 Mon Sep 17 00:00:00 2001 From: Halimao <1065621723@qq.com> Date: Thu, 14 Dec 2023 21:41:52 +0800 Subject: [PATCH] fix(x/auth): duplicate vesting subcommands of ` tx --help` (#18746) Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com> --- x/auth/module.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/x/auth/module.go b/x/auth/module.go index 615c79f64d..f5f5952ed3 100644 --- a/x/auth/module.go +++ b/x/auth/module.go @@ -6,7 +6,6 @@ import ( "fmt" gwruntime "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/spf13/cobra" modulev1 "cosmossdk.io/api/cosmos/auth/module/v1" "cosmossdk.io/core/address" @@ -16,7 +15,6 @@ import ( "cosmossdk.io/x/auth/keeper" "cosmossdk.io/x/auth/simulation" "cosmossdk.io/x/auth/types" - "cosmossdk.io/x/auth/vesting/client/cli" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" @@ -84,11 +82,6 @@ func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry) types.RegisterInterfaces(registry) } -// GetTxCmd returns the root tx command for the auth module. -func (ab AppModuleBasic) GetTxCmd() *cobra.Command { - return cli.GetTxCmd() -} - // AppModule implements an application module for the auth module. type AppModule struct { AppModuleBasic