From 91cfb35ab5e157b2af5460bde34b07292be78481 Mon Sep 17 00:00:00 2001 From: beer-1 <147697694+beer-1@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:16:39 +0900 Subject: [PATCH] fix autocli (#244) --- x/ibc/perm/autocli.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/x/ibc/perm/autocli.go b/x/ibc/perm/autocli.go index 2e1b0a50..e82fe17d 100644 --- a/x/ibc/perm/autocli.go +++ b/x/ibc/perm/autocli.go @@ -12,22 +12,22 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Service: permv1.Query_ServiceDesc.ServiceName, RpcCommandOptions: []*autocliv1.RpcCommandOptions{ { - RpcMethod: "PermissionedRelayer", - Use: "permissioned-relayer", - Alias: []string{"relayer"}, - Short: "Query the permissioned relayer of the IBC connection", - Long: "Query the permissioned relayer of the IBC connection", + RpcMethod: "PermissionedRelayersByChannel", + Use: "permissioned-relayers", + Alias: []string{"relayers"}, + Short: "Query the permissioned relayers of the IBC connection", + Long: "Query the permissioned relayers of the IBC connection", PositionalArgs: []*autocliv1.PositionalArgDescriptor{ {ProtoField: "port_id"}, {ProtoField: "channel_id"}, }, }, { - RpcMethod: "PermissionedRelayers", - Use: "permissioned-relayers", - Alias: []string{"relayers"}, - Short: "Query the permissioned relayers", - Long: "Query the permissioned relayers", + RpcMethod: "AllPermissionedRelayers", + Use: "all-permissioned-relayers", + Alias: []string{"all-relayers"}, + Short: "Query the permissioned relayers of all IBC connections", + Long: "Query the permissioned relayers of all IBC connections", }, }, },