fix(cli): avoid id isn't supported error when query address-by-acc-num (#21919)
This commit is contained in:
parent
3856e777b4
commit
cb9ed71efc
@ -56,6 +56,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
|
||||
### 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.
|
||||
|
||||
### API Breaking Changes
|
||||
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user