From db9176c5162dc78898a2008337df90c8d925a9a5 Mon Sep 17 00:00:00 2001 From: MSalopek Date: Wed, 11 Sep 2024 15:44:08 +0200 Subject: [PATCH] fix!: update consumer chain queries (#2246) * fix!: update consumer chain queries * apply review comments * fix err handling and gosec reports --- .../ccv/provider/v1/query.proto | 26 +- x/ccv/provider/client/cli/query.go | 2 +- x/ccv/provider/keeper/grpc_query.go | 48 +- x/ccv/provider/keeper/grpc_query_test.go | 15 +- x/ccv/provider/types/keys.go | 11 +- x/ccv/provider/types/query.pb.go | 515 +++++++++++------- x/ccv/provider/types/query.pb.gw.go | 30 +- 7 files changed, 399 insertions(+), 248 deletions(-) diff --git a/proto/interchain_security/ccv/provider/v1/query.proto b/proto/interchain_security/ccv/provider/v1/query.proto index 7b4ebcb080..a71a81b8ca 100644 --- a/proto/interchain_security/ccv/provider/v1/query.proto +++ b/proto/interchain_security/ccv/provider/v1/query.proto @@ -12,6 +12,7 @@ import "interchain_security/ccv/v1/wire.proto"; import "tendermint/crypto/keys.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/staking/v1beta1/staking.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; service Query { // ConsumerGenesis queries the genesis state needed to start a consumer chain @@ -28,7 +29,7 @@ service Query { rpc QueryConsumerChains(QueryConsumerChainsRequest) returns (QueryConsumerChainsResponse) { option (google.api.http).get = - "/interchain_security/ccv/provider/consumer_chains/{phase}/{limit}"; + "/interchain_security/ccv/provider/consumer_chains/{phase}"; } // QueryValidatorConsumerAddr queries the address @@ -158,12 +159,14 @@ message QueryConsumerChainsRequest { // The phase of the consumer chains returned (optional) // Registered=1|Initialized=2|Launched=3|Stopped=4|Deleted=5 ConsumerPhase phase = 1; - // The limit of consumer chains returned (optional) - // default is 100 - int32 limit = 2; + + cosmos.base.query.v1beta1.PageRequest pagination = 2; } -message QueryConsumerChainsResponse { repeated Chain chains = 1; } +message QueryConsumerChainsResponse { + repeated Chain chains = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} message Chain { string chain_id = 1; @@ -372,10 +375,11 @@ message QueryConsumerChainRequest { } message QueryConsumerChainResponse { - string chain_id = 1; - string owner_address = 2; - string phase = 3; - ConsumerMetadata metadata = 4 [ (gogoproto.nullable) = false ]; - ConsumerInitializationParameters init_params = 5; - PowerShapingParameters power_shaping_params = 6; + string consumer_id = 1; + string chain_id = 2; + string owner_address = 3; + string phase = 4; + ConsumerMetadata metadata = 5 [ (gogoproto.nullable) = false ]; + ConsumerInitializationParameters init_params = 6; + PowerShapingParameters power_shaping_params = 7; } diff --git a/x/ccv/provider/client/cli/query.go b/x/ccv/provider/client/cli/query.go index 143cbb6d4a..ef4b398624 100644 --- a/x/ccv/provider/client/cli/query.go +++ b/x/ccv/provider/client/cli/query.go @@ -102,7 +102,7 @@ func CmdConsumerChains() *cobra.Command { if err != nil { return err } - req.Limit = int32(limit) + req.Pagination.Limit = uint64(limit) } res, err := queryClient.QueryConsumerChains(cmd.Context(), req) diff --git a/x/ccv/provider/keeper/grpc_query.go b/x/ccv/provider/keeper/grpc_query.go index c18f44f548..0a3edcdfb1 100644 --- a/x/ccv/provider/keeper/grpc_query.go +++ b/x/ccv/provider/keeper/grpc_query.go @@ -3,6 +3,7 @@ package keeper import ( "bytes" "context" + "encoding/binary" "fmt" "sort" @@ -10,8 +11,10 @@ import ( "google.golang.org/grpc/status" errorsmod "cosmossdk.io/errors" + "cosmossdk.io/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/query" "github.com/cosmos/interchain-security/v6/x/ccv/provider/types" ccvtypes "github.com/cosmos/interchain-security/v6/x/ccv/types" @@ -48,37 +51,35 @@ func (k Keeper) QueryConsumerChains(goCtx context.Context, req *types.QueryConsu } ctx := sdk.UnwrapSDKContext(goCtx) + var chains []*types.Chain - consumerIds := []string{} - for _, consumerID := range k.GetAllConsumerIds(ctx) { - phase := k.GetConsumerPhase(ctx, consumerID) - if req.Phase != types.CONSUMER_PHASE_UNSPECIFIED && req.Phase != phase { - // ignore consumer chain - continue + store := ctx.KVStore(k.storeKey) + storePrefix := types.ConsumerIdToPhaseKeyPrefix() + consumerPhaseStore := prefix.NewStore(store, []byte{storePrefix}) + pageRes, err := query.Paginate(consumerPhaseStore, req.Pagination, func(key, value []byte) error { + consumerId, err := types.ParseStringIdWithLenKey(storePrefix, append([]byte{storePrefix}, key...)) + if err != nil { + return status.Error(codes.Internal, err.Error()) } - consumerIds = append(consumerIds, consumerID) - } - // set limit to default value - limit := 100 - if req.Limit != 0 { - // update limit if specified - limit = int(req.Limit) - } - if len(consumerIds) > limit { - consumerIds = consumerIds[:limit] - } + phase := types.ConsumerPhase(binary.BigEndian.Uint32(value)) + if req.Phase != types.CONSUMER_PHASE_UNSPECIFIED && req.Phase != phase { + return nil + } - chains := make([]*types.Chain, len(consumerIds)) - for i, cID := range consumerIds { - c, err := k.GetConsumerChain(ctx, cID) + c, err := k.GetConsumerChain(ctx, consumerId) if err != nil { - return nil, status.Error(codes.Internal, err.Error()) + return status.Error(codes.Internal, err.Error()) } - chains[i] = &c + chains = append(chains, &c) + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) } - return &types.QueryConsumerChainsResponse{Chains: chains}, nil + return &types.QueryConsumerChainsResponse{Chains: chains, Pagination: pageRes}, nil } // GetConsumerChain returns a Chain data structure with all the necessary fields @@ -594,6 +595,7 @@ func (k Keeper) QueryConsumerChain(goCtx context.Context, req *types.QueryConsum return &types.QueryConsumerChainResponse{ ChainId: chainId, + ConsumerId: consumerId, OwnerAddress: ownerAddress, Phase: phase.String(), Metadata: metadata, diff --git a/x/ccv/provider/keeper/grpc_query_test.go b/x/ccv/provider/keeper/grpc_query_test.go index c2cabfe8b1..6530087235 100644 --- a/x/ccv/provider/keeper/grpc_query_test.go +++ b/x/ccv/provider/keeper/grpc_query_test.go @@ -17,6 +17,7 @@ import ( "github.com/cometbft/cometbft/proto/tendermint/crypto" + sdkquery "github.com/cosmos/cosmos-sdk/types/query" cryptotestutil "github.com/cosmos/interchain-security/v6/testutil/crypto" testkeeper "github.com/cosmos/interchain-security/v6/testutil/keeper" "github.com/cosmos/interchain-security/v6/x/ccv/provider/keeper" @@ -558,6 +559,7 @@ func TestQueryConsumerChain(t *testing.T) { expRes := types.QueryConsumerChainResponse{ ChainId: chainId, + ConsumerId: consumerId, OwnerAddress: providerKeeper.GetAuthority(), Metadata: types.ConsumerMetadata{Name: chainId}, Phase: types.CONSUMER_PHASE_REGISTERED.String(), @@ -663,7 +665,7 @@ func TestQueryConsumerChains(t *testing.T) { name string setup func(ctx sdk.Context, pk keeper.Keeper) phase_filter types.ConsumerPhase - limit int32 + limit uint64 expConsumers []*types.Chain }{ { @@ -675,7 +677,7 @@ func TestQueryConsumerChains(t *testing.T) { name: "expect an amount of consumer equal to the limit", setup: func(ctx sdk.Context, pk keeper.Keeper) {}, expConsumers: consumers[:3], - limit: int32(3), + limit: 3, }, { name: "expect registered consumers when phase filter is set to Registered", @@ -720,14 +722,19 @@ func TestQueryConsumerChains(t *testing.T) { tc.setup(ctx, pk) req := types.QueryConsumerChainsRequest{ Phase: tc.phase_filter, - Limit: tc.limit, + Pagination: &sdkquery.PageRequest{ + Limit: tc.limit, + }, } expectedResponse := types.QueryConsumerChainsResponse{ Chains: tc.expConsumers, } res, err := pk.QueryConsumerChains(ctx, &req) require.NoError(t, err) - require.Equal(t, &expectedResponse, res, tc.name) + require.Equal(t, expectedResponse.GetChains(), res.GetChains(), tc.name) + if tc.limit != 0 { + require.Len(t, res.GetChains(), int(tc.limit), tc.name) + } }) } } diff --git a/x/ccv/provider/types/keys.go b/x/ccv/provider/types/keys.go index 368ecf47e6..829fa85103 100644 --- a/x/ccv/provider/types/keys.go +++ b/x/ccv/provider/types/keys.go @@ -674,9 +674,14 @@ func ConsumerIdToPowerShapingParametersKey(consumerId string) []byte { return StringIdWithLenKey(mustGetKeyPrefix(ConsumerIdToPowerShapingParameters), consumerId) } +// ConsumerIdToPhaseKeyPrefix returns the key prefix used to iterate over all the consumer ids and their phases. +func ConsumerIdToPhaseKeyPrefix() byte { + return mustGetKeyPrefix(ConsumerIdToPhaseKeyName) +} + // ConsumerIdToPhaseKey returns the key used to store the phase that corresponds to this consumer id func ConsumerIdToPhaseKey(consumerId string) []byte { - return StringIdWithLenKey(mustGetKeyPrefix(ConsumerIdToPhaseKeyName), consumerId) + return StringIdWithLenKey(ConsumerIdToPhaseKeyPrefix(), consumerId) } // ConsumerIdToRemovalTimeKeyPrefix returns the key prefix for storing the removal times of consumer chains @@ -801,8 +806,8 @@ func StringIdWithLenKey(prefix byte, stringId string) []byte { func ParseStringIdWithLenKey(prefix byte, bz []byte) (string, error) { expectedPrefix := []byte{prefix} prefixL := len(expectedPrefix) - if prefix := bz[:prefixL]; !bytes.Equal(prefix, expectedPrefix) { - return "", fmt.Errorf("invalid prefix; expected: %X, got: %X", expectedPrefix, prefix) + if prefixBz := bz[:prefixL]; !bytes.Equal(prefixBz, expectedPrefix) { + return "", fmt.Errorf("invalid prefix; expected: %X, got: %X, input %X -- len %d", expectedPrefix, prefixBz, prefix, prefixL) } stringIdL := sdk.BigEndianToUint64(bz[prefixL : prefixL+8]) stringId := string(bz[prefixL+8 : prefixL+8+int(stringIdL)]) diff --git a/x/ccv/provider/types/query.pb.go b/x/ccv/provider/types/query.pb.go index 222aefabd0..c0c30c8289 100644 --- a/x/ccv/provider/types/query.pb.go +++ b/x/ccv/provider/types/query.pb.go @@ -9,6 +9,7 @@ import ( fmt "fmt" crypto "github.com/cometbft/cometbft/proto/tendermint/crypto" _ "github.com/cosmos/cosmos-proto" + query "github.com/cosmos/cosmos-sdk/types/query" types1 "github.com/cosmos/cosmos-sdk/x/staking/types" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -129,10 +130,8 @@ func (m *QueryConsumerGenesisResponse) GetGenesisState() types.ConsumerGenesisSt type QueryConsumerChainsRequest struct { // The phase of the consumer chains returned (optional) // Registered=1|Initialized=2|Launched=3|Stopped=4|Deleted=5 - Phase ConsumerPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=interchain_security.ccv.provider.v1.ConsumerPhase" json:"phase,omitempty"` - // The limit of consumer chains returned (optional) - // default is 100 - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + Phase ConsumerPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=interchain_security.ccv.provider.v1.ConsumerPhase" json:"phase,omitempty"` + Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryConsumerChainsRequest) Reset() { *m = QueryConsumerChainsRequest{} } @@ -175,15 +174,16 @@ func (m *QueryConsumerChainsRequest) GetPhase() ConsumerPhase { return CONSUMER_PHASE_UNSPECIFIED } -func (m *QueryConsumerChainsRequest) GetLimit() int32 { +func (m *QueryConsumerChainsRequest) GetPagination() *query.PageRequest { if m != nil { - return m.Limit + return m.Pagination } - return 0 + return nil } type QueryConsumerChainsResponse struct { - Chains []*Chain `protobuf:"bytes,1,rep,name=chains,proto3" json:"chains,omitempty"` + Chains []*Chain `protobuf:"bytes,1,rep,name=chains,proto3" json:"chains,omitempty"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryConsumerChainsResponse) Reset() { *m = QueryConsumerChainsResponse{} } @@ -226,6 +226,13 @@ func (m *QueryConsumerChainsResponse) GetChains() []*Chain { return nil } +func (m *QueryConsumerChainsResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + type Chain struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` @@ -1709,12 +1716,13 @@ func (m *QueryConsumerChainRequest) GetConsumerId() string { } type QueryConsumerChainResponse struct { - ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Phase string `protobuf:"bytes,3,opt,name=phase,proto3" json:"phase,omitempty"` - Metadata ConsumerMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata"` - InitParams *ConsumerInitializationParameters `protobuf:"bytes,5,opt,name=init_params,json=initParams,proto3" json:"init_params,omitempty"` - PowerShapingParams *PowerShapingParameters `protobuf:"bytes,6,opt,name=power_shaping_params,json=powerShapingParams,proto3" json:"power_shaping_params,omitempty"` + ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` + ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + OwnerAddress string `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` + Metadata ConsumerMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata"` + InitParams *ConsumerInitializationParameters `protobuf:"bytes,6,opt,name=init_params,json=initParams,proto3" json:"init_params,omitempty"` + PowerShapingParams *PowerShapingParameters `protobuf:"bytes,7,opt,name=power_shaping_params,json=powerShapingParams,proto3" json:"power_shaping_params,omitempty"` } func (m *QueryConsumerChainResponse) Reset() { *m = QueryConsumerChainResponse{} } @@ -1750,6 +1758,13 @@ func (m *QueryConsumerChainResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryConsumerChainResponse proto.InternalMessageInfo +func (m *QueryConsumerChainResponse) GetConsumerId() string { + if m != nil { + return m.ConsumerId + } + return "" +} + func (m *QueryConsumerChainResponse) GetChainId() string { if m != nil { return m.ChainId @@ -1833,157 +1848,159 @@ func init() { } var fileDescriptor_422512d7b7586cd7 = []byte{ - // 2386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0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 0xc1, 0x8e, 0xad, 0x71, 0xa9, 0x13, 0x5c, 0xea, 0xf9, 0x14, 0x52, 0xd5, 0x93, 0x01, 0x48, 0x35, - 0xc4, 0x50, 0x99, 0x16, 0x8f, 0x40, 0x21, 0x74, 0x6d, 0x1c, 0xfe, 0x48, 0x06, 0xf8, 0x00, 0x24, - 0x06, 0x7f, 0x07, 0x4c, 0x99, 0x88, 0x18, 0x1e, 0x76, 0x59, 0xe7, 0x54, 0xc8, 0x73, 0xcf, 0x9f, - 0x2f, 0x8b, 0x56, 0x22, 0x68, 0x16, 0x44, 0xf3, 0x50, 0xbe, 0xd9, 0x25, 0x15, 0x77, 0xa5, 0x97, - 0x1b, 0x3e, 0x02, 0xa7, 0x43, 0x5d, 0x1d, 0x17, 0x79, 0xbc, 0x04, 0x0c, 0xe2, 0x81, 0x17, 0x6a, - 0x95, 0x73, 0xdf, 0x7c, 0x79, 0xf9, 0xac, 0x40, 0x0f, 0xe3, 0x47, 0xc4, 0xc1, 0x26, 0xf5, 0xb0, - 0x5d, 0x57, 0x4f, 0x05, 0x18, 0xf7, 0x05, 0x44, 0x10, 0x26, 0x27, 0xc1, 0xc4, 0x0f, 0x75, 0x6c, - 0x21, 0x93, 0xd7, 0x76, 0x79, 0x55, 0x7c, 0xc1, 0x2b, 0x60, 0x82, 0x35, 0x17, 0x2d, 0xc2, 0x2b, - 0xb3, 0x99, 0x15, 0xb9, 0x9f, 0xfa, 0x15, 0xc7, 0x36, 0x37, 0x39, 0xa5, 0x2a, 0x38, 0xe0, 0x16, - 0x08, 0xa3, 0x51, 0xa3, 0xce, 0x0e, 0xb2, 0xfd, 0xba, 0x6d, 0xb2, 0x72, 0x49, 0x78, 0xf5, 0xc4, - 0xcb, 0x5e, 0xad, 0xd9, 0xf4, 0x9b, 0x2f, 0x2f, 0x03, 0x21, 0xa4, 0x66, 0x53, 0x75, 0x26, 0xc0, - 0xd8, 0xe2, 0x10, 0x2c, 0x74, 0x42, 0x54, 0x3f, 0x74, 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xfc, 0xce, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x8f, 0x78, 0xcc, 0xd7, 0x23, - 0x00, 0x00, + // 2421 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0xcd, 0x73, 0x1c, 0x47, + 0x15, 0xd7, 0xac, 0x3e, 0xbc, 0x6a, 0x59, 0x4a, 0xdc, 0x96, 0xed, 0xf5, 0xca, 0xd6, 0xca, 0xe3, + 0x18, 0x14, 0x39, 0x9e, 0x91, 0x44, 0xe5, 0xcb, 0xc1, 0x1f, 0x5a, 0x59, 0xb2, 0x55, 0x8e, 0x6d, + 0x65, 0xa4, 0x38, 0x55, 0x0e, 0x66, 0x68, 0xcd, 0x74, 0x56, 0x8d, 0x66, 0x67, 0xc6, 0xd3, 0xad, + 0xb5, 0x17, 0x97, 0x2f, 0x9c, 0x72, 0x80, 0xaa, 0xa4, 0x28, 0xce, 0xe4, 0xcc, 0x81, 0xa2, 0xa8, + 0x14, 0xff, 0x00, 0x97, 0xdc, 0x08, 0xe1, 0x42, 0x41, 0x61, 0xc0, 0x86, 0x2a, 0x2e, 0x1c, 0x08, + 0x70, 0xa7, 0xba, 0xa7, 0x67, 0x76, 0x67, 0x3c, 0xd2, 0xce, 0x48, 0xba, 0xed, 0x74, 0xbf, 0xf7, + 0x7b, 0x1f, 0xfd, 0xfa, 0xf5, 0x7b, 0x4f, 0x02, 0x3a, 0x71, 0x19, 0x0e, 0xac, 0x4d, 0x44, 0x5c, + 0x93, 0x62, 0x6b, 0x3b, 0x20, 0xac, 0xad, 0x5b, 0x56, 0x4b, 0xf7, 0x03, 0xaf, 0x45, 0x6c, 0x1c, + 0xe8, 0xad, 0x39, 0xfd, 0xc1, 0x36, 0x0e, 0xda, 0x9a, 0x1f, 0x78, 0xcc, 0x83, 0x67, 0x33, 0x18, + 0x34, 0xcb, 0x6a, 0x69, 0x11, 0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, 0x68, 0x69, 0xc5, 0x56, 0x1f, + 0x83, 0x53, 0xd9, 0xfc, 0xd4, 0xf7, 0x5c, 0x8a, 0xe1, 0x87, 0x60, 0xb4, 0x11, 0x2e, 0x99, 0x94, + 0x21, 0x86, 0x05, 0xc4, 0xc8, 0xfc, 0xac, 0xb6, 0x53, 0x24, 0xb4, 0xe6, 0xb4, 0x14, 0xd6, 0x1a, + 0xe7, 0xab, 0x0f, 0x7c, 0xf1, 0xb4, 0xd6, 0x67, 0x1c, 0x6e, 0x74, 0xad, 0xa9, 0xbf, 0x50, 0x40, + 0x35, 0x21, 0x7d, 0x91, 0xe3, 0xc5, 0xca, 0xdf, 0x00, 0x83, 0xfe, 0x26, 0xa2, 0xa1, 0xcc, 0xb1, + 0xf9, 0x79, 0x2d, 0x47, 0xf4, 0xc5, 0xc2, 0x57, 0x39, 0xa7, 0x11, 0x02, 0xc0, 0x65, 0x00, 0x3a, + 0x9e, 0xab, 0x94, 0x84, 0x09, 0xdf, 0xd0, 0xe4, 0xd1, 0x70, 0x37, 0x6b, 0x61, 0x94, 0x4b, 0x37, + 0x6b, 0xab, 0xa8, 0x81, 0xa5, 0x16, 0x46, 0x17, 0xa7, 0xfa, 0x73, 0x25, 0xe5, 0xee, 0x48, 0x61, + 0xe9, 0xad, 0x3a, 0x18, 0x12, 0xea, 0xd1, 0x8a, 0x32, 0xd5, 0x3f, 0x3d, 0x32, 0x3f, 0x93, 0x4f, + 0x65, 0xbe, 0x6d, 0x48, 0x4e, 0x78, 0x3d, 0x43, 0xd7, 0x6f, 0xf6, 0xd4, 0x35, 0x54, 0x20, 0xa1, + 0xec, 0xff, 0xfa, 0xc1, 0xa0, 0x80, 0x86, 0x27, 0x41, 0x39, 0x54, 0x21, 0x0e, 0x81, 0x43, 0xe2, + 0x7b, 0xc5, 0x86, 0x13, 0x60, 0xd8, 0x72, 0x08, 0x76, 0x19, 0xdf, 0x2b, 0x89, 0xbd, 0x72, 0xb8, + 0xb0, 0x62, 0xc3, 0xa3, 0x60, 0x90, 0x79, 0xbe, 0x79, 0xbb, 0xd2, 0x3f, 0xa5, 0x4c, 0x8f, 0x1a, + 0x03, 0xcc, 0xf3, 0x6f, 0xc3, 0x19, 0x00, 0x9b, 0xc4, 0x35, 0x7d, 0xef, 0x21, 0x8f, 0x29, 0xd7, + 0x0c, 0x29, 0x06, 0xa6, 0x94, 0xe9, 0x7e, 0x63, 0xac, 0x49, 0xdc, 0x55, 0xbe, 0xb1, 0xe2, 0xae, + 0x73, 0xda, 0x59, 0x30, 0xde, 0x42, 0x0e, 0xb1, 0x11, 0xf3, 0x02, 0x2a, 0x59, 0x2c, 0xe4, 0x57, + 0x06, 0x05, 0x1e, 0xec, 0xec, 0x09, 0xa6, 0x45, 0xe4, 0xc3, 0x19, 0x70, 0x24, 0x5e, 0x35, 0x29, + 0x66, 0x82, 0x7c, 0x48, 0x90, 0xbf, 0x14, 0x6f, 0xac, 0x61, 0xc6, 0x69, 0x4f, 0x81, 0x61, 0xe4, + 0x38, 0xde, 0x43, 0x87, 0x50, 0x56, 0x39, 0x34, 0xd5, 0x3f, 0x3d, 0x6c, 0x74, 0x16, 0x60, 0x15, + 0x94, 0x6d, 0xec, 0xb6, 0xc5, 0x66, 0x59, 0x6c, 0xc6, 0xdf, 0x70, 0x3c, 0x8a, 0xac, 0x61, 0x61, + 0xb1, 0x8c, 0x92, 0x0f, 0x40, 0xb9, 0x89, 0x19, 0xb2, 0x11, 0x43, 0x15, 0x20, 0xfc, 0xfe, 0x7a, + 0xa1, 0x90, 0xbb, 0x25, 0x99, 0x65, 0xac, 0xc7, 0x60, 0xdc, 0xc9, 0xdc, 0x65, 0xfc, 0x96, 0xe3, + 0xca, 0xc8, 0x94, 0x32, 0x3d, 0x60, 0x94, 0x9b, 0xc4, 0x5d, 0xe3, 0xdf, 0x50, 0x03, 0x47, 0x85, + 0xd2, 0x26, 0x71, 0x91, 0xc5, 0x48, 0x0b, 0x9b, 0x2d, 0xe4, 0xd0, 0xca, 0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, 0x18, 0x72, 0x2d, 0x2c, 0x4c, 0xec, 0x37, 0x8e, 0x76, 0x48, 0x17, 0xa2, 0x2d, + 0xf8, 0x5d, 0x50, 0x71, 0xf1, 0x23, 0x66, 0x06, 0xd8, 0x77, 0xb0, 0x4b, 0xe8, 0xa6, 0x69, 0x21, + 0xd7, 0xe6, 0xc6, 0x62, 0x91, 0x1b, 0x46, 0xe6, 0xab, 0x5a, 0xf8, 0x82, 0x6b, 0xd1, 0x0b, 0xae, + 0xad, 0x47, 0x2f, 0x78, 0xbd, 0xcc, 0xaf, 0xc3, 0x27, 0x7f, 0xa9, 0x29, 0xc6, 0x71, 0x8e, 0x62, + 0x44, 0x20, 0x8b, 0x11, 0x86, 0xfa, 0x1a, 0x98, 0x11, 0x26, 0x19, 0xb8, 0x41, 0x28, 0xc3, 0x01, + 0xb6, 0xa3, 0x18, 0x31, 0xf0, 0x43, 0x14, 0xd8, 0xd7, 0xb0, 0xeb, 0x35, 0xa3, 0x77, 0x41, 0x5d, + 0x02, 0xe7, 0x73, 0x51, 0x4b, 0x8f, 0x1c, 0x07, 0x43, 0xb6, 0x58, 0x11, 0x49, 0x79, 0xd8, 0x90, + 0x5f, 0xea, 0xbb, 0xe0, 0x55, 0x01, 0xb3, 0xe0, 0x38, 0xab, 0x88, 0x04, 0xf4, 0x2e, 0x72, 0x38, + 0x0e, 0x3f, 0x84, 0x7a, 0xbb, 0x83, 0x98, 0xf3, 0x21, 0xfd, 0x99, 0x22, 0x6d, 0xe8, 0x01, 0x27, + 0x95, 0x7a, 0x00, 0x8e, 0xf8, 0x88, 0x04, 0xfc, 0xae, 0xf3, 0x22, 0x44, 0x44, 0x84, 0x7c, 0x34, + 0x96, 0x73, 0x25, 0x1d, 0x2e, 0x23, 0x14, 0xc1, 0x25, 0xc4, 0x11, 0xe7, 0x76, 0x7c, 0x31, 0xe6, + 0x27, 0x48, 0xd4, 0xff, 0x2a, 0xe0, 0x4c, 0x4f, 0x2e, 0xb8, 0xbc, 0x63, 0x5e, 0x98, 0xf8, 0xfa, + 0x69, 0xed, 0x44, 0x78, 0x6d, 0xd2, 0x14, 0x19, 0x09, 0x62, 0x39, 0xe3, 0xfa, 0x95, 0xd2, 0x38, + 0x69, 0x8a, 0x8c, 0x7b, 0x78, 0x05, 0x1c, 0x8e, 0xa9, 0xb6, 0x70, 0x5b, 0x86, 0xdb, 0x29, 0xad, + 0x53, 0x82, 0x69, 0x61, 0x09, 0xa6, 0xad, 0x6e, 0x6f, 0x38, 0xc4, 0xba, 0x89, 0xdb, 0x46, 0x7c, + 0x54, 0x37, 0x71, 0x5b, 0x1d, 0x07, 0x50, 0x9c, 0xcb, 0x2a, 0x0a, 0x50, 0x27, 0x86, 0xbe, 0x07, + 0x8e, 0x26, 0x56, 0xe5, 0xb1, 0xac, 0x80, 0x21, 0x5f, 0xac, 0xc8, 0x3a, 0xe7, 0x7c, 0xce, 0xb3, + 0xe0, 0x2c, 0x32, 0xed, 0x4b, 0x00, 0xf5, 0x96, 0x8c, 0x87, 0x44, 0xa9, 0x70, 0xc7, 0x67, 0xd8, + 0x5e, 0x71, 0xe3, 0x4c, 0x91, 0xbf, 0x50, 0x7b, 0x20, 0x83, 0xbe, 0x17, 0x5c, 0x5c, 0x89, 0x9c, + 0xee, 0x7e, 0x79, 0x53, 0xe7, 0x85, 0xa3, 0xbb, 0x30, 0xd1, 0xf5, 0x04, 0x27, 0x0f, 0x10, 0x53, + 0x75, 0x01, 0x4c, 0x26, 0x44, 0xee, 0x41, 0xeb, 0x4f, 0x0f, 0x81, 0xa9, 0x1d, 0x30, 0xe2, 0x5f, + 0xfb, 0x7d, 0x8a, 0xd2, 0x11, 0x52, 0x2a, 0x18, 0x21, 0xb0, 0x02, 0x06, 0x45, 0x69, 0x22, 0x62, + 0xab, 0xbf, 0x5e, 0xaa, 0x28, 0x46, 0xb8, 0x00, 0xdf, 0x06, 0x03, 0x01, 0xcf, 0x71, 0x03, 0x42, + 0x9b, 0x73, 0xfc, 0x7c, 0xff, 0xf8, 0xb4, 0x36, 0x11, 0x16, 0x63, 0xd4, 0xde, 0xd2, 0x88, 0xa7, + 0x37, 0x11, 0xdb, 0xd4, 0xde, 0xc5, 0x0d, 0x64, 0xb5, 0xaf, 0x61, 0xab, 0xa2, 0x18, 0x82, 0x05, + 0x9e, 0x03, 0x63, 0xb1, 0x56, 0x21, 0xfa, 0xa0, 0xc8, 0xaf, 0xa3, 0xd1, 0xaa, 0x28, 0x79, 0xe0, + 0x7d, 0x50, 0x89, 0xc9, 0x2c, 0xaf, 0xd9, 0x24, 0x94, 0x12, 0xcf, 0x35, 0x85, 0xd4, 0x21, 0x21, + 0xf5, 0x6c, 0x0e, 0xa9, 0xc6, 0xf1, 0x08, 0x64, 0x31, 0xc6, 0x30, 0xb8, 0x16, 0xf7, 0x41, 0x25, + 0x76, 0x6d, 0x1a, 0xfe, 0x50, 0x01, 0xf8, 0x08, 0x24, 0x05, 0x7f, 0x13, 0x8c, 0xd8, 0x98, 0x5a, + 0x01, 0xf1, 0x45, 0xb1, 0x5a, 0x16, 0x9e, 0x3f, 0x1b, 0x15, 0xab, 0x51, 0x57, 0x13, 0x55, 0xaa, + 0xd7, 0x3a, 0xa4, 0xf2, 0xae, 0x74, 0x73, 0xc3, 0xfb, 0xe0, 0x64, 0xac, 0xab, 0xe7, 0xe3, 0x40, + 0x94, 0x80, 0x51, 0x3c, 0x88, 0x42, 0xad, 0x7e, 0xe6, 0xab, 0xcf, 0x2f, 0x9c, 0x96, 0xe8, 0x71, + 0xfc, 0xc8, 0x38, 0x58, 0x63, 0x01, 0x71, 0x1b, 0xc6, 0x89, 0x08, 0xe3, 0x8e, 0x84, 0x88, 0xc2, + 0xe4, 0x38, 0x18, 0xfa, 0x3e, 0x22, 0x0e, 0xb6, 0x45, 0x6d, 0x57, 0x36, 0xe4, 0x17, 0xbc, 0x08, + 0x86, 0x78, 0x67, 0xb3, 0x4d, 0x45, 0x65, 0x36, 0x36, 0xaf, 0xee, 0xa4, 0x7e, 0x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0xb2, 0xef, 0xcb, 0xe7, 0x93, 0x7d, + 0x7f, 0x78, 0x3e, 0xd9, 0x77, 0xef, 0x52, 0x83, 0xb0, 0xcd, 0xed, 0x0d, 0xcd, 0xf2, 0x9a, 0xf2, + 0x3f, 0x5f, 0xba, 0x44, 0x5d, 0x88, 0x45, 0xb5, 0xde, 0xd0, 0x1f, 0xa5, 0x6a, 0xcf, 0xb6, 0x8f, + 0xe9, 0xc6, 0x90, 0xf8, 0xeb, 0xe1, 0xb7, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x55, 0x10, 0x5d, + 0x50, 0x99, 0x24, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2713,10 +2730,17 @@ func (m *QueryConsumerChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, err _ = i var l int _ = l - if m.Limit != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Limit)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if m.Phase != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.Phase)) @@ -2746,6 +2770,18 @@ func (m *QueryConsumerChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, er _ = i var l int _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if len(m.Chains) > 0 { for iNdEx := len(m.Chains) - 1; iNdEx >= 0; iNdEx-- { { @@ -3054,12 +3090,12 @@ func (m *QueryThrottleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, err _ = i var l int _ = l - n3, err3 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.NextReplenishCandidate, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.NextReplenishCandidate):]) - if err3 != nil { - return 0, err3 + n5, err5 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.NextReplenishCandidate, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.NextReplenishCandidate):]) + if err5 != nil { + return 0, err5 } - i -= n3 - i = encodeVarintQuery(dAtA, i, uint64(n3)) + i -= n5 + i = encodeVarintQuery(dAtA, i, uint64(n5)) i-- dAtA[i] = 0x1a if m.SlashMeterAllowance != 0 { @@ -3873,7 +3909,7 @@ func (m *QueryConsumerChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x3a } if m.InitParams != nil { { @@ -3885,7 +3921,7 @@ func (m *QueryConsumerChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x32 } { size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) @@ -3896,26 +3932,33 @@ func (m *QueryConsumerChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x2a if len(m.Phase) > 0 { i -= len(m.Phase) copy(dAtA[i:], m.Phase) i = encodeVarintQuery(dAtA, i, uint64(len(m.Phase))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } if len(m.OwnerAddress) > 0 { i -= len(m.OwnerAddress) copy(dAtA[i:], m.OwnerAddress) i = encodeVarintQuery(dAtA, i, uint64(len(m.OwnerAddress))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } if len(m.ChainId) > 0 { i -= len(m.ChainId) copy(dAtA[i:], m.ChainId) i = encodeVarintQuery(dAtA, i, uint64(len(m.ChainId))) i-- + dAtA[i] = 0x12 + } + if len(m.ConsumerId) > 0 { + i -= len(m.ConsumerId) + copy(dAtA[i:], m.ConsumerId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ConsumerId))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil @@ -3965,8 +4008,9 @@ func (m *QueryConsumerChainsRequest) Size() (n int) { if m.Phase != 0 { n += 1 + sovQuery(uint64(m.Phase)) } - if m.Limit != 0 { - n += 1 + sovQuery(uint64(m.Limit)) + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) } return n } @@ -3983,6 +4027,10 @@ func (m *QueryConsumerChainsResponse) Size() (n int) { n += 1 + l + sovQuery(uint64(l)) } } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } return n } @@ -4449,6 +4497,10 @@ func (m *QueryConsumerChainResponse) Size() (n int) { } var l int _ = l + l = len(m.ConsumerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } l = len(m.ChainId) if l > 0 { n += 1 + l + sovQuery(uint64(l)) @@ -4694,10 +4746,10 @@ func (m *QueryConsumerChainsRequest) Unmarshal(dAtA []byte) error { } } case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - m.Limit = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -4707,11 +4759,28 @@ func (m *QueryConsumerChainsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Limit |= int32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -4796,6 +4865,42 @@ func (m *QueryConsumerChainsResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -7873,6 +7978,38 @@ func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsumerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConsumerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } @@ -7904,7 +8041,7 @@ func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { } m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) } @@ -7936,7 +8073,7 @@ func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { } m.OwnerAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) } @@ -7968,7 +8105,7 @@ func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { } m.Phase = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) } @@ -8001,7 +8138,7 @@ func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 5: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field InitParams", wireType) } @@ -8037,7 +8174,7 @@ func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PowerShapingParams", wireType) } diff --git a/x/ccv/provider/types/query.pb.gw.go b/x/ccv/provider/types/query.pb.gw.go index e6fdfc5f76..f332e03b69 100644 --- a/x/ccv/provider/types/query.pb.gw.go +++ b/x/ccv/provider/types/query.pb.gw.go @@ -87,6 +87,10 @@ func local_request_Query_QueryConsumerGenesis_0(ctx context.Context, marshaler r } +var ( + filter_Query_QueryConsumerChains_0 = &utilities.DoubleArray{Encoding: map[string]int{"phase": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + func request_Query_QueryConsumerChains_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryConsumerChainsRequest var metadata runtime.ServerMetadata @@ -112,15 +116,11 @@ func request_Query_QueryConsumerChains_0(ctx context.Context, marshaler runtime. protoReq.Phase = ConsumerPhase(e) - val, ok = pathParams["limit"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "limit") + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - - protoReq.Limit, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "limit", err) + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryConsumerChains_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } msg, err := client.QueryConsumerChains(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -153,15 +153,11 @@ func local_request_Query_QueryConsumerChains_0(ctx context.Context, marshaler ru protoReq.Phase = ConsumerPhase(e) - val, ok = pathParams["limit"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "limit") + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - - protoReq.Limit, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "limit", err) + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryConsumerChains_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } msg, err := server.QueryConsumerChains(ctx, &protoReq) @@ -1491,7 +1487,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie var ( pattern_Query_QueryConsumerGenesis_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"interchain_security", "ccv", "provider", "consumer_genesis", "consumer_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryConsumerChains_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"interchain_security", "ccv", "provider", "consumer_chains", "phase", "limit"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryConsumerChains_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"interchain_security", "ccv", "provider", "consumer_chains", "phase"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryValidatorConsumerAddr_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"interchain_security", "ccv", "provider", "validator_consumer_addr", "consumer_id", "provider_address"}, "", runtime.AssumeColonVerbOpt(false)))