Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Sep 4, 2024
1 parent 8a58c2d commit 8dc0bf9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
4 changes: 2 additions & 2 deletions testutil/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ type IBCConnectionTestSuite struct {
ProviderApp e2e.ProviderApp
ChainAApp e2e.ConsumerApp
ChainBApp e2e.ConsumerApp
ChainCApp e2e.ConsumerApp
//ChainCApp e2e.ConsumerApp

CCVPathA *ibctesting.Path
CCVPathB *ibctesting.Path
Expand Down Expand Up @@ -145,7 +145,7 @@ func (suite *IBCConnectionTestSuite) SetupTest() {
suite.ProviderApp = suite.ChainProvider.App.(*appProvider.App)
suite.ChainAApp = suite.ChainA.App.(*app.App)
suite.ChainBApp = suite.ChainB.App.(*app.App)
suite.ChainCApp = suite.ChainB.App.(*app.App)
//suite.ChainCApp = suite.ChainB.App.(*app.App)

providerKeeper := suite.ProviderApp.GetProviderKeeper()
consumerKeeperA := suite.ChainAApp.GetConsumerKeeper()
Expand Down
27 changes: 11 additions & 16 deletions x/ibc-rate-limit/client/cli/query.go
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
package cli

import (
"fmt"

"github.com/spf13/cobra"

"github.com/cosmos/cosmos-sdk/client"
"github.com/neutron-org/neutron/v4/x/ibc-rate-limit/types"
)

// GetQueryCmd returns the cli query commands for this module
func GetQueryCmd() *cobra.Command {
// Group ibc-rate-limit queries under a subcommand
cmd := &cobra.Command{
Use: types.ModuleName,
Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName),
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
}
//cmd := &cobra.Command{
// Use: types.ModuleName,
// Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName),
// DisableFlagParsing: true,
// SuggestionsMinimumDistance: 2,
// RunE: client.ValidateCmd,
//}

cmd.AddCommand(
GetParams(),
)
//cmd.AddCommand(
// GetParams(),
//)

return cmd
return nil
}

// GetParams returns the params for the module
Expand Down

0 comments on commit 8dc0bf9

Please sign in to comment.