Skip to content

Commit

Permalink
bug: tx flags for txfees update prop (#1546) (#1548)
Browse files Browse the repository at this point in the history
Can't submit txfees prop without fees flags

(cherry picked from commit ae19a4c)

Co-authored-by: Adam Tucker <adamleetucker@outlook.com>
  • Loading branch information
mergify[bot] and czarcas7ic authored May 19, 2022
1 parent efccac8 commit 8f27627
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/txfees/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/spf13/cobra"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/gov/client/cli"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand Down Expand Up @@ -92,6 +93,7 @@ func NewCmdSubmitUpdateFeeTokenProposal() *cobra.Command {
cmd.Flags().String(cli.FlagTitle, "", "title of proposal")
cmd.Flags().String(cli.FlagDescription, "", "description of proposal")
cmd.Flags().String(cli.FlagDeposit, "", "deposit of proposal")
flags.AddTxFlagsToCmd(cmd)
_ = cmd.MarkFlagRequired(cli.FlagTitle)
_ = cmd.MarkFlagRequired(cli.FlagDescription)

Expand Down

0 comments on commit 8f27627

Please sign in to comment.