From 45090702989a203156ccb46b5bfc36e77826812e Mon Sep 17 00:00:00 2001 From: insumity Date: Thu, 16 May 2024 16:42:46 +0200 Subject: [PATCH] took into account comments --- x/ccv/provider/client/cli/query.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/x/ccv/provider/client/cli/query.go b/x/ccv/provider/client/cli/query.go index d91073fb79..21d840f01f 100644 --- a/x/ccv/provider/client/cli/query.go +++ b/x/ccv/provider/client/cli/query.go @@ -36,11 +36,7 @@ func NewQueryCmd() *cobra.Command { cmd.AddCommand(CmdAllPairsValConAddrByConsumerChainID()) cmd.AddCommand(CmdProviderParameters()) cmd.AddCommand(CmdConsumerChainOptedInValidators()) -<<<<<<< HEAD cmd.AddCommand(CmdConsumerValidators()) -======= - cmd.AddCommand(CmdConsumerChainConsumerValidators()) ->>>>>>> 4243eade (init commit) cmd.AddCommand(CmdConsumerChainsValidatorHasToValidate()) cmd.AddCommand(CmdValidatorConsumerCommissionRate()) cmd.AddCommand(CmdOldestUnconfirmedVsc()) @@ -454,11 +450,7 @@ $ %s consumer-opted-in-validators foochain } // Command to query the consumer validators by consumer chain ID -<<<<<<< HEAD func CmdConsumerValidators() *cobra.Command { -======= -func CmdConsumerChainConsumerValidators() *cobra.Command { ->>>>>>> 4243eade (init commit) cmd := &cobra.Command{ Use: "consumer-validators [chainid]", Short: "Query the last set consumer-validator set for a given consumer chain", @@ -477,13 +469,8 @@ $ %s consumer-validators foochain } queryClient := types.NewQueryClient(clientCtx) -<<<<<<< HEAD res, err := queryClient.QueryConsumerValidators(cmd.Context(), &types.QueryConsumerValidatorsRequest{ChainId: args[0]}) -======= - res, err := queryClient.QueryConsumerChainConsumerValidators(cmd.Context(), - &types.QueryConsumerChainConsumerValidatorsRequest{ChainId: args[0]}) ->>>>>>> 4243eade (init commit) if err != nil { return err }