fix(x/auth): set from flag in multi-sign command (backport #19239) (backport #24265) (#24331)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
mergify[bot] 2025-04-01 18:47:29 +00:00 committed by GitHub
parent d47a35a93a
commit 03009a01e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (baseapp) [#24055](https://github.com/cosmos/cosmos-sdk/pull/24055) Align block header when query with latest height.
* (baseapp) [#24074](https://github.com/cosmos/cosmos-sdk/pull/24074) Use CometBFT's ComputeProtoSizeForTxs in defaultTxSelector.SelectTxForProposal for consistency.
* (cli) [#24090](https://github.com/cosmos/cosmos-sdk/pull/24090) Prune cmd should disable async pruning.
* (x/auth) [#19239](https://github.com/cosmos/cosmos-sdk/pull/19239) Sets from flag in multi-sign command to avoid no key name provided error.
## [v0.50.12](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.12) - 2025-02-20

View File

@ -73,6 +73,8 @@ The SIGN_MODE_DIRECT sign mode is not supported.'
func makeMultiSignCmd() func(cmd *cobra.Command, args []string) (err error) {
return func(cmd *cobra.Command, args []string) (err error) {
_ = cmd.Flags().Set(flags.FlagFrom, args[1])
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {
return err