From ae5baee203f0980416b8c475afd58bbefd1304d0 Mon Sep 17 00:00:00 2001 From: emidev98 Date: Mon, 18 Dec 2023 11:51:05 +0200 Subject: [PATCH] chore(v0.4.x): remove deprecated endpoints --- Makefile | 4 +- docs/proto/proto-docs.md | 57 - proto/alliance/alliance/query.proto | 62 - x/alliance/keeper/grpc_query.go | 28 - x/alliance/keeper/tests/grpc_query_test.go | 17 - x/alliance/types/query.pb.go | 1287 +++----------------- x/alliance/types/query.pb.gw.go | 427 ------- 7 files changed, 185 insertions(+), 1697 deletions(-) diff --git a/Makefile b/Makefile index 5487b558..04dbdda0 100644 --- a/Makefile +++ b/Makefile @@ -152,10 +152,10 @@ localnet-build-env: localnet-alliance-rmi localnet-build-nodes: $(DOCKER) run --rm -v $(CURDIR)/.testnets:/alliance terra-money/localnet-alliance \ testnet init-files --v 3 -o /alliance --starting-ip-address 192.168.5.20 --keyring-backend=test --chain-id=alliance-testnet-1 - docker-compose up -d + $(DOCKER) compose up -d localnet-stop: - docker-compose down + $(DOCKER) compose down localnet-start: localnet-stop localnet-build-env localnet-build-nodes diff --git a/docs/proto/proto-docs.md b/docs/proto/proto-docs.md index 8640ca0f..d3c06e38 100644 --- a/docs/proto/proto-docs.md +++ b/docs/proto/proto-docs.md @@ -70,9 +70,6 @@ - [QueryAlliancesDelegationsResponse](#alliance.alliance.QueryAlliancesDelegationsResponse) - [QueryAlliancesRequest](#alliance.alliance.QueryAlliancesRequest) - [QueryAlliancesResponse](#alliance.alliance.QueryAlliancesResponse) - - [QueryIBCAllianceDelegationRequest](#alliance.alliance.QueryIBCAllianceDelegationRequest) - - [QueryIBCAllianceDelegationRewardsRequest](#alliance.alliance.QueryIBCAllianceDelegationRewardsRequest) - - [QueryIBCAllianceRequest](#alliance.alliance.QueryIBCAllianceRequest) - [QueryParamsRequest](#alliance.alliance.QueryParamsRequest) - [QueryParamsResponse](#alliance.alliance.QueryParamsResponse) @@ -1072,57 +1069,6 @@ Alliances - - -### QueryIBCAllianceDelegationRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `delegator_addr` | [string](#string) | | | -| `validator_addr` | [string](#string) | | | -| `hash` | [string](#string) | | | -| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | - - - - - - - - -### QueryIBCAllianceDelegationRewardsRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `delegator_addr` | [string](#string) | | | -| `validator_addr` | [string](#string) | | | -| `hash` | [string](#string) | | | -| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | - - - - - - - - -### QueryIBCAllianceRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `hash` | [string](#string) | | | - - - - - - ### QueryParamsRequest @@ -1163,16 +1109,13 @@ Params | ----------- | ------------ | ------------- | ------------| ------- | -------- | | `Params` | [QueryParamsRequest](#alliance.alliance.QueryParamsRequest) | [QueryParamsResponse](#alliance.alliance.QueryParamsResponse) | | GET|/terra/alliances/params| | `Alliances` | [QueryAlliancesRequest](#alliance.alliance.QueryAlliancesRequest) | [QueryAlliancesResponse](#alliance.alliance.QueryAlliancesResponse) | Query paginated alliances | GET|/terra/alliances| -| `IBCAlliance` | [QueryIBCAllianceRequest](#alliance.alliance.QueryIBCAllianceRequest) | [QueryAllianceResponse](#alliance.alliance.QueryAllianceResponse) | Query a specific alliance by ibc hash @deprecated: this endpoint will be replaced for by the encoded version of the denom e.g.: GET:/terra/alliances/ibc%2Falliance | GET|/terra/alliances/ibc/{hash}| | `AllAlliancesDelegations` | [QueryAllAlliancesDelegationsRequest](#alliance.alliance.QueryAllAlliancesDelegationsRequest) | [QueryAlliancesDelegationsResponse](#alliance.alliance.QueryAlliancesDelegationsResponse) | Query all paginated alliance delegations | GET|/terra/alliances/delegations| | `AllianceValidator` | [QueryAllianceValidatorRequest](#alliance.alliance.QueryAllianceValidatorRequest) | [QueryAllianceValidatorResponse](#alliance.alliance.QueryAllianceValidatorResponse) | Query alliance validator | GET|/terra/alliances/validators/{validator_addr}| | `AllAllianceValidators` | [QueryAllAllianceValidatorsRequest](#alliance.alliance.QueryAllAllianceValidatorsRequest) | [QueryAllianceValidatorsResponse](#alliance.alliance.QueryAllianceValidatorsResponse) | Query all paginated alliance validators | GET|/terra/alliances/validators| | `AlliancesDelegation` | [QueryAlliancesDelegationsRequest](#alliance.alliance.QueryAlliancesDelegationsRequest) | [QueryAlliancesDelegationsResponse](#alliance.alliance.QueryAlliancesDelegationsResponse) | Query all paginated alliance delegations for a delegator addr | GET|/terra/alliances/delegations/{delegator_addr}| | `AlliancesDelegationByValidator` | [QueryAlliancesDelegationByValidatorRequest](#alliance.alliance.QueryAlliancesDelegationByValidatorRequest) | [QueryAlliancesDelegationsResponse](#alliance.alliance.QueryAlliancesDelegationsResponse) | Query all paginated alliance delegations for a delegator addr and validator_addr | GET|/terra/alliances/delegations/{delegator_addr}/{validator_addr}| | `AllianceDelegation` | [QueryAllianceDelegationRequest](#alliance.alliance.QueryAllianceDelegationRequest) | [QueryAllianceDelegationResponse](#alliance.alliance.QueryAllianceDelegationResponse) | Query a delegation to an alliance by delegator addr, validator_addr and denom | GET|/terra/alliances/delegations/{delegator_addr}/{validator_addr}/{denom}| -| `IBCAllianceDelegation` | [QueryIBCAllianceDelegationRequest](#alliance.alliance.QueryIBCAllianceDelegationRequest) | [QueryAllianceDelegationResponse](#alliance.alliance.QueryAllianceDelegationResponse) | Query a delegation to an alliance by delegator addr, validator_addr and denom @deprecated: this endpoint will be replaced for by the encoded version of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance | GET|/terra/alliances/delegations/{delegator_addr}/{validator_addr}/ibc/{hash}| | `AllianceDelegationRewards` | [QueryAllianceDelegationRewardsRequest](#alliance.alliance.QueryAllianceDelegationRewardsRequest) | [QueryAllianceDelegationRewardsResponse](#alliance.alliance.QueryAllianceDelegationRewardsResponse) | Query for rewards by delegator addr, validator_addr and denom | GET|/terra/alliances/rewards/{delegator_addr}/{validator_addr}/{denom}| -| `IBCAllianceDelegationRewards` | [QueryIBCAllianceDelegationRewardsRequest](#alliance.alliance.QueryIBCAllianceDelegationRewardsRequest) | [QueryAllianceDelegationRewardsResponse](#alliance.alliance.QueryAllianceDelegationRewardsResponse) | Query for rewards by delegator addr, validator_addr and denom @deprecated: this endpoint will be replaced for by the encoded version of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance | GET|/terra/alliances/rewards/{delegator_addr}/{validator_addr}/ibc/{hash}| | `AllianceUnbondingsByDenomAndDelegator` | [QueryAllianceUnbondingsByDenomAndDelegatorRequest](#alliance.alliance.QueryAllianceUnbondingsByDenomAndDelegatorRequest) | [QueryAllianceUnbondingsByDenomAndDelegatorResponse](#alliance.alliance.QueryAllianceUnbondingsByDenomAndDelegatorResponse) | Query for rewards by delegator addr, validator_addr and denom | GET|/terra/alliances/unbondings/{denom}/{delegator_addr}| | `AllianceUnbondings` | [QueryAllianceUnbondingsRequest](#alliance.alliance.QueryAllianceUnbondingsRequest) | [QueryAllianceUnbondingsResponse](#alliance.alliance.QueryAllianceUnbondingsResponse) | Query for rewards by delegator addr, validator_addr and denom | GET|/terra/alliances/unbondings/{denom}/{delegator_addr}/{validator_addr}| | `AllianceRedelegations` | [QueryAllianceRedelegationsRequest](#alliance.alliance.QueryAllianceRedelegationsRequest) | [QueryAllianceRedelegationsResponse](#alliance.alliance.QueryAllianceRedelegationsResponse) | Query redelegations by denom and delegator address | GET|/terra/alliances/redelegations/{denom}/{delegator_addr}| diff --git a/proto/alliance/alliance/query.proto b/proto/alliance/alliance/query.proto index 8ea9c9e5..cc7ad0d2 100644 --- a/proto/alliance/alliance/query.proto +++ b/proto/alliance/alliance/query.proto @@ -23,16 +23,6 @@ service Query { option (google.api.http).get = "/terra/alliances"; } - // Query a specific alliance by ibc hash - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/ibc%2Falliance - rpc IBCAlliance(QueryIBCAllianceRequest) returns (QueryAllianceResponse) { - // Deprecated. Please use the default endpoint - // with the encoded denom e.g from ibc/alliance to ibc%2Falliance - option deprecated = true; - option (google.api.http).get = "/terra/alliances/ibc/{hash}"; - } - // Query all paginated alliance delegations rpc AllAlliancesDelegations(QueryAllAlliancesDelegationsRequest) returns (QueryAlliancesDelegationsResponse) { option (google.api.http).get = "/terra/alliances/delegations"; @@ -63,29 +53,10 @@ service Query { option (google.api.http).get = "/terra/alliances/delegations/{delegator_addr}/{validator_addr}/{denom}"; } - // Query a delegation to an alliance by delegator addr, validator_addr and denom - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance - rpc IBCAllianceDelegation(QueryIBCAllianceDelegationRequest) returns (QueryAllianceDelegationResponse) { - // Deprecated. Please use the default endpoint - // with the encoded denom e.g from ibc/alliance to ibc%2Falliance - option deprecated = true; - option (google.api.http).get = "/terra/alliances/delegations/{delegator_addr}/{validator_addr}/ibc/{hash}"; - } - // Query for rewards by delegator addr, validator_addr and denom rpc AllianceDelegationRewards(QueryAllianceDelegationRewardsRequest) returns (QueryAllianceDelegationRewardsResponse) { option (google.api.http).get = "/terra/alliances/rewards/{delegator_addr}/{validator_addr}/{denom}"; } - // Query for rewards by delegator addr, validator_addr and denom - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance - rpc IBCAllianceDelegationRewards(QueryIBCAllianceDelegationRewardsRequest) returns (QueryAllianceDelegationRewardsResponse) { - // Deprecated. Please use the default endpoint - // with the encoded denom e.g from ibc/alliance to ibc%2Falliance - option deprecated = true; - option (google.api.http).get = "/terra/alliances/rewards/{delegator_addr}/{validator_addr}/ibc/{hash}"; - } // Query for rewards by delegator addr, validator_addr and denom rpc AllianceUnbondingsByDenomAndDelegator(QueryAllianceUnbondingsByDenomAndDelegatorRequest) returns (QueryAllianceUnbondingsByDenomAndDelegatorResponse) { @@ -134,13 +105,6 @@ message QueryAllianceResponse { AllianceAsset alliance = 1; } -message QueryIBCAllianceRequest { - // Deprecated. Please use the default endpoint - // with the encoded denom e.g from - option deprecated = true; - string hash = 1; -} - message QueryAllianceValidatorRequest { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; @@ -207,19 +171,6 @@ message QueryAllianceDelegationRequest { cosmos.base.query.v1beta1.PageRequest pagination = 4; } -message QueryIBCAllianceDelegationRequest { - // Deprecated. Please use the default endpoint - // with the encoded denom e.g from - option deprecated = true; - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_addr = 1; - string validator_addr = 2; - string hash = 3; - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - message QueryAllianceDelegationResponse { DelegationResponse delegation = 1 [(gogoproto.nullable) = false]; } @@ -235,19 +186,6 @@ message QueryAllianceDelegationRewardsRequest { cosmos.base.query.v1beta1.PageRequest pagination = 4; } -message QueryIBCAllianceDelegationRewardsRequest { - // Deprecated. Please use the default endpoint - // with the encoded denom e.g from - option deprecated = true; - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_addr = 1; - string validator_addr = 2; - string hash = 3; - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - message QueryAllianceDelegationRewardsResponse { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; diff --git a/x/alliance/keeper/grpc_query.go b/x/alliance/keeper/grpc_query.go index 7d37b6ff..09d5f178 100644 --- a/x/alliance/keeper/grpc_query.go +++ b/x/alliance/keeper/grpc_query.go @@ -217,13 +217,6 @@ func (k QueryServer) Alliance(c context.Context, req *types.QueryAllianceRequest }, nil } -func (k QueryServer) IBCAlliance(c context.Context, request *types.QueryIBCAllianceRequest) (*types.QueryAllianceResponse, error) { //nolint:staticcheck // SA1019: types.QueryIBCAllianceRequest is deprecated - req := types.QueryAllianceRequest{ - Denom: "ibc/" + request.Hash, - } - return k.Alliance(c, &req) -} - func (k QueryServer) AllianceDelegationRewards(context context.Context, req *types.QueryAllianceDelegationRewardsRequest) (*types.QueryAllianceDelegationRewardsResponse, error) { ctx := sdk.UnwrapSDKContext(context) decodedDenom, err := url.QueryUnescape(req.Denom) @@ -262,17 +255,6 @@ func (k QueryServer) AllianceDelegationRewards(context context.Context, req *typ }, nil } -func (k QueryServer) IBCAllianceDelegationRewards(context context.Context, request *types.QueryIBCAllianceDelegationRewardsRequest) (*types.QueryAllianceDelegationRewardsResponse, error) { //nolint:staticcheck // SA1019: types.QueryIBCAllianceDelegationRewardsRequest is deprecated - req := types.QueryAllianceDelegationRewardsRequest{ - DelegatorAddr: request.DelegatorAddr, - ValidatorAddr: request.ValidatorAddr, - Denom: "ibc/" + request.Hash, - Pagination: request.Pagination, - } - - return k.AllianceDelegationRewards(context, &req) -} - func (k QueryServer) AlliancesDelegation(c context.Context, req *types.QueryAlliancesDelegationsRequest) (*types.QueryAlliancesDelegationsResponse, error) { var delegationsRes []types.DelegationResponse @@ -538,16 +520,6 @@ func (k QueryServer) AllianceRedelegations(c context.Context, req *types.QueryAl }, err } -func (k QueryServer) IBCAllianceDelegation(c context.Context, request *types.QueryIBCAllianceDelegationRequest) (*types.QueryAllianceDelegationResponse, error) { //nolint:staticcheck // SA1019: types.QueryIBCAllianceDelegationRequest is deprecated - req := types.QueryAllianceDelegationRequest{ - DelegatorAddr: request.DelegatorAddr, - ValidatorAddr: request.ValidatorAddr, - Denom: "ibc/" + request.Hash, - Pagination: request.Pagination, - } - return k.AllianceDelegation(c, &req) -} - func NewQueryServerImpl(keeper Keeper) types.QueryServer { return &QueryServer{ Keeper: keeper, diff --git a/x/alliance/keeper/tests/grpc_query_test.go b/x/alliance/keeper/tests/grpc_query_test.go index 23e36f51..6c7b13ef 100644 --- a/x/alliance/keeper/tests/grpc_query_test.go +++ b/x/alliance/keeper/tests/grpc_query_test.go @@ -160,9 +160,6 @@ func TestQueryAnUniqueIBCAlliance(t *testing.T) { alliances, err := queryServer.Alliance(ctx, &types.QueryAllianceRequest{ Denom: "ibc%2Falliance2", }) - alliancesIbcEndpoint, err2 := queryServer.IBCAlliance(ctx, &types.QueryIBCAllianceRequest{ //nolint:staticcheck // SA1019: types.types.QueryIBCAllianceRequest is deprecated - Hash: "alliance2", - }) // THEN: VALIDATE THAT BOTH ALLIANCES HAVE THE CORRECT MODEL WHEN QUERYING require.Nil(t, err) @@ -178,20 +175,6 @@ func TestQueryAnUniqueIBCAlliance(t *testing.T) { RewardChangeInterval: 0, }, }, alliances) - - require.Nil(t, err2) - require.Equal(t, &types.QueryAllianceResponse{ - Alliance: &types.AllianceAsset{ - Denom: "ibc/alliance2", - RewardWeight: sdk.NewDec(10), - RewardWeightRange: types.RewardWeightRange{Min: sdk.NewDec(2), Max: sdk.NewDec(12)}, - TakeRate: sdk.MustNewDecFromStr("0.14159265359"), - TotalTokens: sdk.ZeroInt(), - TotalValidatorShares: sdk.NewDec(0), - RewardChangeRate: sdk.NewDec(0), - RewardChangeInterval: 0, - }, - }, alliancesIbcEndpoint) } func TestQueryAllianceNotFound(t *testing.T) { diff --git a/x/alliance/types/query.pb.go b/x/alliance/types/query.pb.go index 062f37fc..532085fb 100644 --- a/x/alliance/types/query.pb.go +++ b/x/alliance/types/query.pb.go @@ -299,51 +299,6 @@ func (m *QueryAllianceResponse) GetAlliance() *AllianceAsset { return nil } -// Deprecated: Do not use. -type QueryIBCAllianceRequest struct { - Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` -} - -func (m *QueryIBCAllianceRequest) Reset() { *m = QueryIBCAllianceRequest{} } -func (m *QueryIBCAllianceRequest) String() string { return proto.CompactTextString(m) } -func (*QueryIBCAllianceRequest) ProtoMessage() {} -func (*QueryIBCAllianceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{6} -} -func (m *QueryIBCAllianceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryIBCAllianceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryIBCAllianceRequest.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 *QueryIBCAllianceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIBCAllianceRequest.Merge(m, src) -} -func (m *QueryIBCAllianceRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryIBCAllianceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIBCAllianceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryIBCAllianceRequest proto.InternalMessageInfo - -func (m *QueryIBCAllianceRequest) GetHash() string { - if m != nil { - return m.Hash - } - return "" -} - type QueryAllianceValidatorRequest struct { ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` } @@ -352,7 +307,7 @@ func (m *QueryAllianceValidatorRequest) Reset() { *m = QueryAllianceVali func (m *QueryAllianceValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllianceValidatorRequest) ProtoMessage() {} func (*QueryAllianceValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{7} + return fileDescriptor_dec650c88028d5e2, []int{6} } func (m *QueryAllianceValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -389,7 +344,7 @@ func (m *QueryAllAllianceValidatorsRequest) Reset() { *m = QueryAllAllia func (m *QueryAllAllianceValidatorsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAllianceValidatorsRequest) ProtoMessage() {} func (*QueryAllAllianceValidatorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{8} + return fileDescriptor_dec650c88028d5e2, []int{7} } func (m *QueryAllAllianceValidatorsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -426,7 +381,7 @@ func (m *QueryAllAlliancesDelegationsRequest) Reset() { *m = QueryAllAll func (m *QueryAllAlliancesDelegationsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAlliancesDelegationsRequest) ProtoMessage() {} func (*QueryAllAlliancesDelegationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{9} + return fileDescriptor_dec650c88028d5e2, []int{8} } func (m *QueryAllAlliancesDelegationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -465,7 +420,7 @@ func (m *QueryAlliancesDelegationsRequest) Reset() { *m = QueryAlliances func (m *QueryAlliancesDelegationsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAlliancesDelegationsRequest) ProtoMessage() {} func (*QueryAlliancesDelegationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{10} + return fileDescriptor_dec650c88028d5e2, []int{9} } func (m *QueryAlliancesDelegationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -509,7 +464,7 @@ func (m *QueryAlliancesDelegationByValidatorRequest) String() string { } func (*QueryAlliancesDelegationByValidatorRequest) ProtoMessage() {} func (*QueryAlliancesDelegationByValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{11} + return fileDescriptor_dec650c88028d5e2, []int{10} } func (m *QueryAlliancesDelegationByValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -549,7 +504,7 @@ func (m *DelegationResponse) Reset() { *m = DelegationResponse{} } func (m *DelegationResponse) String() string { return proto.CompactTextString(m) } func (*DelegationResponse) ProtoMessage() {} func (*DelegationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{12} + return fileDescriptor_dec650c88028d5e2, []int{11} } func (m *DelegationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -601,7 +556,7 @@ func (m *QueryAlliancesDelegationsResponse) Reset() { *m = QueryAlliance func (m *QueryAlliancesDelegationsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAlliancesDelegationsResponse) ProtoMessage() {} func (*QueryAlliancesDelegationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{13} + return fileDescriptor_dec650c88028d5e2, []int{12} } func (m *QueryAlliancesDelegationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -656,7 +611,7 @@ func (m *QueryAllianceDelegationRequest) Reset() { *m = QueryAllianceDel func (m *QueryAllianceDelegationRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllianceDelegationRequest) ProtoMessage() {} func (*QueryAllianceDelegationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{14} + return fileDescriptor_dec650c88028d5e2, []int{13} } func (m *QueryAllianceDelegationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -685,47 +640,6 @@ func (m *QueryAllianceDelegationRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllianceDelegationRequest proto.InternalMessageInfo -// Deprecated: Do not use. -type QueryIBCAllianceDelegationRequest struct { - DelegatorAddr string `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"` - ValidatorAddr string `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` - Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` - Pagination *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryIBCAllianceDelegationRequest) Reset() { *m = QueryIBCAllianceDelegationRequest{} } -func (m *QueryIBCAllianceDelegationRequest) String() string { return proto.CompactTextString(m) } -func (*QueryIBCAllianceDelegationRequest) ProtoMessage() {} -func (*QueryIBCAllianceDelegationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{15} -} -func (m *QueryIBCAllianceDelegationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryIBCAllianceDelegationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryIBCAllianceDelegationRequest.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 *QueryIBCAllianceDelegationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIBCAllianceDelegationRequest.Merge(m, src) -} -func (m *QueryIBCAllianceDelegationRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryIBCAllianceDelegationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIBCAllianceDelegationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryIBCAllianceDelegationRequest proto.InternalMessageInfo - type QueryAllianceDelegationResponse struct { Delegation DelegationResponse `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"` } @@ -734,7 +648,7 @@ func (m *QueryAllianceDelegationResponse) Reset() { *m = QueryAllianceDe func (m *QueryAllianceDelegationResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllianceDelegationResponse) ProtoMessage() {} func (*QueryAllianceDelegationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{16} + return fileDescriptor_dec650c88028d5e2, []int{14} } func (m *QueryAllianceDelegationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -782,7 +696,7 @@ func (m *QueryAllianceDelegationRewardsRequest) Reset() { *m = QueryAlli func (m *QueryAllianceDelegationRewardsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllianceDelegationRewardsRequest) ProtoMessage() {} func (*QueryAllianceDelegationRewardsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{17} + return fileDescriptor_dec650c88028d5e2, []int{15} } func (m *QueryAllianceDelegationRewardsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -811,49 +725,6 @@ func (m *QueryAllianceDelegationRewardsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllianceDelegationRewardsRequest proto.InternalMessageInfo -// Deprecated: Do not use. -type QueryIBCAllianceDelegationRewardsRequest struct { - DelegatorAddr string `protobuf:"bytes,1,opt,name=delegator_addr,json=delegatorAddr,proto3" json:"delegator_addr,omitempty"` - ValidatorAddr string `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` - Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` - Pagination *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryIBCAllianceDelegationRewardsRequest) Reset() { - *m = QueryIBCAllianceDelegationRewardsRequest{} -} -func (m *QueryIBCAllianceDelegationRewardsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryIBCAllianceDelegationRewardsRequest) ProtoMessage() {} -func (*QueryIBCAllianceDelegationRewardsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{18} -} -func (m *QueryIBCAllianceDelegationRewardsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryIBCAllianceDelegationRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryIBCAllianceDelegationRewardsRequest.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 *QueryIBCAllianceDelegationRewardsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIBCAllianceDelegationRewardsRequest.Merge(m, src) -} -func (m *QueryIBCAllianceDelegationRewardsRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryIBCAllianceDelegationRewardsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIBCAllianceDelegationRewardsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryIBCAllianceDelegationRewardsRequest proto.InternalMessageInfo - type QueryAllianceDelegationRewardsResponse struct { Rewards []github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,rep,name=rewards,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"rewards"` } @@ -864,7 +735,7 @@ func (m *QueryAllianceDelegationRewardsResponse) Reset() { func (m *QueryAllianceDelegationRewardsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllianceDelegationRewardsResponse) ProtoMessage() {} func (*QueryAllianceDelegationRewardsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{19} + return fileDescriptor_dec650c88028d5e2, []int{16} } func (m *QueryAllianceDelegationRewardsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -904,7 +775,7 @@ func (m *QueryAllianceValidatorResponse) Reset() { *m = QueryAllianceVal func (m *QueryAllianceValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllianceValidatorResponse) ProtoMessage() {} func (*QueryAllianceValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{20} + return fileDescriptor_dec650c88028d5e2, []int{17} } func (m *QueryAllianceValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -942,7 +813,7 @@ func (m *QueryAllianceValidatorsResponse) Reset() { *m = QueryAllianceVa func (m *QueryAllianceValidatorsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllianceValidatorsResponse) ProtoMessage() {} func (*QueryAllianceValidatorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{21} + return fileDescriptor_dec650c88028d5e2, []int{18} } func (m *QueryAllianceValidatorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -986,7 +857,7 @@ func (m *QueryAllianceUnbondingsByDenomAndDelegatorRequest) String() string { } func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) ProtoMessage() {} func (*QueryAllianceUnbondingsByDenomAndDelegatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{22} + return fileDescriptor_dec650c88028d5e2, []int{19} } func (m *QueryAllianceUnbondingsByDenomAndDelegatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1028,7 +899,7 @@ func (m *QueryAllianceUnbondingsByDenomAndDelegatorResponse) String() string { } func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) ProtoMessage() {} func (*QueryAllianceUnbondingsByDenomAndDelegatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{23} + return fileDescriptor_dec650c88028d5e2, []int{20} } func (m *QueryAllianceUnbondingsByDenomAndDelegatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1068,7 +939,7 @@ func (m *QueryAllianceUnbondingsRequest) Reset() { *m = QueryAllianceUnb func (m *QueryAllianceUnbondingsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllianceUnbondingsRequest) ProtoMessage() {} func (*QueryAllianceUnbondingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{24} + return fileDescriptor_dec650c88028d5e2, []int{21} } func (m *QueryAllianceUnbondingsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1106,7 +977,7 @@ func (m *QueryAllianceUnbondingsResponse) Reset() { *m = QueryAllianceUn func (m *QueryAllianceUnbondingsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllianceUnbondingsResponse) ProtoMessage() {} func (*QueryAllianceUnbondingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{25} + return fileDescriptor_dec650c88028d5e2, []int{22} } func (m *QueryAllianceUnbondingsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1146,7 +1017,7 @@ func (m *QueryAllianceRedelegationsRequest) Reset() { *m = QueryAlliance func (m *QueryAllianceRedelegationsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllianceRedelegationsRequest) ProtoMessage() {} func (*QueryAllianceRedelegationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{26} + return fileDescriptor_dec650c88028d5e2, []int{23} } func (m *QueryAllianceRedelegationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1184,7 +1055,7 @@ func (m *QueryAllianceRedelegationsResponse) Reset() { *m = QueryAllianc func (m *QueryAllianceRedelegationsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllianceRedelegationsResponse) ProtoMessage() {} func (*QueryAllianceRedelegationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dec650c88028d5e2, []int{27} + return fileDescriptor_dec650c88028d5e2, []int{24} } func (m *QueryAllianceRedelegationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1220,7 +1091,6 @@ func init() { proto.RegisterType((*QueryAlliancesResponse)(nil), "alliance.alliance.QueryAlliancesResponse") proto.RegisterType((*QueryAllianceRequest)(nil), "alliance.alliance.QueryAllianceRequest") proto.RegisterType((*QueryAllianceResponse)(nil), "alliance.alliance.QueryAllianceResponse") - proto.RegisterType((*QueryIBCAllianceRequest)(nil), "alliance.alliance.QueryIBCAllianceRequest") proto.RegisterType((*QueryAllianceValidatorRequest)(nil), "alliance.alliance.QueryAllianceValidatorRequest") proto.RegisterType((*QueryAllAllianceValidatorsRequest)(nil), "alliance.alliance.QueryAllAllianceValidatorsRequest") proto.RegisterType((*QueryAllAlliancesDelegationsRequest)(nil), "alliance.alliance.QueryAllAlliancesDelegationsRequest") @@ -1229,10 +1099,8 @@ func init() { proto.RegisterType((*DelegationResponse)(nil), "alliance.alliance.DelegationResponse") proto.RegisterType((*QueryAlliancesDelegationsResponse)(nil), "alliance.alliance.QueryAlliancesDelegationsResponse") proto.RegisterType((*QueryAllianceDelegationRequest)(nil), "alliance.alliance.QueryAllianceDelegationRequest") - proto.RegisterType((*QueryIBCAllianceDelegationRequest)(nil), "alliance.alliance.QueryIBCAllianceDelegationRequest") proto.RegisterType((*QueryAllianceDelegationResponse)(nil), "alliance.alliance.QueryAllianceDelegationResponse") proto.RegisterType((*QueryAllianceDelegationRewardsRequest)(nil), "alliance.alliance.QueryAllianceDelegationRewardsRequest") - proto.RegisterType((*QueryIBCAllianceDelegationRewardsRequest)(nil), "alliance.alliance.QueryIBCAllianceDelegationRewardsRequest") proto.RegisterType((*QueryAllianceDelegationRewardsResponse)(nil), "alliance.alliance.QueryAllianceDelegationRewardsResponse") proto.RegisterType((*QueryAllianceValidatorResponse)(nil), "alliance.alliance.QueryAllianceValidatorResponse") proto.RegisterType((*QueryAllianceValidatorsResponse)(nil), "alliance.alliance.QueryAllianceValidatorsResponse") @@ -1247,104 +1115,95 @@ func init() { func init() { proto.RegisterFile("alliance/alliance/query.proto", fileDescriptor_dec650c88028d5e2) } var fileDescriptor_dec650c88028d5e2 = []byte{ - // 1548 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0xd4, 0x56, - 0x10, 0xcf, 0xdb, 0x84, 0xaf, 0x49, 0xa1, 0xf0, 0x48, 0x9a, 0x65, 0x9b, 0x6c, 0x82, 0x61, 0x43, - 0x8a, 0x60, 0x4d, 0x42, 0x80, 0x42, 0xe9, 0x47, 0xc2, 0x06, 0x0a, 0x14, 0x94, 0x2e, 0xa5, 0x95, - 0xb8, 0x44, 0xde, 0xd8, 0xda, 0xac, 0xd8, 0xb5, 0x17, 0xdb, 0x01, 0xb6, 0x28, 0xaa, 0xd4, 0x13, - 0x52, 0x2f, 0x95, 0x7a, 0xa9, 0xda, 0x0b, 0xa7, 0xf6, 0xd2, 0xf6, 0xd0, 0x4b, 0x0f, 0xbd, 0x51, - 0x55, 0xa2, 0x5f, 0x12, 0x52, 0xd5, 0x4f, 0x15, 0x84, 0xa0, 0x07, 0x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 0x37, 0x74, 0x4b, 0xc3, 0x47, 0x60, 0xbd, 0xc3, 0x36, 0x8d, 0xc6, 0xd0, 0x44, 0xff, - 0xd4, 0x8e, 0xbc, 0x10, 0x81, 0xbc, 0x23, 0x32, 0xdb, 0x77, 0xe7, 0xfe, 0x68, 0x4f, 0x91, 0x1e, - 0x97, 0x16, 0x60, 0x90, 0xe8, 0x9b, 0xa1, 0xa7, 0x98, 0x21, 0x7c, 0x12, 0xc0, 0xf3, 0x31, 0xd5, - 0x3a, 0x9e, 0x77, 0x5c, 0x94, 0x6f, 0xba, 0x28, 0xef, 0x04, 0x9c, 0x3a, 0x2a, 0x3f, 0xaf, 0x94, - 0x35, 0x2a, 0x5b, 0xe4, 0x24, 0xa5, 0x4f, 0x11, 0x3c, 0x13, 0xb4, 0x40, 0x41, 0x17, 0x60, 0x13, - 0x03, 0xd7, 0xc4, 0xdd, 0x3b, 0xd1, 0x3f, 0x35, 0x16, 0x82, 0x9b, 0x09, 0xce, 0x58, 0x96, 0x66, - 0x53, 0xf8, 0x9e, 0x20, 0x3e, 0xe5, 0x03, 0x9a, 0x22, 0x40, 0xf7, 0xc4, 0x02, 0x75, 0x20, 0xf8, - 0x90, 0xee, 0x83, 0x01, 0x1f, 0x50, 0xe6, 0x89, 0x01, 0x58, 0xa7, 0x6a, 0xba, 0x51, 0x23, 0x4e, - 0xd8, 0x54, 0x74, 0xfe, 0x23, 0x5d, 0x0c, 0x38, 0xce, 0x65, 0x75, 0x1c, 0x36, 0x32, 0x70, 0xd4, - 0x6d, 0xb1, 0xa4, 0x8a, 0xae, 0x84, 0x34, 0x09, 0x43, 0x44, 0xed, 0xe9, 0xd9, 0x13, 0x41, 0x1c, - 0x18, 0xfa, 0x96, 0x14, 0x6b, 0x89, 0xc2, 0x20, 0xcf, 0xc7, 0x52, 0x69, 0x24, 0xcd, 0xc3, 0x88, - 0x0f, 0xc9, 0x9b, 0x4a, 0xb5, 0xa2, 0x2a, 0xb6, 0x61, 0x32, 0xc1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, 0xdd, 0x86, 0x7b, 0x85, 0x35, 0x51, 0x66, 0xaa, 0x6d, 0xe0, 0x9e, 0x6b, - 0x77, 0xb5, 0x4c, 0x06, 0xae, 0x4d, 0xf9, 0x0a, 0xc1, 0xf6, 0x90, 0x00, 0xe1, 0x83, 0xc9, 0xa2, - 0xb9, 0x96, 0x14, 0x38, 0x44, 0x70, 0xca, 0x78, 0x7f, 0x54, 0x0a, 0xc8, 0x37, 0xfc, 0x35, 0x78, - 0x05, 0xdf, 0x43, 0x90, 0x8d, 0xde, 0xe5, 0xe0, 0x17, 0x13, 0xe0, 0x11, 0x77, 0x40, 0xab, 0xa4, - 0x73, 0x92, 0xd0, 0x79, 0x05, 0xbf, 0x94, 0x88, 0x8e, 0x98, 0x42, 0x3f, 0x20, 0xc0, 0xe2, 0x64, - 0x82, 0x63, 0x53, 0x58, 0x98, 0xe8, 0xe3, 0x93, 0x47, 0x9c, 0x78, 0xa5, 0xf3, 0x84, 0xc5, 0xab, - 0xf8, 0xe4, 0xda, 0x58, 0x34, 0x4f, 0xe8, 0x46, 0x6d, 0x05, 0xff, 0x86, 0x60, 0x30, 0x74, 0x94, - 0x6c, 0x7d, 0x21, 0xa2, 0xb6, 0x14, 0xab, 0xe2, 0xf4, 0x06, 0xe1, 0x74, 0x16, 0x9f, 0x5e, 0x23, - 0x27, 0x7f, 0x2d, 0xfd, 0x0b, 0xc1, 0x8e, 0x96, 0x13, 0x24, 0x7e, 0x3e, 0x09, 0x4e, 0x7e, 0xa8, - 0xce, 0x1c, 0x5d, 0x85, 0x24, 0x25, 0x7a, 0x86, 0x10, 0x2d, 0xe0, 0x59, 0x81, 0x28, 0x1d, 0x35, - 0x13, 0x04, 0xee, 0x31, 0x82, 0xe1, 0xa8, 0x1d, 0x00, 0x7e, 0x21, 0x61, 0xfc, 0x3a, 0x45, 0x72, - 0x9e, 0x90, 0x3c, 0x85, 0xe7, 0xd6, 0x40, 0xd2, 0x1f, 0xc9, 0x7f, 0x10, 0xe4, 0xda, 0x9a, 0x4a, - 0x70, 0x21, 0x0e, 0x76, 0x3b, 0x93, 0x59, 0x66, 0x6e, 0x8d, 0x5a, 0xa8, 0x23, 0x8e, 0x13, 0x47, - 0x1c, 0xc6, 0xd3, 0x82, 0x23, 0xbc, 0x9e, 0x9a, 0x85, 0x53, 0x2c, 0xa3, 0xdf, 0x73, 0x65, 0xc6, - 0xb3, 0x17, 0x5f, 0x66, 0x84, 0xf1, 0x26, 0xfe, 0x4a, 0x8a, 0x83, 0x83, 0x74, 0xae, 0x65, 0x10, - 0xdb, 0xc0, 0x2e, 0xd6, 0xcc, 0x6f, 0x9d, 0xcf, 0xae, 0xd8, 0x2c, 0xe3, 0xe9, 0xf8, 0x1e, 0x4a, - 0x1c, 0x08, 0x32, 0x87, 0x12, 0x4a, 0x51, 0x56, 0x2f, 0x13, 0x56, 0x47, 0xf1, 0x91, 0x90, 0xd4, - 0x0c, 0x94, 0x9a, 0xf0, 0xa0, 0xbc, 0x03, 0x1b, 0xdd, 0x4e, 0x71, 0x4f, 0x3c, 0x86, 0xa4, 0x6d, - 0xe2, 0x18, 0xc1, 0x97, 0xc1, 0x69, 0x01, 0x1f, 0x45, 0x34, 0x7b, 0xe6, 0xce, 0xc3, 0x2c, 0xba, - 0xfb, 0x30, 0x8b, 0x1e, 0x3c, 0xcc, 0xa2, 0xf7, 0x1f, 0x65, 0x7b, 0xee, 0x3e, 0xca, 0xf6, 0xfc, - 0xfe, 0x28, 0xdb, 0x73, 0xe9, 0x00, 0xb7, 0xd6, 0x22, 0xd2, 0xfb, 0x6b, 0x86, 0xae, 0x35, 0xbc, - 0xbf, 0xc2, 0x5e, 0xf7, 0x1e, 0xc9, 0x92, 0xab, 0xb4, 0x9e, 0xfc, 0x25, 0xf6, 0xe0, 0xbf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x85, 0x79, 0x06, 0xaa, 0xee, 0x1e, 0x00, 0x00, + // 1405 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0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 0xcb, 0xb7, 0x67, 0x8a, 0x9a, 0xad, + 0xcc, 0xc8, 0x35, 0xa5, 0x54, 0xd6, 0xc9, 0x61, 0x7a, 0x36, 0x2d, 0x22, 0xaa, 0x29, 0xa6, 0x52, + 0x65, 0xba, 0xc6, 0xc4, 0xdf, 0x5d, 0x90, 0x54, 0x03, 0x6f, 0x8d, 0xd9, 0x59, 0x37, 0xca, 0xcc, + 0xc2, 0xb8, 0xa8, 0x41, 0xd5, 0x2a, 0x5a, 0xc9, 0x07, 0xf9, 0x98, 0x78, 0x68, 0x43, 0x2f, 0x1a, + 0xba, 0x5a, 0xd6, 0x4b, 0xf4, 0x48, 0x56, 0x3c, 0x62, 0x6a, 0x82, 0x26, 0xa9, 0x1f, 0xf0, 0x9b, + 0x0d, 0xca, 0xab, 0x84, 0x45, 0x41, 0xbb, 0xb5, 0xa1, 0x59, 0xb6, 0x74, 0x05, 0x8e, 0xfa, 0xde, + 0x5a, 0x35, 0x43, 0xb7, 0x34, 0x7c, 0x0e, 0xf6, 0x3b, 0x6c, 0x87, 0xd0, 0x18, 0x9a, 0xea, 0x9b, + 0x1d, 0xce, 0x09, 0x11, 0xc8, 0x39, 0x22, 0x8b, 0xdd, 0x0f, 0x9f, 0x64, 0x12, 0x05, 0x7a, 0x5c, + 0x5a, 0x83, 0x01, 0xa2, 0x6f, 0x81, 0x9e, 0x62, 0x86, 0xf0, 0x32, 0x80, 0xe7, 0x63, 0xaa, 0x75, + 0x22, 0xe7, 0xb8, 0x28, 0xd7, 0x70, 0x51, 0xce, 0x09, 0x38, 0x75, 0x54, 0x6e, 0x55, 0x29, 0x69, + 0x54, 0xb6, 0xc0, 0x49, 0x4a, 0x9f, 0x21, 0x78, 0x2e, 0x68, 0x81, 0x82, 0xce, 0x43, 0x2f, 0x03, + 0xd7, 0xc0, 0xdd, 0x35, 0xd5, 0x37, 0x3b, 0x16, 0x82, 0x9b, 0x09, 0x2e, 0x58, 0x96, 0x66, 0x53, + 0xf8, 0x9e, 0x20, 0xbe, 0xe4, 0x03, 0x9a, 0x24, 0x40, 0x27, 0x23, 0x81, 0x3a, 0x10, 0x7c, 0x48, + 0x4f, 0x42, 0xbf, 0x0f, 0x28, 0xf3, 0x44, 0x3f, 0xec, 0x53, 0x35, 0xdd, 0xa8, 0x12, 0x27, 0xf4, + 0x16, 0x9c, 0xff, 0x48, 0xd7, 0x02, 0x8e, 0x73, 0x59, 0x5d, 0x80, 0x1e, 0x06, 0x8e, 0xba, 0x2d, + 0x92, 0x54, 0xc1, 0x95, 0x90, 0x56, 0x61, 0xd4, 0xa7, 0xf6, 0x2d, 0xa5, 0x52, 0x56, 0x15, 0xdb, + 0x30, 0x19, 0x9a, 0x2c, 0x1c, 0xba, 0xcd, 0xde, 0xad, 0x29, 0xaa, 0x6a, 0x52, 0x58, 0x07, 0xdd, + 0xb7, 0x0b, 0xaa, 0x6a, 0x9e, 0xef, 0x79, 0xff, 0x7e, 0x26, 0xf1, 0xcf, 0xfd, 0x4c, 0x42, 0xda, + 0x80, 0x63, 0x4c, 0xa3, 0xa0, 0xb4, 0xd3, 0xd1, 0xe6, 0xcc, 0xde, 0x81, 0xf1, 0xa0, 0x59, 0x2b, + 0xef, 0x25, 0xf9, 0xde, 0x19, 0xfe, 0x04, 0xc1, 0x98, 0x3f, 0xe1, 0x42, 0xcc, 0x66, 0xe1, 0x10, + 0xad, 0xb8, 0x80, 0x17, 0xdd, 0xb7, 0x0d, 0x2f, 0x06, 0xd0, 0x25, 0x3b, 0x80, 0xee, 0x47, 0x04, + 0x27, 0x9a, 0xa1, 0x5b, 0xac, 0x87, 0x45, 0xbb, 0x1d, 0x9c, 0x62, 0x52, 0x24, 0x43, 0x92, 0x22, + 0x40, 0xa7, 0xab, 0x03, 0x74, 0x3e, 0x46, 0x80, 0x3d, 0x02, 0x6e, 0x0d, 0x5c, 0x04, 0xf0, 0x1a, + 0x1a, 0x8d, 0xea, 0x68, 0x48, 0x15, 0x70, 0xdc, 0x9d, 0xba, 0xe6,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, 0x9c, 0x20, + 0x1f, 0xc5, 0xcf, 0xb7, 0x40, 0x8e, 0xbf, 0x42, 0x70, 0x34, 0x24, 0x40, 0xf8, 0x74, 0xbc, 0x68, + 0xee, 0x26, 0x05, 0xce, 0x10, 0x9c, 0x32, 0x9e, 0x6e, 0x95, 0x02, 0xf2, 0x3d, 0x7f, 0xd7, 0xdb, + 0xc4, 0x8f, 0x11, 0xa4, 0x5b, 0xaf, 0xdf, 0xf8, 0xa5, 0x18, 0x78, 0xc4, 0xb5, 0x7d, 0x87, 0x74, + 0x96, 0x09, 0x9d, 0x57, 0xf1, 0xcb, 0xb1, 0xe8, 0x88, 0x29, 0xf4, 0x03, 0x02, 0x2c, 0xee, 0x02, + 0x38, 0x32, 0x85, 0x85, 0x05, 0x33, 0x3a, 0x79, 0xc4, 0x05, 0x4c, 0xba, 0x42, 0x58, 0xbc, 0x86, + 0x97, 0x77, 0xc7, 0xa2, 0x71, 0x42, 0x37, 0xaa, 0x9b, 0xf8, 0x4f, 0x04, 0xc3, 0x4d, 0x37, 0x1b, + 0xfc, 0x62, 0x1c, 0x84, 0xfc, 0xb2, 0x97, 0x9a, 0xdf, 0x81, 0x24, 0xa5, 0x78, 0x99, 0x50, 0xcc, + 0xe3, 0x45, 0x81, 0x22, 0x5d, 0x81, 0x62, 0xd0, 0xfb, 0x17, 0x41, 0xb6, 0xad, 0x11, 0x12, 0xe7, + 0xa3, 0x00, 0xb7, 0x33, 0x46, 0xa7, 0x96, 0x76, 0xa9, 0x85, 0xba, 0xe0, 0x02, 0x71, 0xc1, 0x59, + 0x3c, 0x27, 0xb8, 0xc0, 0x1b, 0x80, 0x18, 0x47, 0xb1, 0x02, 0xbf, 0xe7, 0x32, 0xd4, 0xb3, 0x17, + 0x9d, 0xa1, 0xc2, 0x2c, 0x1a, 0x9d, 0xa1, 0xe2, 0x94, 0x27, 0xad, 0x10, 0xec, 0x97, 0xf0, 0xd2, + 0x4e, 0xb0, 0x8b, 0xe5, 0xf6, 0xad, 0xd3, 0xb1, 0xc5, 0xc9, 0x06, 0x47, 0xb6, 0x81, 0xb0, 0xe9, + 0x2d, 0x75, 0x26, 0xa6, 0x14, 0x65, 0xf5, 0x0a, 0x61, 0x35, 0x8f, 0xcf, 0x85, 0x24, 0x65, 0xa0, + 0xf2, 0xc2, 0x83, 0xf2, 0x2e, 0xf4, 0x30, 0x0b, 0x78, 0x32, 0x1a, 0x83, 0x03, 0x76, 0x2a, 0xfa, + 0x20, 0xc5, 0x37, 0x46, 0xf0, 0xa5, 0xf0, 0x90, 0x80, 0x8f, 0x22, 0x5a, 0xbc, 0xfc, 0x70, 0x2b, + 0x8d, 0x1e, 0x6d, 0xa5, 0xd1, 0x5f, 0x5b, 0x69, 0xf4, 0xc1, 0x76, 0x3a, 0xf1, 0x68, 0x3b, 0x9d, + 0xf8, 0x6d, 0x3b, 0x9d, 0xb8, 0x7e, 0x8a, 0xfb, 0x06, 0x41, 0xa4, 0xa7, 0xab, 0x86, 0xae, 0xd5, + 0xbd, 0x3f, 0xa0, 0xdc, 0xf5, 0x1e, 0xc9, 0x17, 0x89, 0xe2, 0x7e, 0xf2, 0x47, 0x94, 0xd3, 0xff, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x46, 0x32, 0xb5, 0xa9, 0x1a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1362,10 +1221,6 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Query paginated alliances Alliances(ctx context.Context, in *QueryAlliancesRequest, opts ...grpc.CallOption) (*QueryAlliancesResponse, error) - // Query a specific alliance by ibc hash - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/ibc%2Falliance - IBCAlliance(ctx context.Context, in *QueryIBCAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) // Query all paginated alliance delegations AllAlliancesDelegations(ctx context.Context, in *QueryAllAlliancesDelegationsRequest, opts ...grpc.CallOption) (*QueryAlliancesDelegationsResponse, error) // Query alliance validator @@ -1378,17 +1233,9 @@ type QueryClient interface { AlliancesDelegationByValidator(ctx context.Context, in *QueryAlliancesDelegationByValidatorRequest, opts ...grpc.CallOption) (*QueryAlliancesDelegationsResponse, error) // Query a delegation to an alliance by delegator addr, validator_addr and denom AllianceDelegation(ctx context.Context, in *QueryAllianceDelegationRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationResponse, error) - // Query a delegation to an alliance by delegator addr, validator_addr and denom - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance - IBCAllianceDelegation(ctx context.Context, in *QueryIBCAllianceDelegationRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationResponse, error) // Query for rewards by delegator addr, validator_addr and denom AllianceDelegationRewards(ctx context.Context, in *QueryAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error) // Query for rewards by delegator addr, validator_addr and denom - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance - IBCAllianceDelegationRewards(ctx context.Context, in *QueryIBCAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error) - // Query for rewards by delegator addr, validator_addr and denom AllianceUnbondingsByDenomAndDelegator(ctx context.Context, in *QueryAllianceUnbondingsByDenomAndDelegatorRequest, opts ...grpc.CallOption) (*QueryAllianceUnbondingsByDenomAndDelegatorResponse, error) // Query for rewards by delegator addr, validator_addr and denom AllianceUnbondings(ctx context.Context, in *QueryAllianceUnbondingsRequest, opts ...grpc.CallOption) (*QueryAllianceUnbondingsResponse, error) @@ -1424,16 +1271,6 @@ func (c *queryClient) Alliances(ctx context.Context, in *QueryAlliancesRequest, return out, nil } -// Deprecated: Do not use. -func (c *queryClient) IBCAlliance(ctx context.Context, in *QueryIBCAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) { - out := new(QueryAllianceResponse) - err := c.cc.Invoke(ctx, "/alliance.alliance.Query/IBCAlliance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) AllAlliancesDelegations(ctx context.Context, in *QueryAllAlliancesDelegationsRequest, opts ...grpc.CallOption) (*QueryAlliancesDelegationsResponse, error) { out := new(QueryAlliancesDelegationsResponse) err := c.cc.Invoke(ctx, "/alliance.alliance.Query/AllAlliancesDelegations", in, out, opts...) @@ -1488,16 +1325,6 @@ func (c *queryClient) AllianceDelegation(ctx context.Context, in *QueryAllianceD return out, nil } -// Deprecated: Do not use. -func (c *queryClient) IBCAllianceDelegation(ctx context.Context, in *QueryIBCAllianceDelegationRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationResponse, error) { - out := new(QueryAllianceDelegationResponse) - err := c.cc.Invoke(ctx, "/alliance.alliance.Query/IBCAllianceDelegation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) AllianceDelegationRewards(ctx context.Context, in *QueryAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error) { out := new(QueryAllianceDelegationRewardsResponse) err := c.cc.Invoke(ctx, "/alliance.alliance.Query/AllianceDelegationRewards", in, out, opts...) @@ -1507,16 +1334,6 @@ func (c *queryClient) AllianceDelegationRewards(ctx context.Context, in *QueryAl return out, nil } -// Deprecated: Do not use. -func (c *queryClient) IBCAllianceDelegationRewards(ctx context.Context, in *QueryIBCAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error) { - out := new(QueryAllianceDelegationRewardsResponse) - err := c.cc.Invoke(ctx, "/alliance.alliance.Query/IBCAllianceDelegationRewards", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) AllianceUnbondingsByDenomAndDelegator(ctx context.Context, in *QueryAllianceUnbondingsByDenomAndDelegatorRequest, opts ...grpc.CallOption) (*QueryAllianceUnbondingsByDenomAndDelegatorResponse, error) { out := new(QueryAllianceUnbondingsByDenomAndDelegatorResponse) err := c.cc.Invoke(ctx, "/alliance.alliance.Query/AllianceUnbondingsByDenomAndDelegator", in, out, opts...) @@ -1558,10 +1375,6 @@ type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Query paginated alliances Alliances(context.Context, *QueryAlliancesRequest) (*QueryAlliancesResponse, error) - // Query a specific alliance by ibc hash - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/ibc%2Falliance - IBCAlliance(context.Context, *QueryIBCAllianceRequest) (*QueryAllianceResponse, error) // Query all paginated alliance delegations AllAlliancesDelegations(context.Context, *QueryAllAlliancesDelegationsRequest) (*QueryAlliancesDelegationsResponse, error) // Query alliance validator @@ -1574,17 +1387,9 @@ type QueryServer interface { AlliancesDelegationByValidator(context.Context, *QueryAlliancesDelegationByValidatorRequest) (*QueryAlliancesDelegationsResponse, error) // Query a delegation to an alliance by delegator addr, validator_addr and denom AllianceDelegation(context.Context, *QueryAllianceDelegationRequest) (*QueryAllianceDelegationResponse, error) - // Query a delegation to an alliance by delegator addr, validator_addr and denom - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance - IBCAllianceDelegation(context.Context, *QueryIBCAllianceDelegationRequest) (*QueryAllianceDelegationResponse, error) // Query for rewards by delegator addr, validator_addr and denom AllianceDelegationRewards(context.Context, *QueryAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) // Query for rewards by delegator addr, validator_addr and denom - // @deprecated: this endpoint will be replaced for by the encoded version - // of the denom e.g.: GET:/terra/alliances/terradr1231/terravaloper41234/ibc%2Falliance - IBCAllianceDelegationRewards(context.Context, *QueryIBCAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) - // Query for rewards by delegator addr, validator_addr and denom AllianceUnbondingsByDenomAndDelegator(context.Context, *QueryAllianceUnbondingsByDenomAndDelegatorRequest) (*QueryAllianceUnbondingsByDenomAndDelegatorResponse, error) // Query for rewards by delegator addr, validator_addr and denom AllianceUnbondings(context.Context, *QueryAllianceUnbondingsRequest) (*QueryAllianceUnbondingsResponse, error) @@ -1604,9 +1409,6 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) Alliances(ctx context.Context, req *QueryAlliancesRequest) (*QueryAlliancesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Alliances not implemented") } -func (*UnimplementedQueryServer) IBCAlliance(ctx context.Context, req *QueryIBCAllianceRequest) (*QueryAllianceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IBCAlliance not implemented") -} func (*UnimplementedQueryServer) AllAlliancesDelegations(ctx context.Context, req *QueryAllAlliancesDelegationsRequest) (*QueryAlliancesDelegationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllAlliancesDelegations not implemented") } @@ -1625,15 +1427,9 @@ func (*UnimplementedQueryServer) AlliancesDelegationByValidator(ctx context.Cont func (*UnimplementedQueryServer) AllianceDelegation(ctx context.Context, req *QueryAllianceDelegationRequest) (*QueryAllianceDelegationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllianceDelegation not implemented") } -func (*UnimplementedQueryServer) IBCAllianceDelegation(ctx context.Context, req *QueryIBCAllianceDelegationRequest) (*QueryAllianceDelegationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IBCAllianceDelegation not implemented") -} func (*UnimplementedQueryServer) AllianceDelegationRewards(ctx context.Context, req *QueryAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllianceDelegationRewards not implemented") } -func (*UnimplementedQueryServer) IBCAllianceDelegationRewards(ctx context.Context, req *QueryIBCAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IBCAllianceDelegationRewards not implemented") -} func (*UnimplementedQueryServer) AllianceUnbondingsByDenomAndDelegator(ctx context.Context, req *QueryAllianceUnbondingsByDenomAndDelegatorRequest) (*QueryAllianceUnbondingsByDenomAndDelegatorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllianceUnbondingsByDenomAndDelegator not implemented") } @@ -1687,24 +1483,6 @@ func _Query_Alliances_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } -func _Query_IBCAlliance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryIBCAllianceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).IBCAlliance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/alliance.alliance.Query/IBCAlliance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).IBCAlliance(ctx, req.(*QueryIBCAllianceRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_AllAlliancesDelegations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryAllAlliancesDelegationsRequest) if err := dec(in); err != nil { @@ -1813,24 +1591,6 @@ func _Query_AllianceDelegation_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } -func _Query_IBCAllianceDelegation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryIBCAllianceDelegationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).IBCAllianceDelegation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/alliance.alliance.Query/IBCAllianceDelegation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).IBCAllianceDelegation(ctx, req.(*QueryIBCAllianceDelegationRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_AllianceDelegationRewards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryAllianceDelegationRewardsRequest) if err := dec(in); err != nil { @@ -1849,24 +1609,6 @@ func _Query_AllianceDelegationRewards_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } -func _Query_IBCAllianceDelegationRewards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryIBCAllianceDelegationRewardsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).IBCAllianceDelegationRewards(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/alliance.alliance.Query/IBCAllianceDelegationRewards", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).IBCAllianceDelegationRewards(ctx, req.(*QueryIBCAllianceDelegationRewardsRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_AllianceUnbondingsByDenomAndDelegator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryAllianceUnbondingsByDenomAndDelegatorRequest) if err := dec(in); err != nil { @@ -1951,10 +1693,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "Alliances", Handler: _Query_Alliances_Handler, }, - { - MethodName: "IBCAlliance", - Handler: _Query_IBCAlliance_Handler, - }, { MethodName: "AllAlliancesDelegations", Handler: _Query_AllAlliancesDelegations_Handler, @@ -1979,18 +1717,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "AllianceDelegation", Handler: _Query_AllianceDelegation_Handler, }, - { - MethodName: "IBCAllianceDelegation", - Handler: _Query_IBCAllianceDelegation_Handler, - }, { MethodName: "AllianceDelegationRewards", Handler: _Query_AllianceDelegationRewards_Handler, }, - { - MethodName: "IBCAllianceDelegationRewards", - Handler: _Query_IBCAllianceDelegationRewards_Handler, - }, { MethodName: "AllianceUnbondingsByDenomAndDelegator", Handler: _Query_AllianceUnbondingsByDenomAndDelegator_Handler, @@ -2217,36 +1947,6 @@ func (m *QueryAllianceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryIBCAllianceRequest) 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 *QueryIBCAllianceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryIBCAllianceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - i -= len(m.Hash) - copy(dAtA[i:], m.Hash) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Hash))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *QueryAllianceValidatorRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2586,7 +2286,40 @@ func (m *QueryAllianceDelegationRequest) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *QueryIBCAllianceDelegationRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllianceDelegationResponse) 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 *QueryAllianceDelegationResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllianceDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Delegation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryAllianceDelegationRewardsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2596,12 +2329,12 @@ func (m *QueryIBCAllianceDelegationRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryIBCAllianceDelegationRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllianceDelegationRewardsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryIBCAllianceDelegationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllianceDelegationRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2618,10 +2351,10 @@ func (m *QueryIBCAllianceDelegationRequest) MarshalToSizedBuffer(dAtA []byte) (i i-- dAtA[i] = 0x22 } - if len(m.Hash) > 0 { - i -= len(m.Hash) - copy(dAtA[i:], m.Hash) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Hash))) + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) i-- dAtA[i] = 0x1a } @@ -2642,7 +2375,7 @@ func (m *QueryIBCAllianceDelegationRequest) MarshalToSizedBuffer(dAtA []byte) (i return len(dAtA) - i, nil } -func (m *QueryAllianceDelegationResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllianceDelegationRewardsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2652,157 +2385,12 @@ func (m *QueryAllianceDelegationResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllianceDelegationResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllianceDelegationRewardsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllianceDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Delegation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryAllianceDelegationRewardsRequest) 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 *QueryAllianceDelegationRewardsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllianceDelegationRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = 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] = 0x22 - } - if len(m.Denom) > 0 { - i -= len(m.Denom) - copy(dAtA[i:], m.Denom) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) - i-- - dAtA[i] = 0x1a - } - if len(m.ValidatorAddr) > 0 { - i -= len(m.ValidatorAddr) - copy(dAtA[i:], m.ValidatorAddr) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ValidatorAddr))) - i-- - dAtA[i] = 0x12 - } - if len(m.DelegatorAddr) > 0 { - i -= len(m.DelegatorAddr) - copy(dAtA[i:], m.DelegatorAddr) - i = encodeVarintQuery(dAtA, i, uint64(len(m.DelegatorAddr))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryIBCAllianceDelegationRewardsRequest) 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 *QueryIBCAllianceDelegationRewardsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryIBCAllianceDelegationRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = 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] = 0x22 - } - if len(m.Hash) > 0 { - i -= len(m.Hash) - copy(dAtA[i:], m.Hash) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Hash))) - i-- - dAtA[i] = 0x1a - } - if len(m.ValidatorAddr) > 0 { - i -= len(m.ValidatorAddr) - copy(dAtA[i:], m.ValidatorAddr) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ValidatorAddr))) - i-- - dAtA[i] = 0x12 - } - if len(m.DelegatorAddr) > 0 { - i -= len(m.DelegatorAddr) - copy(dAtA[i:], m.DelegatorAddr) - i = encodeVarintQuery(dAtA, i, uint64(len(m.DelegatorAddr))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryAllianceDelegationRewardsResponse) 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 *QueryAllianceDelegationRewardsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllianceDelegationRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllianceDelegationRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3335,19 +2923,6 @@ func (m *QueryAllianceResponse) Size() (n int) { return n } -func (m *QueryIBCAllianceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - func (m *QueryAllianceValidatorRequest) Size() (n int) { if m == nil { return 0 @@ -3482,31 +3057,6 @@ func (m *QueryAllianceDelegationRequest) Size() (n int) { return n } -func (m *QueryIBCAllianceDelegationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DelegatorAddr) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.ValidatorAddr) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - func (m *QueryAllianceDelegationResponse) Size() (n int) { if m == nil { return 0 @@ -3543,31 +3093,6 @@ func (m *QueryAllianceDelegationRewardsRequest) Size() (n int) { return n } -func (m *QueryIBCAllianceDelegationRewardsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DelegatorAddr) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.ValidatorAddr) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - func (m *QueryAllianceDelegationRewardsResponse) Size() (n int) { if m == nil { return 0 @@ -4270,7 +3795,7 @@ func (m *QueryAllianceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryIBCAllianceRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllianceValidatorRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4293,15 +3818,15 @@ func (m *QueryIBCAllianceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryIBCAllianceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllianceValidatorRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryIBCAllianceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllianceValidatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddr", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4329,7 +3854,7 @@ func (m *QueryIBCAllianceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Hash = string(dAtA[iNdEx:postIndex]) + m.ValidatorAddr = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -4352,7 +3877,7 @@ func (m *QueryIBCAllianceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllianceValidatorRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllAllianceValidatorsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4375,17 +3900,17 @@ func (m *QueryAllianceValidatorRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllianceValidatorRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllAllianceValidatorsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllianceValidatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllAllianceValidatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddr", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -4395,23 +3920,27 @@ func (m *QueryAllianceValidatorRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.ValidatorAddr = string(dAtA[iNdEx:postIndex]) + 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 @@ -4434,7 +3963,7 @@ func (m *QueryAllianceValidatorRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAllianceValidatorsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4457,10 +3986,10 @@ func (m *QueryAllAllianceValidatorsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAllianceValidatorsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllAlliancesDelegationsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAllianceValidatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllAlliancesDelegationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4520,7 +4049,7 @@ func (m *QueryAllAllianceValidatorsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4543,17 +4072,17 @@ func (m *QueryAllAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAlliancesDelegationsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAlliancesDelegationsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAlliancesDelegationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAlliancesDelegationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddr", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -4563,109 +4092,23 @@ func (m *QueryAllAlliancesDelegationsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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:]) - 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 *QueryAlliancesDelegationsRequest) 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: QueryAlliancesDelegationsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAlliancesDelegationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddr", 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.DelegatorAddr = string(dAtA[iNdEx:postIndex]) + m.DelegatorAddr = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5292,188 +4735,6 @@ func (m *QueryAllianceDelegationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryIBCAllianceDelegationRequest) 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: QueryIBCAllianceDelegationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryIBCAllianceDelegationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddr", 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.DelegatorAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddr", 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.ValidatorAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", 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.Hash = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - 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.PageRequest{} - } - if err := m.Pagination.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 (m *QueryAllianceDelegationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5739,188 +5000,6 @@ func (m *QueryAllianceDelegationRewardsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryIBCAllianceDelegationRewardsRequest) 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: QueryIBCAllianceDelegationRewardsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryIBCAllianceDelegationRewardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddr", 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.DelegatorAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddr", 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.ValidatorAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", 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.Hash = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - 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.PageRequest{} - } - if err := m.Pagination.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 (m *QueryAllianceDelegationRewardsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/alliance/types/query.pb.gw.go b/x/alliance/types/query.pb.gw.go index 88100a89..14f68ff6 100644 --- a/x/alliance/types/query.pb.gw.go +++ b/x/alliance/types/query.pb.gw.go @@ -87,60 +87,6 @@ func local_request_Query_Alliances_0(ctx context.Context, marshaler runtime.Mars } -func request_Query_IBCAlliance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryIBCAllianceRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["hash"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "hash") - } - - protoReq.Hash, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err) - } - - msg, err := client.IBCAlliance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_IBCAlliance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryIBCAllianceRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["hash"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "hash") - } - - protoReq.Hash, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err) - } - - msg, err := server.IBCAlliance(ctx, &protoReq) - return msg, metadata, err - -} - var ( filter_Query_AllAlliancesDelegations_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) @@ -549,122 +495,6 @@ func local_request_Query_AllianceDelegation_0(ctx context.Context, marshaler run } -var ( - filter_Query_IBCAllianceDelegation_0 = &utilities.DoubleArray{Encoding: map[string]int{"delegator_addr": 0, "validator_addr": 1, "hash": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_Query_IBCAllianceDelegation_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryIBCAllianceDelegationRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["delegator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "delegator_addr") - } - - protoReq.DelegatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "delegator_addr", err) - } - - val, ok = pathParams["validator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "validator_addr") - } - - protoReq.ValidatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "validator_addr", err) - } - - val, ok = pathParams["hash"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "hash") - } - - protoReq.Hash, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IBCAllianceDelegation_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.IBCAllianceDelegation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_IBCAllianceDelegation_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryIBCAllianceDelegationRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["delegator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "delegator_addr") - } - - protoReq.DelegatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "delegator_addr", err) - } - - val, ok = pathParams["validator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "validator_addr") - } - - protoReq.ValidatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "validator_addr", err) - } - - val, ok = pathParams["hash"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "hash") - } - - protoReq.Hash, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IBCAllianceDelegation_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.IBCAllianceDelegation(ctx, &protoReq) - return msg, metadata, err - -} - var ( filter_Query_AllianceDelegationRewards_0 = &utilities.DoubleArray{Encoding: map[string]int{"delegator_addr": 0, "validator_addr": 1, "denom": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} ) @@ -781,122 +611,6 @@ func local_request_Query_AllianceDelegationRewards_0(ctx context.Context, marsha } -var ( - filter_Query_IBCAllianceDelegationRewards_0 = &utilities.DoubleArray{Encoding: map[string]int{"delegator_addr": 0, "validator_addr": 1, "hash": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_Query_IBCAllianceDelegationRewards_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryIBCAllianceDelegationRewardsRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["delegator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "delegator_addr") - } - - protoReq.DelegatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "delegator_addr", err) - } - - val, ok = pathParams["validator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "validator_addr") - } - - protoReq.ValidatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "validator_addr", err) - } - - val, ok = pathParams["hash"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "hash") - } - - protoReq.Hash, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IBCAllianceDelegationRewards_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.IBCAllianceDelegationRewards(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_IBCAllianceDelegationRewards_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryIBCAllianceDelegationRewardsRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["delegator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "delegator_addr") - } - - protoReq.DelegatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "delegator_addr", err) - } - - val, ok = pathParams["validator_addr"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "validator_addr") - } - - protoReq.ValidatorAddr, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "validator_addr", err) - } - - val, ok = pathParams["hash"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "hash") - } - - protoReq.Hash, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IBCAllianceDelegationRewards_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.IBCAllianceDelegationRewards(ctx, &protoReq) - return msg, metadata, err - -} - var ( filter_Query_AllianceUnbondingsByDenomAndDelegator_0 = &utilities.DoubleArray{Encoding: map[string]int{"denom": 0, "delegator_addr": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} ) @@ -1307,29 +1021,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_IBCAlliance_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_IBCAlliance_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_IBCAlliance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_AllAlliancesDelegations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1468,29 +1159,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_IBCAllianceDelegation_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_IBCAllianceDelegation_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_IBCAllianceDelegation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_AllianceDelegationRewards_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1514,29 +1182,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_IBCAllianceDelegationRewards_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_IBCAllianceDelegationRewards_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_IBCAllianceDelegationRewards_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_AllianceUnbondingsByDenomAndDelegator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1710,26 +1355,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_IBCAlliance_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_IBCAlliance_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_IBCAlliance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_AllAlliancesDelegations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1850,26 +1475,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_IBCAllianceDelegation_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_IBCAllianceDelegation_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_IBCAllianceDelegation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_AllianceDelegationRewards_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1890,26 +1495,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_IBCAllianceDelegationRewards_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_IBCAllianceDelegationRewards_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_IBCAllianceDelegationRewards_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_AllianceUnbondingsByDenomAndDelegator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1998,8 +1583,6 @@ var ( pattern_Query_Alliances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"terra", "alliances"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_IBCAlliance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"terra", "alliances", "ibc", "hash"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllAlliancesDelegations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"terra", "alliances", "delegations"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AllianceValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"terra", "alliances", "validators", "validator_addr"}, "", runtime.AssumeColonVerbOpt(false))) @@ -2012,12 +1595,8 @@ var ( pattern_Query_AllianceDelegation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"terra", "alliances", "delegations", "delegator_addr", "validator_addr", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_IBCAllianceDelegation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"terra", "alliances", "delegations", "delegator_addr", "validator_addr", "ibc", "hash"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllianceDelegationRewards_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"terra", "alliances", "rewards", "delegator_addr", "validator_addr", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_IBCAllianceDelegationRewards_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"terra", "alliances", "rewards", "delegator_addr", "validator_addr", "ibc", "hash"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllianceUnbondingsByDenomAndDelegator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"terra", "alliances", "unbondings", "denom", "delegator_addr"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AllianceUnbondings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"terra", "alliances", "unbondings", "denom", "delegator_addr", "validator_addr"}, "", runtime.AssumeColonVerbOpt(false))) @@ -2032,8 +1611,6 @@ var ( forward_Query_Alliances_0 = runtime.ForwardResponseMessage - forward_Query_IBCAlliance_0 = runtime.ForwardResponseMessage - forward_Query_AllAlliancesDelegations_0 = runtime.ForwardResponseMessage forward_Query_AllianceValidator_0 = runtime.ForwardResponseMessage @@ -2046,12 +1623,8 @@ var ( forward_Query_AllianceDelegation_0 = runtime.ForwardResponseMessage - forward_Query_IBCAllianceDelegation_0 = runtime.ForwardResponseMessage - forward_Query_AllianceDelegationRewards_0 = runtime.ForwardResponseMessage - forward_Query_IBCAllianceDelegationRewards_0 = runtime.ForwardResponseMessage - forward_Query_AllianceUnbondingsByDenomAndDelegator_0 = runtime.ForwardResponseMessage forward_Query_AllianceUnbondings_0 = runtime.ForwardResponseMessage