Skip to content

Commit

Permalink
fix(cli): avoid id isn't supported error when query address-by-acc-num (
Browse files Browse the repository at this point in the history
#21919)

(cherry picked from commit cb9ed71)

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
mmsqe authored and mergify[bot] committed Sep 26, 2024
1 parent 388879c commit 1a667d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,18 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i

### Improvements

<<<<<<< HEAD
* (genutil) [#21701](https://github.com/cosmos/cosmos-sdk/pull/21701) Improved error messages for genesis validation.
* (runtime) [#21704](https://github.com/cosmos/cosmos-sdk/pull/21704) Move `upgradetypes.StoreLoader` to runtime and alias it in upgrade for backward compatibility.
* (sims)[#21613](https://github.com/cosmos/cosmos-sdk/pull/21613) Add sims2 framework and factory methods for simpler message factories in modules
=======
* (sims) [#21613](https://github.com/cosmos/cosmos-sdk/pull/21613) Add sims2 framework and factory methods for simpler message factories in modules

### Bug Fixes

* (sims) [21906](https://github.com/cosmos/cosmos-sdk/pull/21906) Skip sims test when running dry on validators
* (cli) [#21919](https://github.com/cosmos/cosmos-sdk/pull/21919) Query address-by-acc-num by account_id instead of id.
>>>>>>> cb9ed71ef (fix(cli): avoid id isn't supported error when query address-by-acc-num (#21919))
### API Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion x/auth/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
RpcMethod: "AccountAddressByID",
Use: "address-by-acc-num <acc-num>",
Short: "Query account address by account number",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "id"}},
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "account_id"}},
},
{
RpcMethod: "ModuleAccounts",
Expand Down

0 comments on commit 1a667d2

Please sign in to comment.