chore!: Refactor x/bank CLI Tests (#12706)
This commit is contained in:
@@ -76,7 +76,7 @@ func GetAuxToFeeCommand() *cobra.Command {
|
||||
}
|
||||
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
cmd.Flags().String(flags.FlagChainID, "", "network chain ID")
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,6 @@ The SIGN_MODE_DIRECT sign mode is not supported.'
|
||||
cmd.Flags().String(flags.FlagOutputDocument, "", "The document is written to the given file instead of STDOUT")
|
||||
cmd.Flags().Bool(flagAmino, false, "Generate Amino-encoded JSON suitable for submitting to the txs REST endpoint")
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
cmd.Flags().String(flags.FlagChainID, "", "network chain ID")
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
@@ -54,7 +54,6 @@ account key. It implies --signature-only.
|
||||
cmd.Flags().String(flagMultisig, "", "Address or key name of the multisig account on behalf of which the transaction shall be signed")
|
||||
cmd.Flags().String(flags.FlagOutputDocument, "", "The document will be written to the given file instead of STDOUT")
|
||||
cmd.Flags().Bool(flagSigOnly, true, "Print only the generated signature, then exit")
|
||||
cmd.Flags().String(flags.FlagChainID, "", "network chain ID")
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
|
||||
cmd.MarkFlagRequired(flags.FlagFrom)
|
||||
@@ -192,7 +191,6 @@ be generated via the 'multisign' command.
|
||||
cmd.Flags().Bool(flagOverwrite, false, "Overwrite existing signatures with a new one. If disabled, new signature will be appended")
|
||||
cmd.Flags().Bool(flagSigOnly, false, "Print only the signatures")
|
||||
cmd.Flags().String(flags.FlagOutputDocument, "", "The document will be written to the given file instead of STDOUT")
|
||||
cmd.Flags().String(flags.FlagChainID, "", "The network chain ID")
|
||||
cmd.Flags().Bool(flagAmino, false, "Generate Amino encoded JSON suitable for submiting to the txs REST endpoint")
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ transaction will be not be performed as that will require RPC communication with
|
||||
Args: cobra.ExactArgs(1),
|
||||
}
|
||||
|
||||
cmd.Flags().String(flags.FlagChainID, "", "The network chain ID")
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
|
||||
return cmd
|
||||
|
||||
Reference in New Issue
Block a user