From 6e36dd8b95328e8e10c0001fb2e3477a32485434 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 12 Apr 2024 22:32:31 +0800 Subject: [PATCH 1/2] fix: align query with multi denoms for send-enabled --- CHANGELOG.md | 1 + x/bank/autocli.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f130bc2a385d..1811880dac7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -113,6 +113,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i * [#19833](https://github.com/cosmos/cosmos-sdk/pull/19833) Fix some places in which we call Remove inside a Walk. * [#19851](https://github.com/cosmos/cosmos-sdk/pull/19851) Fix some places in which we call Remove inside a Walk (x/staking and x/gov). * (baseapp) [#19970](https://github.com/cosmos/cosmos-sdk/pull/19970) Fix default config values to use no-op mempool as default. +* (x/bank) [#](https://github.com/cosmos/cosmos-sdk/pull/) Align query with multi denoms for send-enabled. ### API Breaking Changes diff --git a/x/bank/autocli.go b/x/bank/autocli.go index 065dda07068d..4b4c3529f2bd 100644 --- a/x/bank/autocli.go +++ b/x/bank/autocli.go @@ -85,7 +85,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { To look up one or more specific denoms, supply them as arguments to this command. To look up all denoms, do not provide any arguments.`, ), - PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "denoms"}}, + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "denoms", Varargs: true}}, }, }, }, From d3405211cf5c6b9fd243776a4cbfb5eb7e218a68 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 12 Apr 2024 22:34:05 +0800 Subject: [PATCH 2/2] update doc --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1811880dac7a..084c8a8e6502 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -113,7 +113,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i * [#19833](https://github.com/cosmos/cosmos-sdk/pull/19833) Fix some places in which we call Remove inside a Walk. * [#19851](https://github.com/cosmos/cosmos-sdk/pull/19851) Fix some places in which we call Remove inside a Walk (x/staking and x/gov). * (baseapp) [#19970](https://github.com/cosmos/cosmos-sdk/pull/19970) Fix default config values to use no-op mempool as default. -* (x/bank) [#](https://github.com/cosmos/cosmos-sdk/pull/) Align query with multi denoms for send-enabled. +* (x/bank) [#20028](https://github.com/cosmos/cosmos-sdk/pull/20028) Align query with multi denoms for send-enabled. ### API Breaking Changes