-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove stale references to packet-server in channel/v2. #7451
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the usage I guess its just aesthetic preference There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ikr. bank/v2 does same though so at least, precedence |
||
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, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
happy for something different than
channel/v2
if folks have ideas.