From aec6c93ac296b511bcba34a6cce0a0729392bc7a Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Thu, 29 Aug 2024 09:42:45 +0200 Subject: [PATCH] feat: add consumer chain query (#2179) * feat: first iteration on Permissionless ICS (#2117) * (partially) renamed chain ids to consumer ids * renamed proposal messages * removed global slash entry * fixed unit tests * added new messages * introduced new state * added functionality for the register and initialize messages * renamed (partially) chainIds to consumerIds * set consumerId to chainId association during registration * added extra check in the initialization so unknokwn, launched, or stopped chains cannot re-initialize * added initial work on traversing initialized chains that are to-be-launched * fixed rebase issues after bringing the VSCMaturedPackets work in * made it so we traverse initialization records instead of addition proposals (+ additional changes so the unit tests pass) * renamed more chainIDs to consumerIds * removed ClientIdToChainId state because chainId already resides on the registration record * nit fixes in go docs * removed MsgConsumerAddition * added CLI commands for new messages * removed consumer modification proposal * removed (partially) consumer removal proposal * rebased to pick up the inactive-validators work (PR #2079) * introduced consumerId in the equivocation messages (and a useful query for Hermes to get the consumerId) * added safeguard so that a validator cannot opt-in to two different chains with the same chain id * renamed some chainIDs to consumerIds * updated based on comments Co-authored-by: bernd-m <43466467+bermuell@users.noreply.github.com> * fixed integration tests * rebased to pick up the removal of legacy proposals (#2130) and re-introduced old messages so that existing proposals can deserialize * changes messages to only have MsgCreateConsumer and MsgUpdateConsumer and modified protos so that we are backward-compatible * cleaned up slightly a few things (mostly committing & pushing) so people can pick up the latest changes * fixed the CreateConsumer and UpdateConsumer logic and made most of the fields optional * fixed hooks and the code around proposalId to consumerId * feat: extend consumer validator query to return commission rate (backport #2162) (#2165) * adapt #2162 changes for permissionless ICS * nits --------- Co-authored-by: kirdatatjana <116630536+kirdatatjana@users.noreply.github.com> * renamed some chainIds to consumerIds * took into account comments and also added safeguard to reject new proposals that still use deprecated messages (e.g., MsgConsumerAddition, etc.) * Update x/ccv/provider/types/msg.go Co-authored-by: bernd-m <43466467+bermuell@users.noreply.github.com> * removed double-gas charge on MsgCreateConsumer and imroved the logic of MsgUpdateConsumer * added PopulateMinimumPowerInTopN tested * took into account comments (using protos for marshalling string slice, fixed issues in the UpdateConsumer logic, added extra check to abort spurious proposals) * feat: add fields to consumer validators query (#2167) * extend consumer validators query * nit * nits * fix msg order * deprecate power for consumer_power * modified the way we verify the new owner address, as well as nit refactoring on the ConsumerIds * fixed some rebase issues and changed a proto to be backward-compatible --------- Co-authored-by: bernd-m <43466467+bermuell@users.noreply.github.com> Co-authored-by: Simon Noetzlin Co-authored-by: kirdatatjana <116630536+kirdatatjana@users.noreply.github.com> * fixed bug on removing previous spawn time & added tests * added some additional tests * added tests on the hooks * removed check that spawn time is in the future * feat: refactor consumer validator set computation (#2175) * add UT * nits * address comments * Update x/ccv/provider/keeper/partial_set_security.go Co-authored-by: insumity * fix tests --------- Co-authored-by: insumity * add UT * nits * nits * revert legacy prop funcs * fix UT --------- Co-authored-by: insumity Co-authored-by: bernd-m <43466467+bermuell@users.noreply.github.com> Co-authored-by: kirdatatjana <116630536+kirdatatjana@users.noreply.github.com> --- .../ccv/provider/v1/query.proto | 21 + x/ccv/provider/keeper/grpc_query.go | 46 + x/ccv/provider/keeper/grpc_query_test.go | 79 +- x/ccv/provider/types/query.pb.go | 977 +++++++++++++++--- x/ccv/provider/types/query.pb.gw.go | 101 ++ 5 files changed, 1059 insertions(+), 165 deletions(-) diff --git a/proto/interchain_security/ccv/provider/v1/query.proto b/proto/interchain_security/ccv/provider/v1/query.proto index e430c9de34..23ca4c6fee 100644 --- a/proto/interchain_security/ccv/provider/v1/query.proto +++ b/proto/interchain_security/ccv/provider/v1/query.proto @@ -178,6 +178,14 @@ service Query { option (google.api.http).get = "/interchain_security/ccv/provider/consumer_id/{client_id}"; } + + // QueryConsumerChain returns the consumer chain + // associated with the provided consumer id + rpc QueryConsumerChain(QueryConsumerChainRequest) + returns (QueryConsumerChainResponse) { + option (google.api.http).get = + "/interchain_security/ccv/provider/consumer_chain/{consumer_id}"; + } } message QueryConsumerGenesisRequest { @@ -431,3 +439,16 @@ message QueryConsumerIdFromClientIdResponse { // the consumer id of the chain associated with this client id string consumer_id = 1; } + +message QueryConsumerChainRequest { + string consumer_id = 1; +} + +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; +} diff --git a/x/ccv/provider/keeper/grpc_query.go b/x/ccv/provider/keeper/grpc_query.go index 4f2763e0b9..63ca301775 100644 --- a/x/ccv/provider/keeper/grpc_query.go +++ b/x/ccv/provider/keeper/grpc_query.go @@ -580,3 +580,49 @@ func (k Keeper) QueryConsumerIdFromClientId(goCtx context.Context, req *types.Qu return &types.QueryConsumerIdFromClientIdResponse{ConsumerId: consumerId}, nil } + +// QueryConsumerChain returns the consumer chain associated with the consumer id +func (k Keeper) QueryConsumerChain(goCtx context.Context, req *types.QueryConsumerChainRequest) (*types.QueryConsumerChainResponse, error) { + if req == nil { + return nil, status.Errorf(codes.InvalidArgument, "empty request") + } + + consumerId := req.ConsumerId + if err := types.ValidateConsumerId(consumerId); err != nil { + return nil, status.Error(codes.InvalidArgument, errorsmod.Wrap(types.ErrInvalidConsumerId, consumerId).Error()) + } + ctx := sdk.UnwrapSDKContext(goCtx) + + chainId, err := k.GetConsumerChainId(ctx, consumerId) + if err != nil { + return nil, status.Errorf(codes.InvalidArgument, "cannot retrieve chain id for consumer id: %s", consumerId) + } + + ownerAddress, err := k.GetConsumerOwnerAddress(ctx, consumerId) + if err != nil { + return nil, status.Errorf(codes.InvalidArgument, "cannot retrieve owner address for consumer id: %s", consumerId) + } + + phase := k.GetConsumerPhase(ctx, consumerId) + if phase == types.ConsumerPhase_CONSUMER_PHASE_UNSPECIFIED { + return nil, status.Errorf(codes.InvalidArgument, "cannot retrieve phase for consumer id: %s", consumerId) + } + + metadata, err := k.GetConsumerMetadata(ctx, consumerId) + if err != nil { + return nil, status.Errorf(codes.InvalidArgument, "cannot retrieve metadata for consumer id: %s", consumerId) + } + + // neither the init nor the power shaping params are mandatory for consumers + initParams, _ := k.GetConsumerInitializationParameters(ctx, consumerId) + powerParams, _ := k.GetConsumerPowerShapingParameters(ctx, consumerId) + + return &types.QueryConsumerChainResponse{ + ChainId: chainId, + OwnerAddress: ownerAddress, + Phase: phase.String(), + Metadata: metadata, + InitParams: &initParams, + PowerShapingParams: &powerParams, + }, nil +} diff --git a/x/ccv/provider/keeper/grpc_query_test.go b/x/ccv/provider/keeper/grpc_query_test.go index a9670fafdd..7a0e62c3f7 100644 --- a/x/ccv/provider/keeper/grpc_query_test.go +++ b/x/ccv/provider/keeper/grpc_query_test.go @@ -280,13 +280,6 @@ func TestQueryConsumerValidators(t *testing.T) { res, err = pk.QueryConsumerValidators(ctx, &req) require.NoError(t, err) require.Equal(t, val1.Commission.Rate, res.Validators[0].ConsumerCommissionRate) - - // set consumer to stopped phase - pk.SetConsumerPhase(ctx, consumerId, types.ConsumerPhase_CONSUMER_PHASE_STOPPED) - // expect empty valset - res, err = pk.QueryConsumerValidators(ctx, &req) - require.NoError(t, err) - require.Empty(t, res) } func TestQueryConsumerChainsValidatorHasToValidate(t *testing.T) { @@ -444,8 +437,6 @@ func TestGetConsumerChain(t *testing.T) { Top_N: topN, ValidatorSetCap: validatorSetCaps[i], ValidatorsPowerCap: validatorPowerCaps[i], - AllowInactiveVals: allowInactiveVals[i], - MinStake: minStakes[i].Uint64(), }) pk.SetMinimumPowerInTopN(ctx, consumerID, expectedMinPowerInTopNs[i]) for _, addr := range allowlists[i] { @@ -486,6 +477,76 @@ func TestGetConsumerChain(t *testing.T) { } } +func TestQueryConsumerChain(t *testing.T) { + providerKeeper, ctx, ctrl, _ := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t)) + defer ctrl.Finish() + + consumerId := "0" + chainId := "consumer-1" + + req := types.QueryConsumerChainRequest{ + ConsumerId: consumerId, + } + + // expect error when consumer isn't associated with a chain id + _, err := providerKeeper.QueryConsumerChain(ctx, &req) + require.Error(t, err) + + providerKeeper.SetConsumerChainId(ctx, consumerId, chainId) + + // expect error when consumer doesn't have an owner address set + _, err = providerKeeper.QueryConsumerChain(ctx, &req) + require.Error(t, err) + + providerKeeper.SetConsumerOwnerAddress(ctx, consumerId, providerKeeper.GetAuthority()) + + // expect error when consumer doesn't have a valid phase + _, err = providerKeeper.QueryConsumerChain(ctx, &req) + require.Error(t, err) + + providerKeeper.SetConsumerPhase(ctx, consumerId, types.ConsumerPhase_CONSUMER_PHASE_REGISTERED) + + // expect error when consumer doesn't have metadata + _, err = providerKeeper.QueryConsumerChain(ctx, &req) + require.Error(t, err) + + providerKeeper.SetConsumerMetadata(ctx, consumerId, types.ConsumerMetadata{Name: chainId}) + + expRes := types.QueryConsumerChainResponse{ + ChainId: chainId, + OwnerAddress: providerKeeper.GetAuthority(), + Metadata: types.ConsumerMetadata{Name: chainId}, + Phase: types.ConsumerPhase_CONSUMER_PHASE_REGISTERED.String(), + InitParams: &types.ConsumerInitializationParameters{}, + PowerShapingParams: &types.PowerShapingParameters{}, + } + + // expect no error when neither the consumer init and power shaping params are set + res, err := providerKeeper.QueryConsumerChain(ctx, &req) + require.NoError(t, err) + require.Equal(t, &expRes, res) + + providerKeeper.SetConsumerInitializationParameters( + ctx, + consumerId, + types.ConsumerInitializationParameters{SpawnTime: ctx.BlockTime()}, + ) + + providerKeeper.SetConsumerPowerShapingParameters( + ctx, + consumerId, + types.PowerShapingParameters{Top_N: uint32(50)}, + ) + + expRes.InitParams = &types.ConsumerInitializationParameters{SpawnTime: ctx.BlockTime()} + expRes.PowerShapingParams = &types.PowerShapingParameters{Top_N: uint32(50)} + + // expect no error + res, err = providerKeeper.QueryConsumerChain(ctx, &req) + require.NoError(t, err) + require.Equal(t, &expRes, res) +} + func TestQueryConsumerIdFromClientId(t *testing.T) { providerKeeper, ctx, ctrl, _ := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t)) defer ctrl.Finish() diff --git a/x/ccv/provider/types/query.pb.go b/x/ccv/provider/types/query.pb.go index c20b135ffd..25c51440cc 100644 --- a/x/ccv/provider/types/query.pb.go +++ b/x/ccv/provider/types/query.pb.go @@ -1983,6 +1983,134 @@ func (m *QueryConsumerIdFromClientIdResponse) GetConsumerId() string { return "" } +type QueryConsumerChainRequest struct { + ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` +} + +func (m *QueryConsumerChainRequest) Reset() { *m = QueryConsumerChainRequest{} } +func (m *QueryConsumerChainRequest) String() string { return proto.CompactTextString(m) } +func (*QueryConsumerChainRequest) ProtoMessage() {} +func (*QueryConsumerChainRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_422512d7b7586cd7, []int{38} +} +func (m *QueryConsumerChainRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryConsumerChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryConsumerChainRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryConsumerChainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryConsumerChainRequest.Merge(m, src) +} +func (m *QueryConsumerChainRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryConsumerChainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryConsumerChainRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryConsumerChainRequest proto.InternalMessageInfo + +func (m *QueryConsumerChainRequest) GetConsumerId() string { + if m != nil { + return m.ConsumerId + } + return "" +} + +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"` +} + +func (m *QueryConsumerChainResponse) Reset() { *m = QueryConsumerChainResponse{} } +func (m *QueryConsumerChainResponse) String() string { return proto.CompactTextString(m) } +func (*QueryConsumerChainResponse) ProtoMessage() {} +func (*QueryConsumerChainResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_422512d7b7586cd7, []int{39} +} +func (m *QueryConsumerChainResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryConsumerChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryConsumerChainResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryConsumerChainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryConsumerChainResponse.Merge(m, src) +} +func (m *QueryConsumerChainResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryConsumerChainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryConsumerChainResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryConsumerChainResponse proto.InternalMessageInfo + +func (m *QueryConsumerChainResponse) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *QueryConsumerChainResponse) GetOwnerAddress() string { + if m != nil { + return m.OwnerAddress + } + return "" +} + +func (m *QueryConsumerChainResponse) GetPhase() string { + if m != nil { + return m.Phase + } + return "" +} + +func (m *QueryConsumerChainResponse) GetMetadata() ConsumerMetadata { + if m != nil { + return m.Metadata + } + return ConsumerMetadata{} +} + +func (m *QueryConsumerChainResponse) GetInitParams() *ConsumerInitializationParameters { + if m != nil { + return m.InitParams + } + return nil +} + +func (m *QueryConsumerChainResponse) GetPowerShapingParams() *PowerShapingParameters { + if m != nil { + return m.PowerShapingParams + } + return nil +} + func init() { proto.RegisterType((*QueryConsumerGenesisRequest)(nil), "interchain_security.ccv.provider.v1.QueryConsumerGenesisRequest") proto.RegisterType((*QueryConsumerGenesisResponse)(nil), "interchain_security.ccv.provider.v1.QueryConsumerGenesisResponse") @@ -2022,6 +2150,8 @@ func init() { proto.RegisterType((*QueryBlocksUntilNextEpochResponse)(nil), "interchain_security.ccv.provider.v1.QueryBlocksUntilNextEpochResponse") proto.RegisterType((*QueryConsumerIdFromClientIdRequest)(nil), "interchain_security.ccv.provider.v1.QueryConsumerIdFromClientIdRequest") proto.RegisterType((*QueryConsumerIdFromClientIdResponse)(nil), "interchain_security.ccv.provider.v1.QueryConsumerIdFromClientIdResponse") + proto.RegisterType((*QueryConsumerChainRequest)(nil), "interchain_security.ccv.provider.v1.QueryConsumerChainRequest") + proto.RegisterType((*QueryConsumerChainResponse)(nil), "interchain_security.ccv.provider.v1.QueryConsumerChainResponse") } func init() { @@ -2029,162 +2159,172 @@ func init() { } var fileDescriptor_422512d7b7586cd7 = []byte{ - // 2468 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x6c, 0x1c, 0x49, - 0x15, 0x76, 0x8f, 0x7f, 0x62, 0x97, 0x13, 0x67, 0x53, 0xf9, 0x9b, 0x8c, 0x1d, 0x8f, 0xd3, 0x49, - 0x60, 0xf2, 0x37, 0x6d, 0x7b, 0xb5, 0xec, 0x26, 0x90, 0x4d, 0x3c, 0xe3, 0x38, 0x19, 0x25, 0x9b, - 0x78, 0x3b, 0x4e, 0x40, 0x5e, 0x4c, 0xa7, 0xdd, 0x5d, 0x8c, 0x1b, 0xf7, 0x74, 0xb7, 0xbb, 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 0xdb, 0xec, 0x15, 0xc1, 0x49, 0x4a, 0xa4, 0xa4, 0xb1, 0x6b, 0x68, 0x7f, - 0x20, 0xb5, 0x49, 0x5a, 0x70, 0x5b, 0xa7, 0xca, 0x61, 0xb9, 0x5b, 0xf6, 0xca, 0xdd, 0xf2, 0xf2, - 0xf6, 0xba, 0xae, 0x29, 0xb7, 0x49, 0x4b, 0x0c, 0x0e, 0xec, 0x36, 0x69, 0xf1, 0x47, 0x10, 0xf6, - 0x2e, 0x81, 0x6c, 0xcb, 0xe1, 0x15, 0x7c, 0x84, 0x0e, 0xc7, 0x46, 0xe1, 0x58, 0x6a, 0x68, 0xc4, - 0x62, 0x23, 0x50, 0x7a, 0x5c, 0xc8, 0x78, 0x16, 0xee, 0x12, 0xb8, 0x01, 0x00, 0xc0, 0xeb, 0x90, - 0x12, 0x62, 0x11, 0x70, 0xcf, 0x72, 0x88, 0x5a, 0x33, 0x82, 0x44, 0xbb, 0x67, 0x05, 0xf4, 0x16, - 0xa4, 0x94, 0x4e, 0xbb, 0x05, 0x55, 0xeb, 0xc9, 0x68, 0x15, 0x92, 0x38, 0x4e, 0xe2, 0x67, 0x9a, - 0xc9, 0x48, 0x39, 0x12, 0x3f, 0x5f, 0x42, 0xf9, 0x47, 0x68, 0x3a, 0xb6, 0xe5, 0xde, 0x1b, 0xf5, - 0x93, 0x7d, 0x68, 0xa6, 0xcd, 0x16, 0xc1, 0x5f, 0xa9, 0x65, 0x02, 0x97, 0xbd, 0x4c, 0x48, 0xc6, - 0x57, 0xae, 0xcb, 0xf8, 0xc2, 0x79, 0x34, 0xcc, 0xaa, 0x38, 0x16, 0x99, 0x83, 0xcc, 0x42, 0x6f, - 0x00, 0x5f, 0x46, 0x43, 0xb6, 0xfb, 0xc0, 0x0c, 0x31, 0x6d, 0xce, 0xba, 0xd1, 0xf1, 0xc7, 0x17, - 0xc5, 0x49, 0xaf, 0xdf, 0xa2, 0xea, 0x66, 0x59, 0x33, 0x85, 0x86, 0xec, 0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0x1f, - 0x5f, 0x91, 0x5d, 0x2e, 0x05, 0xbb, 0x34, 0xdf, 0x10, 0x9e, 0x24, 0xca, 0xf4, 0x96, 0x45, 0xe8, - 0xfa, 0x08, 0xfb, 0x21, 0xfc, 0xf5, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x42, 0x0b, 0xd3, 0xc7, - 0x91, 0x27, 0x00, 0x00, + // 2637 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4b, 0x6c, 0x1c, 0x49, + 0x19, 0x76, 0x8f, 0x1f, 0xb1, 0xcb, 0xb1, 0xb3, 0xa9, 0x38, 0xc9, 0x64, 0xec, 0x78, 0x9c, 0xce, + 0x06, 0x26, 0xaf, 0x19, 0xdb, 0xab, 0xb0, 0x9b, 0xec, 0xe6, 0xe1, 0x19, 0xc7, 0xc9, 0x28, 0x2f, + 0x6f, 0xdb, 0xc9, 0x22, 0x2f, 0xa1, 0x53, 0xee, 0xae, 0x1d, 0x37, 0x9e, 0xe9, 0x6e, 0x77, 0x95, + 0xc7, 0x19, 0xa2, 0x1c, 0x16, 0x24, 0xb4, 0x70, 0x40, 0x41, 0x88, 0xfb, 0x0a, 0x09, 0x89, 0x03, + 0x27, 0xb4, 0x02, 0x71, 0xdb, 0xe3, 0xde, 0x58, 0x76, 0x2f, 0x08, 0x44, 0x40, 0x09, 0x48, 0x80, + 0x84, 0x84, 0x16, 0xae, 0x48, 0xa8, 0xab, 0xab, 0x7b, 0xba, 0x7b, 0x7a, 0x3c, 0xdd, 0x33, 0x3e, + 0xec, 0xcd, 0x5d, 0xf5, 0xd7, 0xf7, 0x3f, 0xea, 0xaf, 0xbf, 0xfe, 0xfa, 0x3c, 0xa0, 0xa0, 0xe9, + 0x14, 0x5b, 0xca, 0x06, 0xd2, 0x74, 0x99, 0x60, 0x65, 0xdb, 0xd2, 0x68, 0xa3, 0xa0, 0x28, 0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 0x43, 0x77, 0xec, 0x11, 0x38, 0x0f, 0x0e, + 0xfb, 0x04, 0x64, 0x96, 0x7d, 0x48, 0x57, 0x30, 0x0b, 0x4e, 0xbf, 0x74, 0xa8, 0x29, 0xba, 0xe0, + 0x4e, 0xc1, 0x6f, 0x82, 0xb4, 0x8e, 0x1f, 0x53, 0xd9, 0xc2, 0x66, 0x15, 0xeb, 0x1a, 0xd9, 0x90, + 0x15, 0xa4, 0xab, 0xb6, 0xb3, 0x98, 0x45, 0x66, 0x74, 0x3e, 0x93, 0x77, 0xae, 0xfb, 0xbc, 0x7b, + 0xdd, 0xe7, 0x57, 0xdd, 0xeb, 0xbe, 0x38, 0x6c, 0x5f, 0x1a, 0xcf, 0xfe, 0x9c, 0x15, 0xa4, 0x23, + 0x36, 0x8a, 0xe4, 0x82, 0x94, 0x5c, 0x0c, 0xf1, 0x1c, 0x38, 0xc3, 0x5c, 0x92, 0x70, 0x45, 0x23, + 0x14, 0x5b, 0x58, 0x6d, 0x96, 0xa3, 0x1d, 0x64, 0xa9, 0x8b, 0x58, 0x37, 0x6a, 0x5e, 0x3d, 0xbc, + 0x0e, 0xce, 0xc6, 0x92, 0xe6, 0x11, 0x39, 0x02, 0x86, 0x54, 0x36, 0xc2, 0xae, 0x98, 0x11, 0x89, + 0x7f, 0x89, 0xd3, 0xfc, 0xd2, 0x74, 0x4a, 0x1d, 0x56, 0x59, 0x65, 0x2b, 0x2f, 0x7a, 0x6a, 0xde, + 0x17, 0xc0, 0xf1, 0x36, 0x02, 0x1c, 0xf9, 0x11, 0x18, 0x37, 0xfd, 0x73, 0xee, 0x25, 0x36, 0x1f, + 0xab, 0xe2, 0x06, 0x60, 0xf9, 0xcd, 0x1a, 0xc2, 0x13, 0x75, 0x30, 0x16, 0x10, 0x83, 0x53, 0x80, + 0x27, 0xf8, 0x62, 0x6b, 0xce, 0x2f, 0xc2, 0x69, 0x00, 0xdc, 0x6a, 0x5d, 0x5e, 0x64, 0x1b, 0x3a, + 0x20,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 0xb5, 0xac, 0x7b, 0x85, 0x76, 0xcf, 0x1a, 0xe8, 0x2d, 0x5e, + 0x52, 0x3a, 0x69, 0xf3, 0xba, 0xd6, 0xe3, 0xfe, 0x2e, 0x24, 0xb4, 0x9d, 0xd8, 0xad, 0x34, 0x93, + 0xbe, 0x76, 0x24, 0xb8, 0xbf, 0x98, 0x88, 0x8f, 0xc0, 0x74, 0x40, 0xe5, 0xde, 0x3b, 0xf5, 0xa3, + 0x7d, 0x60, 0xa6, 0x8d, 0x0a, 0xef, 0xaf, 0xc8, 0x36, 0x41, 0x88, 0xdf, 0x26, 0x84, 0xf3, 0x2b, + 0x95, 0x30, 0xbf, 0x60, 0x1a, 0x0c, 0xb2, 0x2e, 0x8e, 0x65, 0x66, 0x3f, 0xf3, 0xd0, 0x19, 0x80, + 0x17, 0xc1, 0x80, 0x65, 0x5f, 0x30, 0x03, 0xcc, 0x9a, 0x53, 0x76, 0x76, 0xfc, 0xe1, 0x79, 0x76, + 0xd2, 0x79, 0x6f, 0x11, 0x75, 0x33, 0xaf, 0x19, 0x85, 0x1a, 0xa2, 0x1b, 0xf9, 0xdb, 0xb8, 0x82, + 0x94, 0xc6, 0x22, 0x56, 0xd2, 0x82, 0xc4, 0x96, 0xc0, 0x53, 0x60, 0xdc, 0xb3, 0xca, 0x41, 0x1f, + 0x64, 0x97, 0xdb, 0x98, 0x3b, 0xca, 0xba, 0x43, 0xf8, 0x10, 0xa4, 0x3d, 0x31, 0xc5, 0xa8, 0xd5, + 0x34, 0x42, 0x34, 0x43, 0x97, 0x99, 0xd6, 0x21, 0xa6, 0xf5, 0x64, 0x0c, 0xad, 0xd2, 0x11, 0x17, + 0xa4, 0xe4, 0x61, 0x48, 0xb6, 0x15, 0x0f, 0x41, 0xda, 0x0b, 0x6d, 0x18, 0x7e, 0x5f, 0x02, 0x78, + 0x17, 0x24, 0x04, 0x7f, 0x0b, 0x8c, 0xaa, 0x98, 0x28, 0x96, 0x66, 0xda, 0x6f, 0x8c, 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x92, 0xc6, 0xcb, 0xdc, 0xec, 0x1d, 0x28, 0xb9, 0xd7, 0xbe, 0xe4, 0x28, 0x3c, 0xf1, 0x58, + 0xc4, 0xa7, 0xf0, 0x4f, 0xee, 0xb3, 0x20, 0x50, 0x42, 0x93, 0x3c, 0x0b, 0xa2, 0x88, 0xc2, 0xcc, + 0xd5, 0xae, 0xd7, 0x73, 0xd7, 0x96, 0x98, 0x6b, 0xd7, 0xe0, 0x95, 0xa4, 0x45, 0x3a, 0x78, 0x0e, + 0x8a, 0xef, 0x7c, 0xf2, 0x62, 0x5a, 0xf8, 0xf4, 0xc5, 0xb4, 0xf0, 0x97, 0x17, 0xd3, 0xc2, 0xb3, + 0x97, 0xd3, 0x7d, 0x9f, 0xbe, 0x9c, 0xee, 0xfb, 0xfd, 0xcb, 0xe9, 0xbe, 0xb5, 0xcb, 0x15, 0x8d, + 0x6e, 0x6c, 0xaf, 0xe7, 0x15, 0xa3, 0xc6, 0x7f, 0xb4, 0xe8, 0x53, 0x75, 0xde, 0x53, 0x55, 0xbf, + 0x50, 0x78, 0x1c, 0x7a, 0x86, 0x34, 0x4c, 0x4c, 0xd6, 0x87, 0xd8, 0x6f, 0x39, 0x5e, 0xfb, 0x7f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0xc5, 0x56, 0xdf, 0x54, 0x2a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2248,6 +2388,9 @@ type QueryClient interface { // QueryConsumerIdFromClientId returns the consumer id of the chain // associated with the provided client id QueryConsumerIdFromClientId(ctx context.Context, in *QueryConsumerIdFromClientIdRequest, opts ...grpc.CallOption) (*QueryConsumerIdFromClientIdResponse, error) + // QueryConsumerChain returns the consumer chain + // associated with the provided consumer id + QueryConsumerChain(ctx context.Context, in *QueryConsumerChainRequest, opts ...grpc.CallOption) (*QueryConsumerChainResponse, error) } type queryClient struct { @@ -2411,6 +2554,15 @@ func (c *queryClient) QueryConsumerIdFromClientId(ctx context.Context, in *Query return out, nil } +func (c *queryClient) QueryConsumerChain(ctx context.Context, in *QueryConsumerChainRequest, opts ...grpc.CallOption) (*QueryConsumerChainResponse, error) { + out := new(QueryConsumerChainResponse) + err := c.cc.Invoke(ctx, "/interchain_security.ccv.provider.v1.Query/QueryConsumerChain", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // ConsumerGenesis queries the genesis state needed to start a consumer chain @@ -2462,6 +2614,9 @@ type QueryServer interface { // QueryConsumerIdFromClientId returns the consumer id of the chain // associated with the provided client id QueryConsumerIdFromClientId(context.Context, *QueryConsumerIdFromClientIdRequest) (*QueryConsumerIdFromClientIdResponse, error) + // QueryConsumerChain returns the consumer chain + // associated with the provided consumer id + QueryConsumerChain(context.Context, *QueryConsumerChainRequest) (*QueryConsumerChainResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -2519,6 +2674,9 @@ func (*UnimplementedQueryServer) QueryBlocksUntilNextEpoch(ctx context.Context, func (*UnimplementedQueryServer) QueryConsumerIdFromClientId(ctx context.Context, req *QueryConsumerIdFromClientIdRequest) (*QueryConsumerIdFromClientIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryConsumerIdFromClientId not implemented") } +func (*UnimplementedQueryServer) QueryConsumerChain(ctx context.Context, req *QueryConsumerChainRequest) (*QueryConsumerChainResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method QueryConsumerChain not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -2830,6 +2988,24 @@ func _Query_QueryConsumerIdFromClientId_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _Query_QueryConsumerChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryConsumerChainRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).QueryConsumerChain(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/interchain_security.ccv.provider.v1.Query/QueryConsumerChain", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).QueryConsumerChain(ctx, req.(*QueryConsumerChainRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "interchain_security.ccv.provider.v1.Query", HandlerType: (*QueryServer)(nil), @@ -2902,6 +3078,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "QueryConsumerIdFromClientId", Handler: _Query_QueryConsumerIdFromClientId_Handler, }, + { + MethodName: "QueryConsumerChain", + Handler: _Query_QueryConsumerChain_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "interchain_security/ccv/provider/v1/query.proto", @@ -4323,6 +4503,114 @@ func (m *QueryConsumerIdFromClientIdResponse) MarshalToSizedBuffer(dAtA []byte) return len(dAtA) - i, nil } +func (m *QueryConsumerChainRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryConsumerChainRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryConsumerChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + 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 +} + +func (m *QueryConsumerChainResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryConsumerChainResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryConsumerChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PowerShapingParams != nil { + { + size, err := m.PowerShapingParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.InitParams != nil { + { + size, err := m.InitParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + 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 + } + 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 + } + 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] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -4932,6 +5220,50 @@ func (m *QueryConsumerIdFromClientIdResponse) Size() (n int) { return n } +func (m *QueryConsumerChainRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ConsumerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryConsumerChainResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.OwnerAddress) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.Phase) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = m.Metadata.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.InitParams != nil { + l = m.InitParams.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.PowerShapingParams != nil { + l = m.PowerShapingParams.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -8847,6 +9179,339 @@ func (m *QueryConsumerIdFromClientIdResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryConsumerChainRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryConsumerChainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryConsumerChainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + 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 + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryConsumerChainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryConsumerChainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", 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.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", 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.OwnerAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Phase", 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.Phase = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", 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 err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitParams", 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.InitParams == nil { + m.InitParams = &ConsumerInitializationParameters{} + } + if err := m.InitParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PowerShapingParams", 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.PowerShapingParams == nil { + m.PowerShapingParams = &PowerShapingParameters{} + } + if err := m.PowerShapingParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/ccv/provider/types/query.pb.gw.go b/x/ccv/provider/types/query.pb.gw.go index a533712da9..73a7714e22 100644 --- a/x/ccv/provider/types/query.pb.gw.go +++ b/x/ccv/provider/types/query.pb.gw.go @@ -1121,6 +1121,60 @@ func local_request_Query_QueryConsumerIdFromClientId_0(ctx context.Context, mars } +func request_Query_QueryConsumerChain_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryConsumerChainRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["consumer_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "consumer_id") + } + + protoReq.ConsumerId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "consumer_id", err) + } + + msg, err := client.QueryConsumerChain(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_QueryConsumerChain_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryConsumerChainRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["consumer_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "consumer_id") + } + + protoReq.ConsumerId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "consumer_id", err) + } + + msg, err := server.QueryConsumerChain(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -1633,6 +1687,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_QueryConsumerChain_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_QueryConsumerChain_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_QueryConsumerChain_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -2114,6 +2191,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_QueryConsumerChain_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_QueryConsumerChain_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_QueryConsumerChain_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -2161,6 +2258,8 @@ var ( pattern_Query_QueryBlocksUntilNextEpoch_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"interchain_security", "ccv", "provider", "blocks_until_next_epoch"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryConsumerIdFromClientId_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_id", "client_id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_QueryConsumerChain_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_chain", "consumer_id"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -2207,4 +2306,6 @@ var ( forward_Query_QueryBlocksUntilNextEpoch_0 = runtime.ForwardResponseMessage forward_Query_QueryConsumerIdFromClientId_0 = runtime.ForwardResponseMessage + + forward_Query_QueryConsumerChain_0 = runtime.ForwardResponseMessage )