Skip to content

Commit

Permalink
fix: avoid Address cannot be empty error when upgrade-channels (#7342)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe authored Sep 30, 2024
1 parent 7543e47 commit 765ef82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Bug Fixes

* (apps/27-interchain-accounts) [\#7277](https://github.com/cosmos/ibc-go/pull/7277) Use `GogoResolver` when populating module query safe allow list to avoid panics from unresolvable protobuf dependencies.
* (core/04-channel) [\#7342](https://github.com/cosmos/ibc-go/pull/7342) Read Tx cmd flags including from address to avoid Address cannot be empty error when upgrade-channels via cli.

## v9.0.0 (unreleased)

Expand Down
2 changes: 1 addition & 1 deletion modules/core/04-channel/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func newUpgradeChannelsTxCmd() *cobra.Command {
RunE: func(cmd *cobra.Command, args []string) error {
versionStr := args[0]

clientCtx, err := client.GetClientQueryContext(cmd)
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {
return err
}
Expand Down

0 comments on commit 765ef82

Please sign in to comment.