From 8dc0bf9b2d683f6b9940d19aa644582ae8ee1791 Mon Sep 17 00:00:00 2001 From: quasisamurai Date: Wed, 4 Sep 2024 07:51:36 -0300 Subject: [PATCH] wip --- testutil/test_helpers.go | 4 ++-- x/ibc-rate-limit/client/cli/query.go | 27 +++++++++++---------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/testutil/test_helpers.go b/testutil/test_helpers.go index 1d2555e41..cc369431a 100644 --- a/testutil/test_helpers.go +++ b/testutil/test_helpers.go @@ -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 @@ -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() diff --git a/x/ibc-rate-limit/client/cli/query.go b/x/ibc-rate-limit/client/cli/query.go index bc6597708..073495ff0 100644 --- a/x/ibc-rate-limit/client/cli/query.go +++ b/x/ibc-rate-limit/client/cli/query.go @@ -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