fix: per 8711 fix typo and minor command text edit for multi sign batch command (#8718)
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
This commit is contained in:
parent
a786830bb4
commit
68e7a3adf7
|
@ -32,21 +32,21 @@ func GetMultiSignCommand() *cobra.Command {
|
||||||
Long: strings.TrimSpace(
|
Long: strings.TrimSpace(
|
||||||
fmt.Sprintf(`Sign transactions created with the --generate-only flag that require multisig signatures.
|
fmt.Sprintf(`Sign transactions created with the --generate-only flag that require multisig signatures.
|
||||||
|
|
||||||
Read signature(s) from [signature] file(s), generate a multisig signature compliant to the
|
Read one or more signatures from one or more [signature] file, generate a multisig signature compliant to the
|
||||||
multisig key [name], and attach it to the transaction read from [file].
|
multisig key [name], and attach the key name to the transaction read from [file].
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
$ %s tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json
|
$ %s tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json
|
||||||
|
|
||||||
If the flag --signature-only flag is on, it outputs a JSON representation
|
If --signature-only flag is on, output a JSON representation
|
||||||
of the generated signature only.
|
of only the generated signature.
|
||||||
|
|
||||||
The --offline flag makes sure that the client will not reach out to an external node.
|
If the --offline flag is on, the client will not reach out to an external node.
|
||||||
Thus account number or sequence number lookups will not be performed and it is
|
Account number or sequence number lookups are not performed so you must
|
||||||
recommended to set such parameters manually.
|
set these parameters manually.
|
||||||
|
|
||||||
The current multisig implementation doesn't support SIGN_MORE_DIRECT and defaults
|
The current multisig implementation defaults to amino-json sign mode.
|
||||||
to amino-json sign mode.'
|
The SIGN_MODE_DIRECT sign mode is not supported.'
|
||||||
`,
|
`,
|
||||||
version.AppName,
|
version.AppName,
|
||||||
),
|
),
|
||||||
|
@ -56,8 +56,8 @@ to amino-json sign mode.'
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.Flags().Bool(flagSigOnly, false, "Print only the generated signature, then exit")
|
cmd.Flags().Bool(flagSigOnly, false, "Print only the generated signature, then exit")
|
||||||
cmd.Flags().String(flags.FlagOutputDocument, "", "The document will be written to the given file instead of STDOUT")
|
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 submiting to the txs REST endpoint")
|
cmd.Flags().Bool(flagAmino, false, "Generate Amino-encoded JSON suitable for submitting to the txs REST endpoint")
|
||||||
flags.AddTxFlagsToCmd(cmd)
|
flags.AddTxFlagsToCmd(cmd)
|
||||||
cmd.Flags().String(flags.FlagChainID, "", "network chain ID")
|
cmd.Flags().String(flags.FlagChainID, "", "network chain ID")
|
||||||
|
|
||||||
|
@ -196,14 +196,14 @@ func GetMultiSignBatchCmd() *cobra.Command {
|
||||||
Long: strings.TrimSpace(
|
Long: strings.TrimSpace(
|
||||||
fmt.Sprintf(`Assemble a batch of multisig transactions generated by batch sign command.
|
fmt.Sprintf(`Assemble a batch of multisig transactions generated by batch sign command.
|
||||||
|
|
||||||
Read signature(s) from [signature] file(s), generates multisig signatures compliant to the
|
Read one or more signatures from one or more [signature] file, generate a multisig signature compliant to the
|
||||||
multisig key [name], and attach it to the transactions read from [file].
|
multisig key [name], and attach the key name to the transaction read from [file].
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
$ %s tx multisign-batch transactions.json multisigk1k2k3 k1sigs.json k2sigs.json k3sig.json
|
$ %s tx multisign-batch transactions.json multisigk1k2k3 k1sigs.json k2sigs.json k3sig.json
|
||||||
|
|
||||||
The current multisig implementation doesn't support sign_mode_direct and defaults
|
The current multisig implementation defaults to amino-json sign mode.
|
||||||
to amino-json sign mode.'
|
The SIGN_MODE_DIRECT sign mode is not supported.'
|
||||||
`, version.AppName,
|
`, version.AppName,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -215,7 +215,7 @@ to amino-json sign mode.'
|
||||||
cmd.Flags().Bool(flagNoAutoIncrement, false, "disable sequence auto increment")
|
cmd.Flags().Bool(flagNoAutoIncrement, false, "disable sequence auto increment")
|
||||||
cmd.Flags().String(
|
cmd.Flags().String(
|
||||||
flagMultisig, "",
|
flagMultisig, "",
|
||||||
"Address of the multisig account on behalf of which the transaction shall be signed",
|
"Address of the multisig account that the transaction signs on behalf of",
|
||||||
)
|
)
|
||||||
flags.AddTxFlagsToCmd(cmd)
|
flags.AddTxFlagsToCmd(cmd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue