From d577a4ab3a5279f1f26ed2b90378d13347fdf6c2 Mon Sep 17 00:00:00 2001 From: beer-1 Date: Wed, 25 Sep 2024 22:27:14 +0900 Subject: [PATCH] fix autocli --- x/ibc/perm/autocli.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/x/ibc/perm/autocli.go b/x/ibc/perm/autocli.go index e82fe17d..27e3f42d 100644 --- a/x/ibc/perm/autocli.go +++ b/x/ibc/perm/autocli.go @@ -12,9 +12,9 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Service: permv1.Query_ServiceDesc.ServiceName, RpcCommandOptions: []*autocliv1.RpcCommandOptions{ { - RpcMethod: "PermissionedRelayersByChannel", - Use: "permissioned-relayers", - Alias: []string{"relayers"}, + RpcMethod: "ChannelState", + Use: "channel-state", + Alias: []string{"channel"}, Short: "Query the permissioned relayers of the IBC connection", Long: "Query the permissioned relayers of the IBC connection", PositionalArgs: []*autocliv1.PositionalArgDescriptor{ @@ -23,9 +23,9 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { }, }, { - RpcMethod: "AllPermissionedRelayers", - Use: "all-permissioned-relayers", - Alias: []string{"all-relayers"}, + RpcMethod: "ChannelStates", + Use: "channel-states", + Alias: []string{"channels"}, Short: "Query the permissioned relayers of all IBC connections", Long: "Query the permissioned relayers of all IBC connections", },