diff --git a/go.mod b/go.mod index 0ecda19c..8b8932f4 100644 --- a/go.mod +++ b/go.mod @@ -229,7 +229,7 @@ require ( github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect github.com/spf13/afero v1.11.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.18.2 github.com/status-im/keycard-go v0.2.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect diff --git a/x/erc20/client/cli/tx.go b/x/erc20/client/cli/tx.go index 3282109d..96fee8d3 100644 --- a/x/erc20/client/cli/tx.go +++ b/x/erc20/client/cli/tx.go @@ -244,6 +244,7 @@ Where metadata.json contains (example): return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), proposal) }, } + flags.AddTxFlagsToCmd(cmd) AddGovPropFlagsToCmd(cmd) return cmd @@ -291,6 +292,7 @@ func NewRegisterERC20ProposalCmd(ac addresscodec.Codec) *cobra.Command { return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), proposal) }, } + flags.AddTxFlagsToCmd(cmd) AddGovPropFlagsToCmd(cmd) return cmd @@ -338,6 +340,7 @@ func NewToggleTokenConversionProposalCmd(ac addresscodec.Codec) *cobra.Command { return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), proposal) }, } + flags.AddTxFlagsToCmd(cmd) AddGovPropFlagsToCmd(cmd) return cmd