Skip to content

Commit

Permalink
revert bank autocli
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 3, 2023
1 parent e283771 commit 2e4726b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 0 additions & 12 deletions x/bank/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,5 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
},
},
},
Tx: &autocliv1.ServiceCommandDescriptor{
Service: bankv1beta1.Msg_ServiceDesc.ServiceName,
RpcCommandOptions: []*autocliv1.RpcCommandOptions{
{
RpcMethod: "Send",
Use: "send [from_key_or_address] [to_address] [amount] [flags]",
Short: "Send coins from one account to another",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "from_address"}, {ProtoField: "to_address"}, {ProtoField: "amount"}},
},
},
EnhanceCustomCommand: true,
},
}
}
1 change: 1 addition & 0 deletions x/bank/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func NewTxCmd(ac address.Codec) *cobra.Command {
}

txCmd.AddCommand(
NewSendTxCmd(ac),
NewMultiSendTxCmd(ac),
)

Expand Down

0 comments on commit 2e4726b

Please sign in to comment.