From 8ed9222a58f0f7fa3306b520c8633582654230fb Mon Sep 17 00:00:00 2001 From: DimitrisJim Date: Tue, 15 Oct 2024 15:35:33 +0300 Subject: [PATCH] chore: remove stale references to packet-server in channel/v2. (#7451) --- modules/core/04-channel/v2/client/cli/cli.go | 10 +++++----- modules/core/04-channel/v2/keeper/grpc_query.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/core/04-channel/v2/client/cli/cli.go b/modules/core/04-channel/v2/client/cli/cli.go index c725fe8ee12..69952be9f81 100644 --- a/modules/core/04-channel/v2/client/cli/cli.go +++ b/modules/core/04-channel/v2/client/cli/cli.go @@ -5,14 +5,14 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/ibc-go/v9/modules/core/packet-server/types" + "github.com/cosmos/ibc-go/v9/modules/core/04-channel/v2/types" ) -// GetQueryCmd returns the query commands for the IBC packet-server. +// GetQueryCmd returns the query commands for the IBC channel/v2. func GetQueryCmd() *cobra.Command { queryCmd := &cobra.Command{ Use: types.SubModuleName, - Short: "IBC packet-server query subcommands", + Short: "IBC channel/v2 query subcommands", DisableFlagParsing: true, SuggestionsMinimumDistance: 2, RunE: client.ValidateCmd, @@ -25,11 +25,11 @@ func GetQueryCmd() *cobra.Command { return queryCmd } -// NewTxCmd returns the command to submit transactions defined for the IBC packet-server. +// NewTxCmd returns the command to submit transactions defined for IBC channel/v2. func NewTxCmd() *cobra.Command { txCmd := &cobra.Command{ Use: types.SubModuleName, - Short: "IBC packet-server transaction subcommands", + Short: "IBC channel/v2 transaction subcommands", DisableFlagParsing: true, SuggestionsMinimumDistance: 2, RunE: client.ValidateCmd, diff --git a/modules/core/04-channel/v2/keeper/grpc_query.go b/modules/core/04-channel/v2/keeper/grpc_query.go index fde351da818..10343b516ab 100644 --- a/modules/core/04-channel/v2/keeper/grpc_query.go +++ b/modules/core/04-channel/v2/keeper/grpc_query.go @@ -16,7 +16,7 @@ import ( var _ types.QueryServer = (*queryServer)(nil) -// queryServer implements the packet-server types.QueryServer interface. +// queryServer implements the channel/v2 types.QueryServer interface. type queryServer struct { *Keeper }