Skip to content

Commit

Permalink
style: feedback from review
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Dec 6, 2024
1 parent 9399c26 commit cd24a3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ func GetTxCmd() *cobra.Command {
}

cmd.AddCommand(NewCmdExecute())
cmd.AddCommand(NewCmdSubmitUpgrade())
cmd.AddCommand(newSubmitRecoverClientCmd())
cmd.AddCommand(NewCmdSoftwareUpgrade())
cmd.AddCommand(NewCmdRecoverClient())

return cmd
}
Expand Down Expand Up @@ -73,7 +73,7 @@ func NewCmdExecute() *cobra.Command {
//
// This command has been adapted from the Cosmos SDK implementation.
// https://github.com/cosmos/cosmos-sdk/blob/x/upgrade/v0.1.4/x/upgrade/client/cli/tx.go#L46-L133
func NewCmdSubmitUpgrade() *cobra.Command {
func NewCmdSoftwareUpgrade() *cobra.Command {
cmd := &cobra.Command{
Use: "software-upgrade <name> [--upgrade-height <height>] [--upgrade-info <info>] [flags]",
Args: cobra.ExactArgs(1),
Expand Down Expand Up @@ -147,7 +147,7 @@ func NewCmdSubmitUpgrade() *cobra.Command {
//
// This command has been adapted from the IBC-Go implementation.
// https://github.com/cosmos/ibc-go/blob/v8.5.2/modules/core/02-client/client/cli/tx.go#L248-L303
func newSubmitRecoverClientCmd() *cobra.Command {
func NewCmdRecoverClient() *cobra.Command {
cmd := &cobra.Command{
Use: "recover-client [subject-client-id] [substitute-client-id] [flags]",
Args: cobra.ExactArgs(2),
Expand Down
6 changes: 6 additions & 0 deletions client/cli/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2024 NASD Inc.
//
// Use of this source code is governed by a BSL-style
// license that can be found in the LICENSE file or at
// https://mariadb.com/bsl11.

package cli

import (
Expand Down

0 comments on commit cd24a3d

Please sign in to comment.