diff --git a/changelog.md b/changelog.md index 39d074df0a..fa309b1588 100644 --- a/changelog.md +++ b/changelog.md @@ -13,6 +13,7 @@ * [4070](https://github.com/zeta-chain/node/pull/4070) - remove support for v1 revert address for BTC * [4144](https://github.com/zeta-chain/node/pull/4144) - standardize structured logging for zetaclient * [4180](https://github.com/zeta-chain/node/pull/4180) - remove unused loggers and log fields +* [4200](https://github.com/zeta-chain/node/pull/4200) - remove `LastBlockHeight` state variable ### Fixes diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index f1ac3e3438..a38d20e319 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -27322,85 +27322,6 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/lastBlockHeight: - get: - summary: Queries a list of lastBlockHeight items. - operationId: LastBlockHeightAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetachain.zetacore.crosschain.QueryAllLastBlockHeightResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/google.rpc.Status' - parameters: - - name: pagination.key - description: |- - key is a value returned in PageResponse.next_key to begin - querying the next page most efficiently. Only one of offset or key - should be set. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - offset is a numeric offset that can be used when key is unavailable. - It is less efficient than using key. Only one of offset or key should - be set. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - limit is the total number of results to be returned in the result page. - If left empty it will default to a value to be set by each app. - in: query - required: false - type: string - format: uint64 - - name: pagination.countTotal - description: |- - count_total is set to true to indicate that the result set should include - a count of the total number of items available for pagination in UIs. - count_total is only respected when offset is used. It is ignored when key - is set. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. - - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/lastBlockHeight/{index}: - get: - summary: Queries a lastBlockHeight by index. - operationId: LastBlockHeight - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetachain.zetacore.crosschain.QueryGetLastBlockHeightResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/google.rpc.Status' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query /zeta-chain/crosschain/lastZetaHeight: get: summary: Queries a list of lastMetaHeight items. @@ -54431,21 +54352,6 @@ definitions: type: string coinType: $ref: '#/definitions/zetachain.zetacore.pkg.coin.CoinType' - zetachain.zetacore.crosschain.LastBlockHeight: - type: object - properties: - creator: - type: string - index: - type: string - chain: - type: string - lastInboundHeight: - type: string - format: uint64 - lastOutboundHeight: - type: string - format: uint64 zetachain.zetacore.crosschain.MsgAbortStuckCCTXResponse: type: object zetachain.zetacore.crosschain.MsgAddInboundTrackerResponse: @@ -54617,16 +54523,6 @@ definitions: $ref: '#/definitions/zetachain.zetacore.crosschain.InboundTracker' pagination: $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' - zetachain.zetacore.crosschain.QueryAllLastBlockHeightResponse: - type: object - properties: - LastBlockHeight: - type: array - items: - type: object - $ref: '#/definitions/zetachain.zetacore.crosschain.LastBlockHeight' - pagination: - $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' zetachain.zetacore.crosschain.QueryAllOutboundTrackerByChainResponse: type: object properties: @@ -54672,11 +54568,6 @@ definitions: properties: inboundHashToCctx: $ref: '#/definitions/zetachain.zetacore.crosschain.InboundHashToCctx' - zetachain.zetacore.crosschain.QueryGetLastBlockHeightResponse: - type: object - properties: - LastBlockHeight: - $ref: '#/definitions/zetachain.zetacore.crosschain.LastBlockHeight' zetachain.zetacore.crosschain.QueryGetOutboundTrackerResponse: type: object properties: diff --git a/pkg/rpc/clients_crosschain.go b/pkg/rpc/clients_crosschain.go index 0dee3b05a9..8913218eb9 100644 --- a/pkg/rpc/clients_crosschain.go +++ b/pkg/rpc/clients_crosschain.go @@ -12,16 +12,6 @@ import ( // 32MB var maxSizeOption = grpc.MaxCallRecvMsgSize(32 * 1024 * 1024) -// GetLastBlockHeight returns the zetachain block height -func (c *Clients) GetLastBlockHeight(ctx context.Context) (uint64, error) { - resp, err := c.Crosschain.LastBlockHeight(ctx, &types.QueryGetLastBlockHeightRequest{}) - if err != nil { - return 0, errors.Wrap(err, "failed to get block height") - } - - return resp.GetLastBlockHeight().LastInboundHeight, nil -} - // GetBlockHeight returns the zetachain block height func (c *Clients) GetBlockHeight(ctx context.Context) (int64, error) { resp, err := c.Crosschain.LastZetaHeight(ctx, &types.QueryLastZetaHeightRequest{}) diff --git a/proto/zetachain/zetacore/crosschain/genesis.proto b/proto/zetachain/zetacore/crosschain/genesis.proto index da3c9806fa..66463d2ea9 100644 --- a/proto/zetachain/zetacore/crosschain/genesis.proto +++ b/proto/zetachain/zetacore/crosschain/genesis.proto @@ -5,7 +5,6 @@ import "zetachain/zetacore/crosschain/cross_chain_tx.proto"; import "zetachain/zetacore/crosschain/gas_price.proto"; import "zetachain/zetacore/crosschain/inbound_hash_to_cctx.proto"; import "zetachain/zetacore/crosschain/inbound_tracker.proto"; -import "zetachain/zetacore/crosschain/last_block_height.proto"; import "zetachain/zetacore/crosschain/outbound_tracker.proto"; import "zetachain/zetacore/crosschain/rate_limiter_flags.proto"; import "gogoproto/gogo.proto"; @@ -14,11 +13,13 @@ option go_package = "github.com/zeta-chain/node/x/crosschain/types"; // GenesisState defines the crosschain module's genesis state. message GenesisState { + reserved 8; + reserved "lastBlockHeightList"; + repeated OutboundTracker outboundTrackerList = 2 [ (gogoproto.nullable) = false ]; repeated GasPrice gasPriceList = 5; repeated CrossChainTx CrossChainTxs = 7; - repeated LastBlockHeight lastBlockHeightList = 8; repeated InboundHashToCctx inboundHashToCctxList = 9 [ (gogoproto.nullable) = false ]; repeated InboundTracker inbound_tracker_list = 11 diff --git a/proto/zetachain/zetacore/crosschain/last_block_height.proto b/proto/zetachain/zetacore/crosschain/last_block_height.proto deleted file mode 100644 index dcffab7f78..0000000000 --- a/proto/zetachain/zetacore/crosschain/last_block_height.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.crosschain; - -option go_package = "github.com/zeta-chain/node/x/crosschain/types"; - -message LastBlockHeight { - string creator = 1; - string index = 2; - string chain = 3; - uint64 lastInboundHeight = 4; - uint64 lastOutboundHeight = 5; -} diff --git a/proto/zetachain/zetacore/crosschain/query.proto b/proto/zetachain/zetacore/crosschain/query.proto index 0895c46c6c..73225c384c 100644 --- a/proto/zetachain/zetacore/crosschain/query.proto +++ b/proto/zetachain/zetacore/crosschain/query.proto @@ -6,7 +6,6 @@ import "zetachain/zetacore/crosschain/cross_chain_tx.proto"; import "zetachain/zetacore/crosschain/gas_price.proto"; import "zetachain/zetacore/crosschain/inbound_hash_to_cctx.proto"; import "zetachain/zetacore/crosschain/inbound_tracker.proto"; -import "zetachain/zetacore/crosschain/last_block_height.proto"; import "zetachain/zetacore/crosschain/outbound_tracker.proto"; import "zetachain/zetacore/crosschain/rate_limiter_flags.proto"; import "gogoproto/gogo.proto"; @@ -93,18 +92,6 @@ service Query { option (google.api.http).get = "/zeta-chain/crosschain/protocolFee"; } - // Queries a lastBlockHeight by index. - rpc LastBlockHeight(QueryGetLastBlockHeightRequest) - returns (QueryGetLastBlockHeightResponse) { - option (google.api.http).get = - "/zeta-chain/crosschain/lastBlockHeight/{index}"; - } - - // Queries a list of lastBlockHeight items. - rpc LastBlockHeightAll(QueryAllLastBlockHeightRequest) - returns (QueryAllLastBlockHeightResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/lastBlockHeight"; - } // Queries a send by index. rpc Cctx(QueryGetCctxRequest) returns (QueryGetCctxResponse) { option (google.api.http).get = "/zeta-chain/crosschain/cctx/{index}"; @@ -244,19 +231,6 @@ message QueryAllGasPriceResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryGetLastBlockHeightRequest { string index = 1; } - -message QueryGetLastBlockHeightResponse { LastBlockHeight LastBlockHeight = 1; } - -message QueryAllLastBlockHeightRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllLastBlockHeightResponse { - repeated LastBlockHeight LastBlockHeight = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - message QueryGetCctxRequest { string index = 1; } message QueryGetCctxByNonceRequest { diff --git a/testutil/network/genesis_state.go b/testutil/network/genesis_state.go index 1982d8063d..0b6395ad8c 100644 --- a/testutil/network/genesis_state.go +++ b/testutil/network/genesis_state.go @@ -230,12 +230,6 @@ func AddCrosschainData( }, ) } - for i := 0; i < n; i++ { - state.LastBlockHeightList = append( - state.LastBlockHeightList, - &types.LastBlockHeight{Creator: "ANY", Index: strconv.Itoa(i)}, - ) - } for i := 0; i < n; i++ { inboundTracker := types.InboundTracker{ diff --git a/testutil/sample/crosschain.go b/testutil/sample/crosschain.go index bbc05bb49e..0a80e0d603 100644 --- a/testutil/sample/crosschain.go +++ b/testutil/sample/crosschain.go @@ -324,18 +324,6 @@ func CustomCctxsInBlockRange( return cctxs } -func LastBlockHeight(t *testing.T, index string) *types.LastBlockHeight { - r := newRandFromStringSeed(t, index) - - return &types.LastBlockHeight{ - Creator: AccAddress(), - Index: index, - Chain: StringRandom(r, 32), - LastInboundHeight: r.Uint64(), - LastOutboundHeight: r.Uint64(), - } -} - func InboundHashToCctx(t *testing.T, inboundHash string) types.InboundHashToCctx { r := newRandFromStringSeed(t, inboundHash) diff --git a/typescript/zetachain/zetacore/crosschain/genesis_pb.ts b/typescript/zetachain/zetacore/crosschain/genesis_pb.ts index 67e24eac55..f05f2260f2 100644 --- a/typescript/zetachain/zetacore/crosschain/genesis_pb.ts +++ b/typescript/zetachain/zetacore/crosschain/genesis_pb.ts @@ -12,8 +12,6 @@ import type { InboundHashToCctx } from "./inbound_hash_to_cctx_pb"; import { file_zetachain_zetacore_crosschain_inbound_hash_to_cctx } from "./inbound_hash_to_cctx_pb"; import type { InboundTracker } from "./inbound_tracker_pb"; import { file_zetachain_zetacore_crosschain_inbound_tracker } from "./inbound_tracker_pb"; -import type { LastBlockHeight } from "./last_block_height_pb"; -import { file_zetachain_zetacore_crosschain_last_block_height } from "./last_block_height_pb"; import type { OutboundTracker } from "./outbound_tracker_pb"; import { file_zetachain_zetacore_crosschain_outbound_tracker } from "./outbound_tracker_pb"; import type { RateLimiterFlags } from "./rate_limiter_flags_pb"; @@ -25,7 +23,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file zetachain/zetacore/crosschain/genesis.proto. */ export const file_zetachain_zetacore_crosschain_genesis: GenFile = /*@__PURE__*/ - fileDesc("Cit6ZXRhY2hhaW4vemV0YWNvcmUvY3Jvc3NjaGFpbi9nZW5lc2lzLnByb3RvEh16ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbiKoBQoMR2VuZXNpc1N0YXRlElEKE291dGJvdW5kVHJhY2tlckxpc3QYAiADKAsyLi56ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbi5PdXRib3VuZFRyYWNrZXJCBMjeHwASPQoMZ2FzUHJpY2VMaXN0GAUgAygLMicuemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uR2FzUHJpY2USQgoNQ3Jvc3NDaGFpblR4cxgHIAMoCzIrLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLkNyb3NzQ2hhaW5UeBJLChNsYXN0QmxvY2tIZWlnaHRMaXN0GAggAygLMi4uemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uTGFzdEJsb2NrSGVpZ2h0ElUKFWluYm91bmRIYXNoVG9DY3R4TGlzdBgJIAMoCzIwLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLkluYm91bmRIYXNoVG9DY3R4QgTI3h8AElEKFGluYm91bmRfdHJhY2tlcl9saXN0GAsgAygLMi0uemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uSW5ib3VuZFRyYWNrZXJCBMjeHwASTAoPemV0YV9hY2NvdW50aW5nGAwgASgLMi0uemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uWmV0YUFjY291bnRpbmdCBMjeHwASGQoRRmluYWxpemVkSW5ib3VuZHMYECADKAkSUQoScmF0ZV9saW1pdGVyX2ZsYWdzGBEgASgLMi8uemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uUmF0ZUxpbWl0ZXJGbGFnc0IEyN4fABIPCgdjb3VudGVyGBIgASgEQvYBCiFjb20uemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW5CDEdlbmVzaXNQcm90b1ABWi1naXRodWIuY29tL3pldGEtY2hhaW4vbm9kZS94L2Nyb3NzY2hhaW4vdHlwZXOiAgNaWkOqAh1aZXRhY2hhaW4uWmV0YWNvcmUuQ3Jvc3NjaGFpbsoCHVpldGFjaGFpblxaZXRhY29yZVxDcm9zc2NoYWlu4gIpWmV0YWNoYWluXFpldGFjb3JlXENyb3NzY2hhaW5cR1BCTWV0YWRhdGHqAh9aZXRhY2hhaW46OlpldGFjb3JlOjpDcm9zc2NoYWluYgZwcm90bzM", [file_zetachain_zetacore_crosschain_cross_chain_tx, file_zetachain_zetacore_crosschain_gas_price, file_zetachain_zetacore_crosschain_inbound_hash_to_cctx, file_zetachain_zetacore_crosschain_inbound_tracker, file_zetachain_zetacore_crosschain_last_block_height, file_zetachain_zetacore_crosschain_outbound_tracker, file_zetachain_zetacore_crosschain_rate_limiter_flags, file_gogoproto_gogo]); + fileDesc("Cit6ZXRhY2hhaW4vemV0YWNvcmUvY3Jvc3NjaGFpbi9nZW5lc2lzLnByb3RvEh16ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbiL2BAoMR2VuZXNpc1N0YXRlElEKE291dGJvdW5kVHJhY2tlckxpc3QYAiADKAsyLi56ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbi5PdXRib3VuZFRyYWNrZXJCBMjeHwASPQoMZ2FzUHJpY2VMaXN0GAUgAygLMicuemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uR2FzUHJpY2USQgoNQ3Jvc3NDaGFpblR4cxgHIAMoCzIrLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLkNyb3NzQ2hhaW5UeBJVChVpbmJvdW5kSGFzaFRvQ2N0eExpc3QYCSADKAsyMC56ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbi5JbmJvdW5kSGFzaFRvQ2N0eEIEyN4fABJRChRpbmJvdW5kX3RyYWNrZXJfbGlzdBgLIAMoCzItLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLkluYm91bmRUcmFja2VyQgTI3h8AEkwKD3pldGFfYWNjb3VudGluZxgMIAEoCzItLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLlpldGFBY2NvdW50aW5nQgTI3h8AEhkKEUZpbmFsaXplZEluYm91bmRzGBAgAygJElEKEnJhdGVfbGltaXRlcl9mbGFncxgRIAEoCzIvLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLlJhdGVMaW1pdGVyRmxhZ3NCBMjeHwASDwoHY291bnRlchgSIAEoBEoECAgQCVITbGFzdEJsb2NrSGVpZ2h0TGlzdEL2AQohY29tLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluQgxHZW5lc2lzUHJvdG9QAVotZ2l0aHViLmNvbS96ZXRhLWNoYWluL25vZGUveC9jcm9zc2NoYWluL3R5cGVzogIDWlpDqgIdWmV0YWNoYWluLlpldGFjb3JlLkNyb3NzY2hhaW7KAh1aZXRhY2hhaW5cWmV0YWNvcmVcQ3Jvc3NjaGFpbuICKVpldGFjaGFpblxaZXRhY29yZVxDcm9zc2NoYWluXEdQQk1ldGFkYXRh6gIfWmV0YWNoYWluOjpaZXRhY29yZTo6Q3Jvc3NjaGFpbmIGcHJvdG8z", [file_zetachain_zetacore_crosschain_cross_chain_tx, file_zetachain_zetacore_crosschain_gas_price, file_zetachain_zetacore_crosschain_inbound_hash_to_cctx, file_zetachain_zetacore_crosschain_inbound_tracker, file_zetachain_zetacore_crosschain_outbound_tracker, file_zetachain_zetacore_crosschain_rate_limiter_flags, file_gogoproto_gogo]); /** * GenesisState defines the crosschain module's genesis state. @@ -48,11 +46,6 @@ export type GenesisState = Message<"zetachain.zetacore.crosschain.GenesisState"> */ CrossChainTxs: CrossChainTx[]; - /** - * @generated from field: repeated zetachain.zetacore.crosschain.LastBlockHeight lastBlockHeightList = 8; - */ - lastBlockHeightList: LastBlockHeight[]; - /** * @generated from field: repeated zetachain.zetacore.crosschain.InboundHashToCctx inboundHashToCctxList = 9; */ diff --git a/typescript/zetachain/zetacore/crosschain/last_block_height_pb.ts b/typescript/zetachain/zetacore/crosschain/last_block_height_pb.ts deleted file mode 100644 index fbe88c5f63..0000000000 --- a/typescript/zetachain/zetacore/crosschain/last_block_height_pb.ts +++ /dev/null @@ -1,51 +0,0 @@ -// @generated by protoc-gen-es v2.6.3 with parameter "target=ts" -// @generated from file zetachain/zetacore/crosschain/last_block_height.proto (package zetachain.zetacore.crosschain, syntax proto3) -/* eslint-disable */ - -import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; -import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; - -/** - * Describes the file zetachain/zetacore/crosschain/last_block_height.proto. - */ -export const file_zetachain_zetacore_crosschain_last_block_height: GenFile = /*@__PURE__*/ - fileDesc("CjV6ZXRhY2hhaW4vemV0YWNvcmUvY3Jvc3NjaGFpbi9sYXN0X2Jsb2NrX2hlaWdodC5wcm90bxIdemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4idwoPTGFzdEJsb2NrSGVpZ2h0Eg8KB2NyZWF0b3IYASABKAkSDQoFaW5kZXgYAiABKAkSDQoFY2hhaW4YAyABKAkSGQoRbGFzdEluYm91bmRIZWlnaHQYBCABKAQSGgoSbGFzdE91dGJvdW5kSGVpZ2h0GAUgASgEQv4BCiFjb20uemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW5CFExhc3RCbG9ja0hlaWdodFByb3RvUAFaLWdpdGh1Yi5jb20vemV0YS1jaGFpbi9ub2RlL3gvY3Jvc3NjaGFpbi90eXBlc6ICA1paQ6oCHVpldGFjaGFpbi5aZXRhY29yZS5Dcm9zc2NoYWluygIdWmV0YWNoYWluXFpldGFjb3JlXENyb3NzY2hhaW7iAilaZXRhY2hhaW5cWmV0YWNvcmVcQ3Jvc3NjaGFpblxHUEJNZXRhZGF0YeoCH1pldGFjaGFpbjo6WmV0YWNvcmU6OkNyb3NzY2hhaW5iBnByb3RvMw"); - -/** - * @generated from message zetachain.zetacore.crosschain.LastBlockHeight - */ -export type LastBlockHeight = Message<"zetachain.zetacore.crosschain.LastBlockHeight"> & { - /** - * @generated from field: string creator = 1; - */ - creator: string; - - /** - * @generated from field: string index = 2; - */ - index: string; - - /** - * @generated from field: string chain = 3; - */ - chain: string; - - /** - * @generated from field: uint64 lastInboundHeight = 4; - */ - lastInboundHeight: bigint; - - /** - * @generated from field: uint64 lastOutboundHeight = 5; - */ - lastOutboundHeight: bigint; -}; - -/** - * Describes the message zetachain.zetacore.crosschain.LastBlockHeight. - * Use `create(LastBlockHeightSchema)` to create a new message. - */ -export const LastBlockHeightSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_last_block_height, 0); - diff --git a/typescript/zetachain/zetacore/crosschain/query_pb.ts b/typescript/zetachain/zetacore/crosschain/query_pb.ts index 6fae1cd638..b2e83199f3 100644 --- a/typescript/zetachain/zetacore/crosschain/query_pb.ts +++ b/typescript/zetachain/zetacore/crosschain/query_pb.ts @@ -14,8 +14,6 @@ import type { InboundHashToCctx } from "./inbound_hash_to_cctx_pb"; import { file_zetachain_zetacore_crosschain_inbound_hash_to_cctx } from "./inbound_hash_to_cctx_pb"; import type { InboundTracker } from "./inbound_tracker_pb"; import { file_zetachain_zetacore_crosschain_inbound_tracker } from "./inbound_tracker_pb"; -import type { LastBlockHeight } from "./last_block_height_pb"; -import { file_zetachain_zetacore_crosschain_last_block_height } from "./last_block_height_pb"; import type { OutboundTracker } from "./outbound_tracker_pb"; import { file_zetachain_zetacore_crosschain_outbound_tracker } from "./outbound_tracker_pb"; import type { RateLimiterFlags } from "./rate_limiter_flags_pb"; @@ -29,7 +27,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file zetachain/zetacore/crosschain/query.proto. */ export const file_zetachain_zetacore_crosschain_query: GenFile = /*@__PURE__*/ - fileDesc("Cil6ZXRhY2hhaW4vemV0YWNvcmUvY3Jvc3NjaGFpbi9xdWVyeS5wcm90bxIdemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4iHAoaUXVlcnlaZXRhQWNjb3VudGluZ1JlcXVlc3QiOgobUXVlcnlaZXRhQWNjb3VudGluZ1Jlc3BvbnNlEhsKE2Fib3J0ZWRfemV0YV9hbW91bnQYASABKAkiQAoeUXVlcnlHZXRPdXRib3VuZFRyYWNrZXJSZXF1ZXN0Eg8KB2NoYWluSUQYASABKAMSDQoFbm9uY2UYAiABKAQicAofUXVlcnlHZXRPdXRib3VuZFRyYWNrZXJSZXNwb25zZRJNCg9vdXRib3VuZFRyYWNrZXIYASABKAsyLi56ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbi5PdXRib3VuZFRyYWNrZXJCBMjeHwAiXAoeUXVlcnlBbGxPdXRib3VuZFRyYWNrZXJSZXF1ZXN0EjoKCnBhZ2luYXRpb24YASABKAsyJi5jb3Ntb3MuYmFzZS5xdWVyeS52MWJldGExLlBhZ2VSZXF1ZXN0Iq0BCh9RdWVyeUFsbE91dGJvdW5kVHJhY2tlclJlc3BvbnNlEk0KD291dGJvdW5kVHJhY2tlchgBIAMoCzIuLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluLk91dGJvdW5kVHJhY2tlckIEyN4fABI7CgpwYWdpbmF0aW9uGAIgASgLMicuY29zbW9zLmJhc2UucXVlcnkudjFiZXRhMS5QYWdlUmVzcG9uc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Vlc3QaPC56ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbi5RdWVyeVJhdGVMaW1pdGVyRmxhZ3NSZXNwb25zZSIvgtPkkwIpEicvemV0YS1jaGFpbi9jcm9zc2NoYWluL3JhdGVMaW1pdGVyRmxhZ3MSvgEKEFJhdGVMaW1pdGVySW5wdXQSOy56ZXRhY2hhaW4uemV0YWNvcmUuY3Jvc3NjaGFpbi5RdWVyeVJhdGVMaW1pdGVySW5wdXRSZXF1ZXN0GjwuemV0YWNoYWluLnpldGFjb3JlLmNyb3NzY2hhaW4uUXVlcnlSYXRlTGltaXRlcklucHV0UmVzcG9uc2UiL4LT5JMCKRInL3pldGEtY2hhaW4vY3Jvc3NjaGFpbi9yYXRlTGltaXRlcklucHV0GgWA57AqAUL0AQohY29tLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluQgpRdWVyeVByb3RvUAFaLWdpdGh1Yi5jb20vemV0YS1jaGFpbi9ub2RlL3gvY3Jvc3NjaGFpbi90eXBlc6ICA1paQ6oCHVpldGFjaGFpbi5aZXRhY29yZS5Dcm9zc2NoYWluygIdWmV0YWNoYWluXFpldGFjb3JlXENyb3NzY2hhaW7iAilaZXRhY2hhaW5cWmV0YWNvcmVcQ3Jvc3NjaGFpblxHUEJNZXRhZGF0YeoCH1pldGFjaGFpbjo6WmV0YWNvcmU6OkNyb3NzY2hhaW5iBnByb3RvMw", [file_cosmos_base_query_v1beta1_pagination, file_zetachain_zetacore_crosschain_cross_chain_tx, file_zetachain_zetacore_crosschain_gas_price, file_zetachain_zetacore_crosschain_inbound_hash_to_cctx, file_zetachain_zetacore_crosschain_inbound_tracker, file_zetachain_zetacore_crosschain_last_block_height, file_zetachain_zetacore_crosschain_outbound_tracker, file_zetachain_zetacore_crosschain_rate_limiter_flags, file_gogoproto_gogo, file_google_api_annotations, file_cosmos_msg_v1_msg]); + fileDesc("Cil6ZXRhY2hhaW4vemV0YWNvcmUvY3Jvc3NjaGFpbi9xd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haW4vY3Jvc3NjaGFpbi9yYXRlTGltaXRlcklucHV0GgWA57AqAUL0AQohY29tLnpldGFjaGFpbi56ZXRhY29yZS5jcm9zc2NoYWluQgpRdWVyeVByb3RvUAFaLWdpdGh1Yi5jb20vemV0YS1jaGFpbi9ub2RlL3gvY3Jvc3NjaGFpbi90eXBlc6ICA1paQ6oCHVpldGFjaGFpbi5aZXRhY29yZS5Dcm9zc2NoYWluygIdWmV0YWNoYWluXFpldGFjb3JlXENyb3NzY2hhaW7iAilaZXRhY2hhaW5cWmV0YWNvcmVcQ3Jvc3NjaGFpblxHUEJNZXRhZGF0YeoCH1pldGFjaGFpbjo6WmV0YWNvcmU6OkNyb3NzY2hhaW5iBnByb3RvMw", [file_cosmos_base_query_v1beta1_pagination, file_zetachain_zetacore_crosschain_cross_chain_tx, file_zetachain_zetacore_crosschain_gas_price, file_zetachain_zetacore_crosschain_inbound_hash_to_cctx, file_zetachain_zetacore_crosschain_inbound_tracker, file_zetachain_zetacore_crosschain_outbound_tracker, file_zetachain_zetacore_crosschain_rate_limiter_flags, file_gogoproto_gogo, file_google_api_annotations, file_cosmos_msg_v1_msg]); /** * @generated from message zetachain.zetacore.crosschain.QueryZetaAccountingRequest @@ -446,79 +444,6 @@ export type QueryAllGasPriceResponse = Message<"zetachain.zetacore.crosschain.Qu export const QueryAllGasPriceResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_zetachain_zetacore_crosschain_query, 21); -/** - * @generated from message zetachain.zetacore.crosschain.QueryGetLastBlockHeightRequest - */ -export type QueryGetLastBlockHeightRequest = Message<"zetachain.zetacore.crosschain.QueryGetLastBlockHeightRequest"> & { - /** - * @generated from field: string index = 1; - */ - index: string; -}; - -/** - * Describes the message zetachain.zetacore.crosschain.QueryGetLastBlockHeightRequest. - * Use `create(QueryGetLastBlockHeightRequestSchema)` to create a new message. - */ -export const QueryGetLastBlockHeightRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 22); - -/** - * @generated from message zetachain.zetacore.crosschain.QueryGetLastBlockHeightResponse - */ -export type QueryGetLastBlockHeightResponse = Message<"zetachain.zetacore.crosschain.QueryGetLastBlockHeightResponse"> & { - /** - * @generated from field: zetachain.zetacore.crosschain.LastBlockHeight LastBlockHeight = 1; - */ - LastBlockHeight?: LastBlockHeight; -}; - -/** - * Describes the message zetachain.zetacore.crosschain.QueryGetLastBlockHeightResponse. - * Use `create(QueryGetLastBlockHeightResponseSchema)` to create a new message. - */ -export const QueryGetLastBlockHeightResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 23); - -/** - * @generated from message zetachain.zetacore.crosschain.QueryAllLastBlockHeightRequest - */ -export type QueryAllLastBlockHeightRequest = Message<"zetachain.zetacore.crosschain.QueryAllLastBlockHeightRequest"> & { - /** - * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; - */ - pagination?: PageRequest; -}; - -/** - * Describes the message zetachain.zetacore.crosschain.QueryAllLastBlockHeightRequest. - * Use `create(QueryAllLastBlockHeightRequestSchema)` to create a new message. - */ -export const QueryAllLastBlockHeightRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 24); - -/** - * @generated from message zetachain.zetacore.crosschain.QueryAllLastBlockHeightResponse - */ -export type QueryAllLastBlockHeightResponse = Message<"zetachain.zetacore.crosschain.QueryAllLastBlockHeightResponse"> & { - /** - * @generated from field: repeated zetachain.zetacore.crosschain.LastBlockHeight LastBlockHeight = 1; - */ - LastBlockHeight: LastBlockHeight[]; - - /** - * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; - */ - pagination?: PageResponse; -}; - -/** - * Describes the message zetachain.zetacore.crosschain.QueryAllLastBlockHeightResponse. - * Use `create(QueryAllLastBlockHeightResponseSchema)` to create a new message. - */ -export const QueryAllLastBlockHeightResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 25); - /** * @generated from message zetachain.zetacore.crosschain.QueryGetCctxRequest */ @@ -534,7 +459,7 @@ export type QueryGetCctxRequest = Message<"zetachain.zetacore.crosschain.QueryGe * Use `create(QueryGetCctxRequestSchema)` to create a new message. */ export const QueryGetCctxRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 26); + messageDesc(file_zetachain_zetacore_crosschain_query, 22); /** * @generated from message zetachain.zetacore.crosschain.QueryGetCctxByNonceRequest @@ -556,7 +481,7 @@ export type QueryGetCctxByNonceRequest = Message<"zetachain.zetacore.crosschain. * Use `create(QueryGetCctxByNonceRequestSchema)` to create a new message. */ export const QueryGetCctxByNonceRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 27); + messageDesc(file_zetachain_zetacore_crosschain_query, 23); /** * @generated from message zetachain.zetacore.crosschain.QueryGetCctxResponse @@ -573,7 +498,7 @@ export type QueryGetCctxResponse = Message<"zetachain.zetacore.crosschain.QueryG * Use `create(QueryGetCctxResponseSchema)` to create a new message. */ export const QueryGetCctxResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 28); + messageDesc(file_zetachain_zetacore_crosschain_query, 24); /** * @generated from message zetachain.zetacore.crosschain.QueryAllCctxRequest @@ -598,7 +523,7 @@ export type QueryAllCctxRequest = Message<"zetachain.zetacore.crosschain.QueryAl * Use `create(QueryAllCctxRequestSchema)` to create a new message. */ export const QueryAllCctxRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 29); + messageDesc(file_zetachain_zetacore_crosschain_query, 25); /** * @generated from message zetachain.zetacore.crosschain.QueryAllCctxResponse @@ -620,7 +545,7 @@ export type QueryAllCctxResponse = Message<"zetachain.zetacore.crosschain.QueryA * Use `create(QueryAllCctxResponseSchema)` to create a new message. */ export const QueryAllCctxResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 30); + messageDesc(file_zetachain_zetacore_crosschain_query, 26); /** * @generated from message zetachain.zetacore.crosschain.QueryListPendingCctxRequest @@ -642,7 +567,7 @@ export type QueryListPendingCctxRequest = Message<"zetachain.zetacore.crosschain * Use `create(QueryListPendingCctxRequestSchema)` to create a new message. */ export const QueryListPendingCctxRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 31); + messageDesc(file_zetachain_zetacore_crosschain_query, 27); /** * @generated from message zetachain.zetacore.crosschain.QueryListPendingCctxResponse @@ -664,7 +589,7 @@ export type QueryListPendingCctxResponse = Message<"zetachain.zetacore.crosschai * Use `create(QueryListPendingCctxResponseSchema)` to create a new message. */ export const QueryListPendingCctxResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 32); + messageDesc(file_zetachain_zetacore_crosschain_query, 28); /** * @generated from message zetachain.zetacore.crosschain.QueryRateLimiterInputRequest @@ -686,7 +611,7 @@ export type QueryRateLimiterInputRequest = Message<"zetachain.zetacore.crosschai * Use `create(QueryRateLimiterInputRequestSchema)` to create a new message. */ export const QueryRateLimiterInputRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 33); + messageDesc(file_zetachain_zetacore_crosschain_query, 29); /** * @generated from message zetachain.zetacore.crosschain.QueryRateLimiterInputResponse @@ -733,7 +658,7 @@ export type QueryRateLimiterInputResponse = Message<"zetachain.zetacore.crosscha * Use `create(QueryRateLimiterInputResponseSchema)` to create a new message. */ export const QueryRateLimiterInputResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 34); + messageDesc(file_zetachain_zetacore_crosschain_query, 30); /** * @generated from message zetachain.zetacore.crosschain.QueryListPendingCctxWithinRateLimitRequest @@ -750,7 +675,7 @@ export type QueryListPendingCctxWithinRateLimitRequest = Message<"zetachain.zeta * Use `create(QueryListPendingCctxWithinRateLimitRequestSchema)` to create a new message. */ export const QueryListPendingCctxWithinRateLimitRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 35); + messageDesc(file_zetachain_zetacore_crosschain_query, 31); /** * @generated from message zetachain.zetacore.crosschain.QueryListPendingCctxWithinRateLimitResponse @@ -787,7 +712,7 @@ export type QueryListPendingCctxWithinRateLimitResponse = Message<"zetachain.zet * Use `create(QueryListPendingCctxWithinRateLimitResponseSchema)` to create a new message. */ export const QueryListPendingCctxWithinRateLimitResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 36); + messageDesc(file_zetachain_zetacore_crosschain_query, 32); /** * @generated from message zetachain.zetacore.crosschain.QueryLastZetaHeightRequest @@ -800,7 +725,7 @@ export type QueryLastZetaHeightRequest = Message<"zetachain.zetacore.crosschain. * Use `create(QueryLastZetaHeightRequestSchema)` to create a new message. */ export const QueryLastZetaHeightRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 37); + messageDesc(file_zetachain_zetacore_crosschain_query, 33); /** * @generated from message zetachain.zetacore.crosschain.QueryLastZetaHeightResponse @@ -817,7 +742,7 @@ export type QueryLastZetaHeightResponse = Message<"zetachain.zetacore.crosschain * Use `create(QueryLastZetaHeightResponseSchema)` to create a new message. */ export const QueryLastZetaHeightResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 38); + messageDesc(file_zetachain_zetacore_crosschain_query, 34); /** * @generated from message zetachain.zetacore.crosschain.QueryConvertGasToZetaRequest @@ -839,7 +764,7 @@ export type QueryConvertGasToZetaRequest = Message<"zetachain.zetacore.crosschai * Use `create(QueryConvertGasToZetaRequestSchema)` to create a new message. */ export const QueryConvertGasToZetaRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 39); + messageDesc(file_zetachain_zetacore_crosschain_query, 35); /** * @generated from message zetachain.zetacore.crosschain.QueryConvertGasToZetaResponse @@ -866,7 +791,7 @@ export type QueryConvertGasToZetaResponse = Message<"zetachain.zetacore.crosscha * Use `create(QueryConvertGasToZetaResponseSchema)` to create a new message. */ export const QueryConvertGasToZetaResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 40); + messageDesc(file_zetachain_zetacore_crosschain_query, 36); /** * @generated from message zetachain.zetacore.crosschain.QueryMessagePassingProtocolFeeRequest @@ -879,7 +804,7 @@ export type QueryMessagePassingProtocolFeeRequest = Message<"zetachain.zetacore. * Use `create(QueryMessagePassingProtocolFeeRequestSchema)` to create a new message. */ export const QueryMessagePassingProtocolFeeRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 41); + messageDesc(file_zetachain_zetacore_crosschain_query, 37); /** * @generated from message zetachain.zetacore.crosschain.QueryMessagePassingProtocolFeeResponse @@ -896,7 +821,7 @@ export type QueryMessagePassingProtocolFeeResponse = Message<"zetachain.zetacore * Use `create(QueryMessagePassingProtocolFeeResponseSchema)` to create a new message. */ export const QueryMessagePassingProtocolFeeResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 42); + messageDesc(file_zetachain_zetacore_crosschain_query, 38); /** * @generated from message zetachain.zetacore.crosschain.QueryRateLimiterFlagsRequest @@ -909,7 +834,7 @@ export type QueryRateLimiterFlagsRequest = Message<"zetachain.zetacore.crosschai * Use `create(QueryRateLimiterFlagsRequestSchema)` to create a new message. */ export const QueryRateLimiterFlagsRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 43); + messageDesc(file_zetachain_zetacore_crosschain_query, 39); /** * @generated from message zetachain.zetacore.crosschain.QueryRateLimiterFlagsResponse @@ -926,7 +851,7 @@ export type QueryRateLimiterFlagsResponse = Message<"zetachain.zetacore.crosscha * Use `create(QueryRateLimiterFlagsResponseSchema)` to create a new message. */ export const QueryRateLimiterFlagsResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 44); + messageDesc(file_zetachain_zetacore_crosschain_query, 40); /** * @generated from message zetachain.zetacore.crosschain.QueryInboundTrackerRequest @@ -948,7 +873,7 @@ export type QueryInboundTrackerRequest = Message<"zetachain.zetacore.crosschain. * Use `create(QueryInboundTrackerRequestSchema)` to create a new message. */ export const QueryInboundTrackerRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 45); + messageDesc(file_zetachain_zetacore_crosschain_query, 41); /** * @generated from message zetachain.zetacore.crosschain.QueryInboundTrackerResponse @@ -965,7 +890,7 @@ export type QueryInboundTrackerResponse = Message<"zetachain.zetacore.crosschain * Use `create(QueryInboundTrackerResponseSchema)` to create a new message. */ export const QueryInboundTrackerResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_zetachain_zetacore_crosschain_query, 46); + messageDesc(file_zetachain_zetacore_crosschain_query, 42); /** * Query defines the gRPC querier service. @@ -1091,26 +1016,6 @@ export const Query: GenService<{ input: typeof QueryMessagePassingProtocolFeeRequestSchema; output: typeof QueryMessagePassingProtocolFeeResponseSchema; }, - /** - * Queries a lastBlockHeight by index. - * - * @generated from rpc zetachain.zetacore.crosschain.Query.LastBlockHeight - */ - lastBlockHeight: { - methodKind: "unary"; - input: typeof QueryGetLastBlockHeightRequestSchema; - output: typeof QueryGetLastBlockHeightResponseSchema; - }, - /** - * Queries a list of lastBlockHeight items. - * - * @generated from rpc zetachain.zetacore.crosschain.Query.LastBlockHeightAll - */ - lastBlockHeightAll: { - methodKind: "unary"; - input: typeof QueryAllLastBlockHeightRequestSchema; - output: typeof QueryAllLastBlockHeightResponseSchema; - }, /** * Queries a send by index. * diff --git a/x/crosschain/client/cli/cli_last_block_height.go b/x/crosschain/client/cli/cli_last_block_height.go deleted file mode 100644 index f650a2fd31..0000000000 --- a/x/crosschain/client/cli/cli_last_block_height.go +++ /dev/null @@ -1,72 +0,0 @@ -package cli - -import ( - "context" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/spf13/cobra" - - "github.com/zeta-chain/node/x/crosschain/types" -) - -func CmdListLastBlockHeight() *cobra.Command { - cmd := &cobra.Command{ - Use: "list-last-block-height", - Short: "list all lastBlockHeight", - RunE: func(cmd *cobra.Command, _ []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - pageReq, err := client.ReadPageRequest(cmd.Flags()) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - - params := &types.QueryAllLastBlockHeightRequest{ - Pagination: pageReq, - } - - res, err := queryClient.LastBlockHeightAll(context.Background(), params) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddPaginationFlagsToCmd(cmd, cmd.Use) - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func CmdShowLastBlockHeight() *cobra.Command { - cmd := &cobra.Command{ - Use: "show-last-block-height [index]", - Short: "shows a lastBlockHeight", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - queryClient := types.NewQueryClient(clientCtx) - - params := &types.QueryGetLastBlockHeightRequest{ - Index: args[0], - } - - res, err := queryClient.LastBlockHeight(context.Background(), params) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} diff --git a/x/crosschain/genesis.go b/x/crosschain/genesis.go index 41999fa0e6..f7dad5ccef 100644 --- a/x/crosschain/genesis.go +++ b/x/crosschain/genesis.go @@ -34,13 +34,6 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) } } - // Set all the last block heights - for _, elem := range genState.LastBlockHeightList { - if elem != nil { - k.SetLastBlockHeight(ctx, *elem) - } - } - // Set the cross-chain transactions only, // We don't need to call SaveCCTXUpdate as the other fields are being set already for _, elem := range genState.CrossChainTxs { @@ -74,13 +67,6 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { genesis.GasPriceList = append(genesis.GasPriceList, &elem) } - // Get all last block heights - lastBlockHeightList := k.GetAllLastBlockHeight(ctx) - for _, elem := range lastBlockHeightList { - elem := elem - genesis.LastBlockHeightList = append(genesis.LastBlockHeightList, &elem) - } - // Get all send sendList := k.GetAllCrossChainTx(ctx) for _, elem := range sendList { diff --git a/x/crosschain/genesis_test.go b/x/crosschain/genesis_test.go index f63810d5ab..4a76d89f82 100644 --- a/x/crosschain/genesis_test.go +++ b/x/crosschain/genesis_test.go @@ -40,11 +40,6 @@ func TestGenesis(t *testing.T) { sample.CrossChainTx(t, "1"), sample.CrossChainTx(t, "2"), }, - LastBlockHeightList: []*types.LastBlockHeight{ - sample.LastBlockHeight(t, "0"), - sample.LastBlockHeight(t, "1"), - sample.LastBlockHeight(t, "2"), - }, InboundHashToCctxList: []types.InboundHashToCctx{ sample.InboundHashToCctx(t, "0x0"), sample.InboundHashToCctx(t, "0x1"), diff --git a/x/crosschain/keeper/grpc_query_last_block_height.go b/x/crosschain/keeper/grpc_query_last_block_height.go deleted file mode 100644 index 8e4d438f89..0000000000 --- a/x/crosschain/keeper/grpc_query_last_block_height.go +++ /dev/null @@ -1,68 +0,0 @@ -package keeper - -import ( - "context" - "math" - - "cosmossdk.io/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" - - "github.com/zeta-chain/node/x/crosschain/types" -) - -func (k Keeper) LastBlockHeightAll( - c context.Context, - req *types.QueryAllLastBlockHeightRequest, -) (*types.QueryAllLastBlockHeightResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "invalid request") - } - - var lastBlockHeights []*types.LastBlockHeight - ctx := sdk.UnwrapSDKContext(c) - - store := ctx.KVStore(k.storeKey) - lastBlockHeightStore := prefix.NewStore(store, types.KeyPrefix(types.LastBlockHeightKey)) - - pageRes, err := query.Paginate(lastBlockHeightStore, req.Pagination, func(_ []byte, value []byte) error { - var lastBlockHeight types.LastBlockHeight - if err := k.cdc.Unmarshal(value, &lastBlockHeight); err != nil { - return err - } - - lastBlockHeights = append(lastBlockHeights, &lastBlockHeight) - return nil - }) - - if err != nil { - return nil, status.Error(codes.Internal, err.Error()) - } - - return &types.QueryAllLastBlockHeightResponse{LastBlockHeight: lastBlockHeights, Pagination: pageRes}, nil -} - -func (k Keeper) LastBlockHeight( - c context.Context, - req *types.QueryGetLastBlockHeightRequest, -) (*types.QueryGetLastBlockHeightResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "invalid request") - } - ctx := sdk.UnwrapSDKContext(c) - - val, found := k.GetLastBlockHeight(ctx, req.Index) - if !found { - return nil, status.Error(codes.InvalidArgument, "not found") - } - if val.LastOutboundHeight >= math.MaxInt64 { - return nil, status.Error(codes.OutOfRange, "invalid last send height") - } - if val.LastInboundHeight >= math.MaxInt64 { - return nil, status.Error(codes.OutOfRange, "invalid last recv height") - } - - return &types.QueryGetLastBlockHeightResponse{LastBlockHeight: &val}, nil -} diff --git a/x/crosschain/keeper/grpc_query_last_block_height_test.go b/x/crosschain/keeper/grpc_query_last_block_height_test.go deleted file mode 100644 index 2ba8fae76e..0000000000 --- a/x/crosschain/keeper/grpc_query_last_block_height_test.go +++ /dev/null @@ -1,138 +0,0 @@ -package keeper_test - -import ( - "math" - "testing" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/stretchr/testify/require" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" - - keepertest "github.com/zeta-chain/node/testutil/keeper" - "github.com/zeta-chain/node/x/crosschain/types" -) - -func TestLastBlockHeightQuerySingle(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - wctx := sdk.WrapSDKContext(ctx) - msgs := createNLastBlockHeight(k, ctx, 2) - for _, tc := range []struct { - desc string - request *types.QueryGetLastBlockHeightRequest - response *types.QueryGetLastBlockHeightResponse - err error - }{ - { - desc: "First", - request: &types.QueryGetLastBlockHeightRequest{Index: msgs[0].Index}, - response: &types.QueryGetLastBlockHeightResponse{LastBlockHeight: &msgs[0]}, - }, - { - desc: "Second", - request: &types.QueryGetLastBlockHeightRequest{Index: msgs[1].Index}, - response: &types.QueryGetLastBlockHeightResponse{LastBlockHeight: &msgs[1]}, - }, - { - desc: "KeyNotFound", - request: &types.QueryGetLastBlockHeightRequest{Index: "missing"}, - err: status.Error(codes.InvalidArgument, "not found"), - }, - { - desc: "InvalidRequest", - err: status.Error(codes.InvalidArgument, "invalid request"), - }, - } { - tc := tc - t.Run(tc.desc, func(t *testing.T) { - response, err := k.LastBlockHeight(wctx, tc.request) - if tc.err != nil { - require.ErrorIs(t, err, tc.err) - } else { - require.Equal(t, tc.response, response) - } - }) - } -} - -func TestLastBlockHeightLimits(t *testing.T) { - t.Run("should err if last send height is max int", func(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - wctx := sdk.WrapSDKContext(ctx) - k.SetLastBlockHeight(ctx, types.LastBlockHeight{ - Index: "index", - LastOutboundHeight: math.MaxInt64, - }) - - res, err := k.LastBlockHeight(wctx, &types.QueryGetLastBlockHeightRequest{ - Index: "index", - }) - require.Nil(t, res) - require.Error(t, err) - }) - - t.Run("should err if last receive height is max int", func(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - wctx := sdk.WrapSDKContext(ctx) - k.SetLastBlockHeight(ctx, types.LastBlockHeight{ - Index: "index", - LastOutboundHeight: 10, - LastInboundHeight: math.MaxInt64, - }) - - res, err := k.LastBlockHeight(wctx, &types.QueryGetLastBlockHeightRequest{ - Index: "index", - }) - require.Nil(t, res) - require.Error(t, err) - }) -} - -func TestLastBlockHeightQueryPaginated(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - wctx := sdk.WrapSDKContext(ctx) - msgs := createNLastBlockHeight(k, ctx, 5) - - request := func(next []byte, offset, limit uint64, total bool) *types.QueryAllLastBlockHeightRequest { - return &types.QueryAllLastBlockHeightRequest{ - Pagination: &query.PageRequest{ - Key: next, - Offset: offset, - Limit: limit, - CountTotal: total, - }, - } - } - t.Run("ByOffset", func(t *testing.T) { - step := 2 - for i := 0; i < len(msgs); i += step { - resp, err := k.LastBlockHeightAll(wctx, request(nil, uint64(i), uint64(step), false)) - require.NoError(t, err) - for j := i; j < len(msgs) && j < i+step; j++ { - require.Equal(t, &msgs[j], resp.LastBlockHeight[j-i]) - } - } - }) - t.Run("ByKey", func(t *testing.T) { - step := 2 - var next []byte - for i := 0; i < len(msgs); i += step { - resp, err := k.LastBlockHeightAll(wctx, request(next, 0, uint64(step), false)) - require.NoError(t, err) - for j := i; j < len(msgs) && j < i+step; j++ { - require.Equal(t, &msgs[j], resp.LastBlockHeight[j-i]) - } - next = resp.Pagination.NextKey - } - }) - t.Run("Total", func(t *testing.T) { - resp, err := k.LastBlockHeightAll(wctx, request(nil, 0, 0, true)) - require.NoError(t, err) - require.Equal(t, len(msgs), int(resp.Pagination.Total)) - }) - t.Run("InvalidRequest", func(t *testing.T) { - _, err := k.LastBlockHeightAll(wctx, nil) - require.ErrorIs(t, err, status.Error(codes.InvalidArgument, "invalid request")) - }) -} diff --git a/x/crosschain/keeper/last_block_height.go b/x/crosschain/keeper/last_block_height.go deleted file mode 100644 index e223ec17e8..0000000000 --- a/x/crosschain/keeper/last_block_height.go +++ /dev/null @@ -1,51 +0,0 @@ -package keeper - -import ( - "cosmossdk.io/store/prefix" - storetypes "cosmossdk.io/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/zeta-chain/node/x/crosschain/types" -) - -// SetLastBlockHeight set a specific lastBlockHeight in the store from its index -func (k Keeper) SetLastBlockHeight(ctx sdk.Context, lastBlockHeight types.LastBlockHeight) { - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LastBlockHeightKey)) - b := k.cdc.MustMarshal(&lastBlockHeight) - store.Set(types.KeyPrefix(lastBlockHeight.Index), b) -} - -// GetLastBlockHeight returns a lastBlockHeight from its index -func (k Keeper) GetLastBlockHeight(ctx sdk.Context, index string) (val types.LastBlockHeight, found bool) { - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LastBlockHeightKey)) - - b := store.Get(types.KeyPrefix(index)) - if b == nil { - return val, false - } - - k.cdc.MustUnmarshal(b, &val) - return val, true -} - -// RemoveLastBlockHeight removes a lastBlockHeight from the store -func (k Keeper) RemoveLastBlockHeight(ctx sdk.Context, index string) { - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LastBlockHeightKey)) - store.Delete(types.KeyPrefix(index)) -} - -// GetAllLastBlockHeight returns all lastBlockHeight -func (k Keeper) GetAllLastBlockHeight(ctx sdk.Context) (list []types.LastBlockHeight) { - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LastBlockHeightKey)) - iterator := storetypes.KVStorePrefixIterator(store, []byte{}) - - defer iterator.Close() - - for ; iterator.Valid(); iterator.Next() { - var val types.LastBlockHeight - k.cdc.MustUnmarshal(iterator.Value(), &val) - list = append(list, val) - } - - return -} diff --git a/x/crosschain/keeper/last_block_height_test.go b/x/crosschain/keeper/last_block_height_test.go deleted file mode 100644 index cfcb54c4d7..0000000000 --- a/x/crosschain/keeper/last_block_height_test.go +++ /dev/null @@ -1,48 +0,0 @@ -package keeper_test - -import ( - "fmt" - "testing" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/stretchr/testify/require" - - keepertest "github.com/zeta-chain/node/testutil/keeper" - "github.com/zeta-chain/node/x/crosschain/keeper" - "github.com/zeta-chain/node/x/crosschain/types" -) - -func createNLastBlockHeight(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.LastBlockHeight { - items := make([]types.LastBlockHeight, n) - for i := range items { - items[i].Creator = "any" - items[i].Index = fmt.Sprintf("%d", i) - keeper.SetLastBlockHeight(ctx, items[i]) - } - return items -} - -func TestLastBlockHeightGet(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - items := createNLastBlockHeight(k, ctx, 10) - for _, item := range items { - rst, found := k.GetLastBlockHeight(ctx, item.Index) - require.True(t, found) - require.Equal(t, item, rst) - } -} -func TestLastBlockHeightRemove(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - items := createNLastBlockHeight(k, ctx, 10) - for _, item := range items { - k.RemoveLastBlockHeight(ctx, item.Index) - _, found := k.GetLastBlockHeight(ctx, item.Index) - require.False(t, found) - } -} - -func TestLastBlockHeightGetAll(t *testing.T) { - k, ctx, _, _ := keepertest.CrosschainKeeper(t) - items := createNLastBlockHeight(k, ctx, 10) - require.Equal(t, items, k.GetAllLastBlockHeight(ctx)) -} diff --git a/x/crosschain/simulation/decoders.go b/x/crosschain/simulation/decoders.go index 9c7f743960..31b2cf2f74 100644 --- a/x/crosschain/simulation/decoders.go +++ b/x/crosschain/simulation/decoders.go @@ -20,16 +20,6 @@ func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string { cdc.MustUnmarshal(kvA.Value, &cctxA) cdc.MustUnmarshal(kvB.Value, &cctxB) return fmt.Sprintf("key %s value A %v value B %v", types.CCTXKey, cctxA, cctxB) - case bytes.Equal(kvA.Key, types.KeyPrefix(types.LastBlockHeightKey)): - var lastBlockHeightA, lastBlockHeightB types.LastBlockHeight - cdc.MustUnmarshal(kvA.Value, &lastBlockHeightA) - cdc.MustUnmarshal(kvB.Value, &lastBlockHeightB) - return fmt.Sprintf( - "key %s value A %v value B %v", - types.LastBlockHeightKey, - lastBlockHeightA, - lastBlockHeightB, - ) case bytes.Equal(kvA.Key, types.KeyPrefix(types.FinalizedInboundsKey)): var finalizedInboundsA, finalizedInboundsB []byte finalizedInboundsA = kvA.Value diff --git a/x/crosschain/simulation/decoders_test.go b/x/crosschain/simulation/decoders_test.go index 8c22cf9707..d3ea4b067d 100644 --- a/x/crosschain/simulation/decoders_test.go +++ b/x/crosschain/simulation/decoders_test.go @@ -17,7 +17,6 @@ func TestDecodeStore(t *testing.T) { cdc := k.GetCodec() dec := simulation.NewDecodeStore(cdc) cctx := sample.CrossChainTx(t, "sample") - lastBlockHeight := sample.LastBlockHeight(t, "sample") gasPrice := sample.GasPrice(t, "sample") outboundTracker := sample.OutboundTracker(t, "sample") inboundTracker := sample.InboundTracker(t, "sample") @@ -27,7 +26,6 @@ func TestDecodeStore(t *testing.T) { kvPairs := kv.Pairs{ Pairs: []kv.Pair{ {Key: types.KeyPrefix(types.CCTXKey), Value: cdc.MustMarshal(cctx)}, - {Key: types.KeyPrefix(types.LastBlockHeightKey), Value: cdc.MustMarshal(lastBlockHeight)}, {Key: types.KeyPrefix(types.GasPriceKey), Value: cdc.MustMarshal(gasPrice)}, {Key: types.KeyPrefix(types.OutboundTrackerKeyPrefix), Value: cdc.MustMarshal(&outboundTracker)}, {Key: types.KeyPrefix(types.InboundTrackerKeyPrefix), Value: cdc.MustMarshal(&inboundTracker)}, @@ -42,10 +40,6 @@ func TestDecodeStore(t *testing.T) { expectedLog string }{ {"CrossChainTx", fmt.Sprintf("key %s value A %v value B %v", types.CCTXKey, *cctx, *cctx)}, - { - "LastBlockHeight", - fmt.Sprintf("key %s value A %v value B %v", types.LastBlockHeightKey, *lastBlockHeight, *lastBlockHeight), - }, {"GasPrice", fmt.Sprintf("key %s value A %v value B %v", types.GasPriceKey, *gasPrice, *gasPrice)}, { "OutboundTracker", diff --git a/x/crosschain/types/genesis.pb.go b/x/crosschain/types/genesis.pb.go index 27b71e60ce..d5d6e3182c 100644 --- a/x/crosschain/types/genesis.pb.go +++ b/x/crosschain/types/genesis.pb.go @@ -28,7 +28,6 @@ type GenesisState struct { OutboundTrackerList []OutboundTracker `protobuf:"bytes,2,rep,name=outboundTrackerList,proto3" json:"outboundTrackerList"` GasPriceList []*GasPrice `protobuf:"bytes,5,rep,name=gasPriceList,proto3" json:"gasPriceList,omitempty"` CrossChainTxs []*CrossChainTx `protobuf:"bytes,7,rep,name=CrossChainTxs,proto3" json:"CrossChainTxs,omitempty"` - LastBlockHeightList []*LastBlockHeight `protobuf:"bytes,8,rep,name=lastBlockHeightList,proto3" json:"lastBlockHeightList,omitempty"` InboundHashToCctxList []InboundHashToCctx `protobuf:"bytes,9,rep,name=inboundHashToCctxList,proto3" json:"inboundHashToCctxList"` InboundTrackerList []InboundTracker `protobuf:"bytes,11,rep,name=inbound_tracker_list,json=inboundTrackerList,proto3" json:"inbound_tracker_list"` ZetaAccounting ZetaAccounting `protobuf:"bytes,12,opt,name=zeta_accounting,json=zetaAccounting,proto3" json:"zeta_accounting"` @@ -91,13 +90,6 @@ func (m *GenesisState) GetCrossChainTxs() []*CrossChainTx { return nil } -func (m *GenesisState) GetLastBlockHeightList() []*LastBlockHeight { - if m != nil { - return m.LastBlockHeightList - } - return nil -} - func (m *GenesisState) GetInboundHashToCctxList() []InboundHashToCctx { if m != nil { return m.InboundHashToCctxList @@ -149,41 +141,39 @@ func init() { } var fileDescriptor_547615497292ea23 = []byte{ - // 529 bytes of a gzipped FileDescriptorProto + // 512 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6f, 0x12, 0x41, - 0x14, 0xc7, 0xc1, 0xd6, 0xd6, 0x4e, 0xab, 0xb6, 0xd3, 0x9a, 0x6c, 0x48, 0x5c, 0x89, 0x17, 0x49, - 0x2a, 0x8b, 0x69, 0xd5, 0x78, 0x15, 0x92, 0x52, 0x23, 0x89, 0xba, 0x72, 0x6a, 0x4c, 0xc6, 0x61, - 0x98, 0xee, 0x4e, 0xba, 0xdd, 0x21, 0x33, 0x8f, 0x04, 0xf9, 0x14, 0x7e, 0xac, 0x1e, 0x7b, 0xec, - 0xc9, 0x18, 0xf8, 0x22, 0x66, 0x67, 0x07, 0xec, 0x02, 0xd9, 0xe5, 0xf6, 0x78, 0xbc, 0xff, 0xff, - 0xf7, 0xb2, 0xff, 0x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0xdc, 0x5c, 0x24, 0x07, 0xdc, 0x1d, 0xdf, 0xbf, 0x42, 0xf8, 0x31, 0xe4, 0xba, 0xbf, 0x63, 0x6e, + 0xec, 0xf4, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x5a, 0x78, 0x37, 0x07, 0x05, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -274,20 +264,6 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x4a } } - if len(m.LastBlockHeightList) > 0 { - for iNdEx := len(m.LastBlockHeightList) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.LastBlockHeightList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - } if len(m.CrossChainTxs) > 0 { for iNdEx := len(m.CrossChainTxs) - 1; iNdEx >= 0; iNdEx-- { { @@ -368,12 +344,6 @@ func (m *GenesisState) Size() (n int) { n += 1 + l + sovGenesis(uint64(l)) } } - if len(m.LastBlockHeightList) > 0 { - for _, e := range m.LastBlockHeightList { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } if len(m.InboundHashToCctxList) > 0 { for _, e := range m.InboundHashToCctxList { l = e.Size() @@ -539,40 +509,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeightList", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LastBlockHeightList = append(m.LastBlockHeightList, &LastBlockHeight{}) - if err := m.LastBlockHeightList[len(m.LastBlockHeightList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field InboundHashToCctxList", wireType) diff --git a/x/crosschain/types/keys.go b/x/crosschain/types/keys.go index f9ff92f3b4..ce23de389a 100644 --- a/x/crosschain/types/keys.go +++ b/x/crosschain/types/keys.go @@ -49,7 +49,6 @@ const ( // CounterIndexKey is the prefix to use for the counter index CounterIndexKey = "ctr-idx-" - LastBlockHeightKey = "LastBlockHeight-value-" FinalizedInboundsKey = "FinalizedInbounds-value-" GasPriceKey = "GasPrice-value-" diff --git a/x/crosschain/types/last_block_height.pb.go b/x/crosschain/types/last_block_height.pb.go deleted file mode 100644 index 01660e1b79..0000000000 --- a/x/crosschain/types/last_block_height.pb.go +++ /dev/null @@ -1,494 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: zetachain/zetacore/crosschain/last_block_height.proto - -package types - -import ( - fmt "fmt" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type LastBlockHeight struct { - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` - Chain string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"` - LastInboundHeight uint64 `protobuf:"varint,4,opt,name=lastInboundHeight,proto3" json:"lastInboundHeight,omitempty"` - LastOutboundHeight uint64 `protobuf:"varint,5,opt,name=lastOutboundHeight,proto3" json:"lastOutboundHeight,omitempty"` -} - -func (m *LastBlockHeight) Reset() { *m = LastBlockHeight{} } -func (m *LastBlockHeight) String() string { return proto.CompactTextString(m) } -func (*LastBlockHeight) ProtoMessage() {} -func (*LastBlockHeight) Descriptor() ([]byte, []int) { - return fileDescriptor_85a232f4b01c3902, []int{0} -} -func (m *LastBlockHeight) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LastBlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LastBlockHeight.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 *LastBlockHeight) XXX_Merge(src proto.Message) { - xxx_messageInfo_LastBlockHeight.Merge(m, src) -} -func (m *LastBlockHeight) XXX_Size() int { - return m.Size() -} -func (m *LastBlockHeight) XXX_DiscardUnknown() { - xxx_messageInfo_LastBlockHeight.DiscardUnknown(m) -} - -var xxx_messageInfo_LastBlockHeight proto.InternalMessageInfo - -func (m *LastBlockHeight) GetCreator() string { - if m != nil { - return m.Creator - } - return "" -} - -func (m *LastBlockHeight) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -func (m *LastBlockHeight) GetChain() string { - if m != nil { - return m.Chain - } - return "" -} - -func (m *LastBlockHeight) GetLastInboundHeight() uint64 { - if m != nil { - return m.LastInboundHeight - } - return 0 -} - -func (m *LastBlockHeight) GetLastOutboundHeight() uint64 { - if m != nil { - return m.LastOutboundHeight - } - return 0 -} - -func init() { - proto.RegisterType((*LastBlockHeight)(nil), "zetachain.zetacore.crosschain.LastBlockHeight") -} - -func init() { - proto.RegisterFile("zetachain/zetacore/crosschain/last_block_height.proto", fileDescriptor_85a232f4b01c3902) -} - -var fileDescriptor_85a232f4b01c3902 = []byte{ - // 245 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00,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xc2, 0x63, 0x39, 0x86, 0x1b, - 0x8f, 0xe5, 0x18, 0xa2, 0x74, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xc1, - 0x01, 0xa5, 0x0b, 0x09, 0x9f, 0xbc, 0xfc, 0x94, 0x54, 0xfd, 0x0a, 0xe4, 0x10, 0x2b, 0xa9, 0x2c, - 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x07, 0x93, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x27, 0x12, - 0x51, 0x5f, 0x01, 0x00, 0x00, -} - -func (m *LastBlockHeight) 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 *LastBlockHeight) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LastBlockHeight) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastOutboundHeight != 0 { - i = encodeVarintLastBlockHeight(dAtA, i, uint64(m.LastOutboundHeight)) - i-- - dAtA[i] = 0x28 - } - if m.LastInboundHeight != 0 { - i = encodeVarintLastBlockHeight(dAtA, i, uint64(m.LastInboundHeight)) - i-- - dAtA[i] = 0x20 - } - if len(m.Chain) > 0 { - i -= len(m.Chain) - copy(dAtA[i:], m.Chain) - i = encodeVarintLastBlockHeight(dAtA, i, uint64(len(m.Chain))) - i-- - dAtA[i] = 0x1a - } - if len(m.Index) > 0 { - i -= len(m.Index) - copy(dAtA[i:], m.Index) - i = encodeVarintLastBlockHeight(dAtA, i, uint64(len(m.Index))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintLastBlockHeight(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintLastBlockHeight(dAtA []byte, offset int, v uint64) int { - offset -= sovLastBlockHeight(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *LastBlockHeight) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovLastBlockHeight(uint64(l)) - } - l = len(m.Index) - if l > 0 { - n += 1 + l + sovLastBlockHeight(uint64(l)) - } - l = len(m.Chain) - if l > 0 { - n += 1 + l + sovLastBlockHeight(uint64(l)) - } - if m.LastInboundHeight != 0 { - n += 1 + sovLastBlockHeight(uint64(m.LastInboundHeight)) - } - if m.LastOutboundHeight != 0 { - n += 1 + sovLastBlockHeight(uint64(m.LastOutboundHeight)) - } - return n -} - -func sovLastBlockHeight(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozLastBlockHeight(x uint64) (n int) { - return sovLastBlockHeight(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *LastBlockHeight) 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 ErrIntOverflowLastBlockHeight - } - 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: LastBlockHeight: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LastBlockHeight: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLastBlockHeight - } - 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 ErrInvalidLengthLastBlockHeight - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLastBlockHeight - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLastBlockHeight - } - 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 ErrInvalidLengthLastBlockHeight - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLastBlockHeight - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Index = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLastBlockHeight - } - 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 ErrInvalidLengthLastBlockHeight - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLastBlockHeight - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Chain = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastInboundHeight", wireType) - } - m.LastInboundHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLastBlockHeight - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastInboundHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastOutboundHeight", wireType) - } - m.LastOutboundHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLastBlockHeight - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastOutboundHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipLastBlockHeight(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLastBlockHeight - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipLastBlockHeight(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowLastBlockHeight - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowLastBlockHeight - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowLastBlockHeight - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthLastBlockHeight - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupLastBlockHeight - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthLastBlockHeight - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthLastBlockHeight = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowLastBlockHeight = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupLastBlockHeight = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/crosschain/types/query.pb.go b/x/crosschain/types/query.pb.go index 57266fae24..303b07f3ef 100644 --- a/x/crosschain/types/query.pb.go +++ b/x/crosschain/types/query.pb.go @@ -1065,190 +1065,6 @@ func (m *QueryAllGasPriceResponse) GetPagination() *query.PageResponse { return nil } -type QueryGetLastBlockHeightRequest struct { - Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` -} - -func (m *QueryGetLastBlockHeightRequest) Reset() { *m = QueryGetLastBlockHeightRequest{} } -func (m *QueryGetLastBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetLastBlockHeightRequest) ProtoMessage() {} -func (*QueryGetLastBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{22} -} -func (m *QueryGetLastBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGetLastBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGetLastBlockHeightRequest.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 *QueryGetLastBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetLastBlockHeightRequest.Merge(m, src) -} -func (m *QueryGetLastBlockHeightRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGetLastBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetLastBlockHeightRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGetLastBlockHeightRequest proto.InternalMessageInfo - -func (m *QueryGetLastBlockHeightRequest) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -type QueryGetLastBlockHeightResponse struct { - LastBlockHeight *LastBlockHeight `protobuf:"bytes,1,opt,name=LastBlockHeight,proto3" json:"LastBlockHeight,omitempty"` -} - -func (m *QueryGetLastBlockHeightResponse) Reset() { *m = QueryGetLastBlockHeightResponse{} } -func (m *QueryGetLastBlockHeightResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetLastBlockHeightResponse) ProtoMessage() {} -func (*QueryGetLastBlockHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{23} -} -func (m *QueryGetLastBlockHeightResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGetLastBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGetLastBlockHeightResponse.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 *QueryGetLastBlockHeightResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetLastBlockHeightResponse.Merge(m, src) -} -func (m *QueryGetLastBlockHeightResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGetLastBlockHeightResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetLastBlockHeightResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGetLastBlockHeightResponse proto.InternalMessageInfo - -func (m *QueryGetLastBlockHeightResponse) GetLastBlockHeight() *LastBlockHeight { - if m != nil { - return m.LastBlockHeight - } - return nil -} - -type QueryAllLastBlockHeightRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryAllLastBlockHeightRequest) Reset() { *m = QueryAllLastBlockHeightRequest{} } -func (m *QueryAllLastBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAllLastBlockHeightRequest) ProtoMessage() {} -func (*QueryAllLastBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{24} -} -func (m *QueryAllLastBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryAllLastBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryAllLastBlockHeightRequest.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 *QueryAllLastBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllLastBlockHeightRequest.Merge(m, src) -} -func (m *QueryAllLastBlockHeightRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryAllLastBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllLastBlockHeightRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryAllLastBlockHeightRequest proto.InternalMessageInfo - -func (m *QueryAllLastBlockHeightRequest) GetPagination() *query.PageRequest { - if m != nil { - return m.Pagination - } - return nil -} - -type QueryAllLastBlockHeightResponse struct { - LastBlockHeight []*LastBlockHeight `protobuf:"bytes,1,rep,name=LastBlockHeight,proto3" json:"LastBlockHeight,omitempty"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryAllLastBlockHeightResponse) Reset() { *m = QueryAllLastBlockHeightResponse{} } -func (m *QueryAllLastBlockHeightResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllLastBlockHeightResponse) ProtoMessage() {} -func (*QueryAllLastBlockHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{25} -} -func (m *QueryAllLastBlockHeightResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryAllLastBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryAllLastBlockHeightResponse.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 *QueryAllLastBlockHeightResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllLastBlockHeightResponse.Merge(m, src) -} -func (m *QueryAllLastBlockHeightResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryAllLastBlockHeightResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllLastBlockHeightResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryAllLastBlockHeightResponse proto.InternalMessageInfo - -func (m *QueryAllLastBlockHeightResponse) GetLastBlockHeight() []*LastBlockHeight { - if m != nil { - return m.LastBlockHeight - } - return nil -} - -func (m *QueryAllLastBlockHeightResponse) GetPagination() *query.PageResponse { - if m != nil { - return m.Pagination - } - return nil -} - type QueryGetCctxRequest struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` } @@ -1257,7 +1073,7 @@ func (m *QueryGetCctxRequest) Reset() { *m = QueryGetCctxRequest{} } func (m *QueryGetCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCctxRequest) ProtoMessage() {} func (*QueryGetCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{26} + return fileDescriptor_d00cb546ea76908b, []int{22} } func (m *QueryGetCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1302,7 +1118,7 @@ func (m *QueryGetCctxByNonceRequest) Reset() { *m = QueryGetCctxByNonceR func (m *QueryGetCctxByNonceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCctxByNonceRequest) ProtoMessage() {} func (*QueryGetCctxByNonceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{27} + return fileDescriptor_d00cb546ea76908b, []int{23} } func (m *QueryGetCctxByNonceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1353,7 +1169,7 @@ func (m *QueryGetCctxResponse) Reset() { *m = QueryGetCctxResponse{} } func (m *QueryGetCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetCctxResponse) ProtoMessage() {} func (*QueryGetCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{28} + return fileDescriptor_d00cb546ea76908b, []int{24} } func (m *QueryGetCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1400,7 +1216,7 @@ func (m *QueryAllCctxRequest) Reset() { *m = QueryAllCctxRequest{} } func (m *QueryAllCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllCctxRequest) ProtoMessage() {} func (*QueryAllCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{29} + return fileDescriptor_d00cb546ea76908b, []int{25} } func (m *QueryAllCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1452,7 +1268,7 @@ func (m *QueryAllCctxResponse) Reset() { *m = QueryAllCctxResponse{} } func (m *QueryAllCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllCctxResponse) ProtoMessage() {} func (*QueryAllCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{30} + return fileDescriptor_d00cb546ea76908b, []int{26} } func (m *QueryAllCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1504,7 +1320,7 @@ func (m *QueryListPendingCctxRequest) Reset() { *m = QueryListPendingCct func (m *QueryListPendingCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryListPendingCctxRequest) ProtoMessage() {} func (*QueryListPendingCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{31} + return fileDescriptor_d00cb546ea76908b, []int{27} } func (m *QueryListPendingCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1556,7 +1372,7 @@ func (m *QueryListPendingCctxResponse) Reset() { *m = QueryListPendingCc func (m *QueryListPendingCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryListPendingCctxResponse) ProtoMessage() {} func (*QueryListPendingCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{32} + return fileDescriptor_d00cb546ea76908b, []int{28} } func (m *QueryListPendingCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1608,7 +1424,7 @@ func (m *QueryRateLimiterInputRequest) Reset() { *m = QueryRateLimiterIn func (m *QueryRateLimiterInputRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimiterInputRequest) ProtoMessage() {} func (*QueryRateLimiterInputRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{33} + return fileDescriptor_d00cb546ea76908b, []int{29} } func (m *QueryRateLimiterInputRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1665,7 +1481,7 @@ func (m *QueryRateLimiterInputResponse) Reset() { *m = QueryRateLimiterI func (m *QueryRateLimiterInputResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimiterInputResponse) ProtoMessage() {} func (*QueryRateLimiterInputResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{34} + return fileDescriptor_d00cb546ea76908b, []int{30} } func (m *QueryRateLimiterInputResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1755,7 +1571,7 @@ func (m *QueryListPendingCctxWithinRateLimitRequest) String() string { } func (*QueryListPendingCctxWithinRateLimitRequest) ProtoMessage() {} func (*QueryListPendingCctxWithinRateLimitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{35} + return fileDescriptor_d00cb546ea76908b, []int{31} } func (m *QueryListPendingCctxWithinRateLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1807,7 +1623,7 @@ func (m *QueryListPendingCctxWithinRateLimitResponse) String() string { } func (*QueryListPendingCctxWithinRateLimitResponse) ProtoMessage() {} func (*QueryListPendingCctxWithinRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{36} + return fileDescriptor_d00cb546ea76908b, []int{32} } func (m *QueryListPendingCctxWithinRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1878,7 +1694,7 @@ func (m *QueryLastZetaHeightRequest) Reset() { *m = QueryLastZetaHeightR func (m *QueryLastZetaHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryLastZetaHeightRequest) ProtoMessage() {} func (*QueryLastZetaHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{37} + return fileDescriptor_d00cb546ea76908b, []int{33} } func (m *QueryLastZetaHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1915,7 +1731,7 @@ func (m *QueryLastZetaHeightResponse) Reset() { *m = QueryLastZetaHeight func (m *QueryLastZetaHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryLastZetaHeightResponse) ProtoMessage() {} func (*QueryLastZetaHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{38} + return fileDescriptor_d00cb546ea76908b, []int{34} } func (m *QueryLastZetaHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1960,7 +1776,7 @@ func (m *QueryConvertGasToZetaRequest) Reset() { *m = QueryConvertGasToZ func (m *QueryConvertGasToZetaRequest) String() string { return proto.CompactTextString(m) } func (*QueryConvertGasToZetaRequest) ProtoMessage() {} func (*QueryConvertGasToZetaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{39} + return fileDescriptor_d00cb546ea76908b, []int{35} } func (m *QueryConvertGasToZetaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2013,7 +1829,7 @@ func (m *QueryConvertGasToZetaResponse) Reset() { *m = QueryConvertGasTo func (m *QueryConvertGasToZetaResponse) String() string { return proto.CompactTextString(m) } func (*QueryConvertGasToZetaResponse) ProtoMessage() {} func (*QueryConvertGasToZetaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{40} + return fileDescriptor_d00cb546ea76908b, []int{36} } func (m *QueryConvertGasToZetaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2070,7 +1886,7 @@ func (m *QueryMessagePassingProtocolFeeRequest) Reset() { *m = QueryMess func (m *QueryMessagePassingProtocolFeeRequest) String() string { return proto.CompactTextString(m) } func (*QueryMessagePassingProtocolFeeRequest) ProtoMessage() {} func (*QueryMessagePassingProtocolFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{41} + return fileDescriptor_d00cb546ea76908b, []int{37} } func (m *QueryMessagePassingProtocolFeeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2109,7 +1925,7 @@ func (m *QueryMessagePassingProtocolFeeResponse) Reset() { func (m *QueryMessagePassingProtocolFeeResponse) String() string { return proto.CompactTextString(m) } func (*QueryMessagePassingProtocolFeeResponse) ProtoMessage() {} func (*QueryMessagePassingProtocolFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{42} + return fileDescriptor_d00cb546ea76908b, []int{38} } func (m *QueryMessagePassingProtocolFeeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2152,7 +1968,7 @@ func (m *QueryRateLimiterFlagsRequest) Reset() { *m = QueryRateLimiterFl func (m *QueryRateLimiterFlagsRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimiterFlagsRequest) ProtoMessage() {} func (*QueryRateLimiterFlagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{43} + return fileDescriptor_d00cb546ea76908b, []int{39} } func (m *QueryRateLimiterFlagsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2189,7 +2005,7 @@ func (m *QueryRateLimiterFlagsResponse) Reset() { *m = QueryRateLimiterF func (m *QueryRateLimiterFlagsResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimiterFlagsResponse) ProtoMessage() {} func (*QueryRateLimiterFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{44} + return fileDescriptor_d00cb546ea76908b, []int{40} } func (m *QueryRateLimiterFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2234,7 +2050,7 @@ func (m *QueryInboundTrackerRequest) Reset() { *m = QueryInboundTrackerR func (m *QueryInboundTrackerRequest) String() string { return proto.CompactTextString(m) } func (*QueryInboundTrackerRequest) ProtoMessage() {} func (*QueryInboundTrackerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{45} + return fileDescriptor_d00cb546ea76908b, []int{41} } func (m *QueryInboundTrackerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2285,7 +2101,7 @@ func (m *QueryInboundTrackerResponse) Reset() { *m = QueryInboundTracker func (m *QueryInboundTrackerResponse) String() string { return proto.CompactTextString(m) } func (*QueryInboundTrackerResponse) ProtoMessage() {} func (*QueryInboundTrackerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d00cb546ea76908b, []int{46} + return fileDescriptor_d00cb546ea76908b, []int{42} } func (m *QueryInboundTrackerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2344,10 +2160,6 @@ func init() { proto.RegisterType((*QueryGetGasPriceResponse)(nil), "zetachain.zetacore.crosschain.QueryGetGasPriceResponse") proto.RegisterType((*QueryAllGasPriceRequest)(nil), "zetachain.zetacore.crosschain.QueryAllGasPriceRequest") proto.RegisterType((*QueryAllGasPriceResponse)(nil), "zetachain.zetacore.crosschain.QueryAllGasPriceResponse") - proto.RegisterType((*QueryGetLastBlockHeightRequest)(nil), "zetachain.zetacore.crosschain.QueryGetLastBlockHeightRequest") - proto.RegisterType((*QueryGetLastBlockHeightResponse)(nil), "zetachain.zetacore.crosschain.QueryGetLastBlockHeightResponse") - proto.RegisterType((*QueryAllLastBlockHeightRequest)(nil), "zetachain.zetacore.crosschain.QueryAllLastBlockHeightRequest") - proto.RegisterType((*QueryAllLastBlockHeightResponse)(nil), "zetachain.zetacore.crosschain.QueryAllLastBlockHeightResponse") proto.RegisterType((*QueryGetCctxRequest)(nil), "zetachain.zetacore.crosschain.QueryGetCctxRequest") proto.RegisterType((*QueryGetCctxByNonceRequest)(nil), "zetachain.zetacore.crosschain.QueryGetCctxByNonceRequest") proto.RegisterType((*QueryGetCctxResponse)(nil), "zetachain.zetacore.crosschain.QueryGetCctxResponse") @@ -2376,148 +2188,140 @@ func init() { } var fileDescriptor_d00cb546ea76908b = []byte{ - // 2248 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcd, 0x6f, 0xdc, 0xc6, - 0x15, 0x37, 0xb5, 0x96, 0x2c, 0x8d, 0x6c, 0xc9, 0x1a, 0xcb, 0x91, 0xb2, 0x91, 0x65, 0x87, 0x8e, - 0x2d, 0x45, 0xae, 0x96, 0xb6, 0x5c, 0xcb, 0x5f, 0x49, 0x6c, 0x7d, 0xd8, 0xb2, 0x0a, 0xd9,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0xfc, - 0x80, 0xf9, 0x37, 0x51, 0xd1, 0xb4, 0x77, 0xa9, 0xcb, 0xd4, 0xb0, 0x18, 0xd0, 0x48, 0x93, 0x47, - 0xb8, 0x33, 0x27, 0xfc, 0x19, 0xa1, 0xe4, 0x82, 0x03, 0x61, 0x19, 0xcd, 0xa5, 0xa5, 0xde, 0x43, - 0x83, 0x55, 0x0d, 0xab, 0x19, 0xab, 0xdc, 0x98, 0xcb, 0x7f, 0xe8, 0x43, 0x17, 0x84, 0x94, 0x40, - 0xa4, 0xdf, 0x41, 0x23, 0x51, 0x02, 0xaf, 0xab, 0x84, 0xd6, 0xc2, 0x09, 0x9d, 0x08, 0x41, 0x4a, - 0x46, 0xe3, 0x45, 0x34, 0xa1, 0xd5, 0x1d, 0x87, 0x5a, 0x4c, 0xdd, 0x35, 0x58, 0xb5, 0xe2, 0x90, - 0x5d, 0x15, 0x92, 0xb5, 0xc0, 0xbd, 0x74, 0x12, 0x86, 0x1f, 0xc2, 0xe8, 0x43, 0x3e, 0x88, 0x17, - 0xd0, 0xc9, 0x84, 0x9c, 0x43, 0x18, 0xe5, 0x71, 0x1e, 0x2a, 0x9f, 0x88, 0x49, 0x79, 0x80, 0xbd, - 0x20, 0xb6, 0x58, 0x36, 0x95, 0x36, 0x34, 0x4a, 0x2b, 0xb4, 0xc2, 0x23, 0x3e, 0x58, 0x1e, 0x73, - 0x02, 0x9f, 0xdc, 0x81, 0x81, 0x26, 0x59, 0xe6, 0x1d, 0x64, 0x8f, 0x28, 0x23, 0x91, 0x43, 0x59, - 0xbe, 0x12, 0x54, 0x9c, 0xd8, 0x68, 0x6b, 0xeb, 0xdc, 0x8b, 0x6c, 0x1d, 0x08, 0xee, 0x16, 0x6c, - 0xe1, 0x15, 0xdb, 0x7a, 0x4c, 0x1d, 0xaf, 0x2b, 0xdc, 0xb2, 0x3d, 0xf1, 0xc4, 0x89, 0x94, 0x28, - 0x54, 0x45, 0x34, 0xa8, 0x13, 0x77, 0xa3, 0x59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xea, 0x6e, 0x0f, 0xf0, 0xfe, 0xe3, 0xf2, 0x57, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x9c, 0xd9, 0x3a, 0xd7, 0x92, 0x2b, 0x00, 0x00, + // 2126 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xdb, 0x6f, 0x1c, 0x57, + 0x19, 0xcf, 0x78, 0xe3, 0xc4, 0xfe, 0x9c, 0xd8, 0xf1, 0x89, 0x53, 0xbb, 0x5b, 0x67, 0x93, 0x4e, + 0x9a, 0xd8, 0x75, 0xf0, 0x6e, 0xe3, 0x10, 0xe7, 0xd6, 0x36, 0xf1, 0x25, 0x71, 0x8c, 0x9c, 0xd4, + 0x5d, 0x59, 0x44, 0x0a, 0x88, 0xd1, 0xf1, 0xec, 0xe9, 0xec, 0xd0, 0xf1, 0xcc, 0x76, 0xe6, 0x6c, + 0xec, 0xd4, 0xb2, 0x04, 0x95, 0x78, 0xe0, 0x05, 0x21, 0x55, 0x88, 0x17, 0x5e, 0x11, 0x3c, 0xf0, + 0xd0, 0x07, 0xd4, 0x47, 0x24, 0x40, 0x82, 0x8a, 0x0a, 0xa9, 0x14, 0x09, 0xf1, 0x84, 0xaa, 0x04, + 0xd1, 0x77, 0xfe, 0x82, 0x6a, 0xce, 0x7c, 0xb3, 0x3b, 0xf7, 0x9d, 0xdd, 0x6c, 0x1f, 0xfa, 0xe4, + 0x9d, 0x73, 0xce, 0x77, 0xf9, 0x7d, 0x97, 0x73, 0xf9, 0xc9, 0xf0, 0xea, 0xfb, 0x8c, 0x53, 0xb5, + 0x4e, 0x75, 0xb3, 0x22, 0x7e, 0x59, 0x36, 0xab, 0xa8, 0xb6, 0xe5, 0x38, 0xde, 0xd8, 0x7b, 0x4d, + 0x66, 0x3f, 0x29, 0x37, 0x6c, 0x8b, 0x5b, 0xe4, 0x74, 0x6b, 0x69, 0xd9, 0x5f,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, 0xa3, 0x83, 0x89, 0x6c, 0x32, 0xb1, 0xf8, 0x66, 0xaf, + 0xe2, 0x1e, 0x74, 0xf9, 0xf6, 0x07, 0xff, 0xfc, 0xef, 0x87, 0x03, 0x37, 0xc8, 0x35, 0xc1, 0xcf, + 0xce, 0x07, 0xe8, 0xe9, 0x30, 0xaf, 0x8b, 0x72, 0x95, 0x7d, 0xbc, 0x10, 0x1e, 0x54, 0xf6, 0xc5, + 0x15, 0xf0, 0x80, 0xfc, 0x59, 0x02, 0x12, 0xd1, 0xbe, 0x64, 0x18, 0xf9, 0x70, 0xa5, 0xd2, 0x89, + 0xf9, 0x70, 0xa5, 0x53, 0x84, 0x72, 0x59, 0xe0, 0x9a, 0x25, 0x17, 0xf2, 0xe1, 0x22, 0x5f, 0x4a, + 0xf0, 0x62, 0x1c, 0x05, 0xb2, 0x37, 0x64, 0xb5, 0x37, 0x6f, 0xc2, 0x44, 0x54, 0xf1, 0xce, 0x73, + 0x6a, 0x41, 0x68, 0x6f, 0x08, 0x68, 0x57, 0xc9, 0x95, 0x7c, 0xd0, 0x50, 0x1c, 0x33, 0x77, 0x40, + 0xfe, 0x27, 0xc1, 0x54, 0xb8, 0x6e, 0x03, 0x40, 0x57, 0x72, 0xba, 0x98, 0x45, 0xb8, 0x15, 0x57, + 0x9f, 0x4f, 0x09, 0xc2, 0xbc, 0x25, 0x60, 0x5e, 0x27, 0x57, 0x53, 0x60, 0xea, 0x66, 0x3a, 0x4a, + 0x45, 0xaf, 0x1d, 0x90, 0x3f, 0x49, 0x30, 0x1e, 0x03, 0x9a, 0xbb, 0x2e, 0x93, 0x79, 0xaf, 0xdc, + 0x75, 0x99, 0xc2, 0x65, 0x75, 0xac, 0xcb, 0x30, 0x2a, 0x87, 0x7c, 0x2a, 0xc1, 0x68, 0x58, 0x17, + 0xb9, 0x9e, 0xc7, 0x85, 0xc4, 0xbd, 0xb3, 0x78, 0xa3, 0x17, 0x51, 0xf4, 0x7c, 0x59, 0x78, 0xfe,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f3, 0x02, 0xc4, 0x0c, 0x39, 0x9f, 0x02, + 0xe2, 0xfd, 0xb0, 0x97, 0xae, 0xe3, 0x61, 0x92, 0x27, 0x9f, 0xe3, 0x89, 0xb4, 0x51, 0x3e, 0xc7, + 0x93, 0x39, 0xa5, 0x8e, 0x8e, 0x1b, 0x61, 0x2f, 0xdd, 0x93, 0x29, 0xca, 0x41, 0xe4, 0x3b, 0x99, + 0x52, 0xd8, 0x92, 0x7c, 0x27, 0x53, 0x1a, 0x93, 0xd2, 0xf1, 0x64, 0x8a, 0xf2, 0x22, 0x51, 0x00, + 0x82, 0x9b, 0xee, 0x1a, 0x40, 0x90, 0x20, 0xef, 0x1a, 0x40, 0x88, 0x0e, 0xef, 0x06, 0x80, 0x10, + 0x2c, 0x0e, 0xfe, 0xe8, 0xcb, 0x8f, 0xe6, 0xa4, 0xe5, 0xb5, 0x4f, 0x9e, 0x96, 0xa4, 0xcf, 0x9e, + 0x96, 0xa4, 0x2f, 0x9e, 0x96, 0xa4, 0x9f, 0x3f, 0x2b, 0x1d, 0xfa, 0xec, 0x59, 0xe9, 0xd0, 0xbf, + 0x9f, 0x95, 0x0e, 0x3d, 0x9a, 0xd7, 0x74, 0x5e, 0x6f, 0x6e, 0x97, 0x55, 0x6b, 0x27, 0xa8, 0xd3, + 0xb4, 0x6a, 0xac, 0xb2, 0x17, 0x54, 0xcd, 0x9f, 0x34, 0x98, 0xb3, 0x7d, 0x44, 0x1c, 0x77, 0x97, + 0xbf, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x0b, 0x43, 0xab, 0xe4, 0x27, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2552,10 +2356,6 @@ type QueryClient interface { GasPriceAll(ctx context.Context, in *QueryAllGasPriceRequest, opts ...grpc.CallOption) (*QueryAllGasPriceResponse, error) ConvertGasToZeta(ctx context.Context, in *QueryConvertGasToZetaRequest, opts ...grpc.CallOption) (*QueryConvertGasToZetaResponse, error) ProtocolFee(ctx context.Context, in *QueryMessagePassingProtocolFeeRequest, opts ...grpc.CallOption) (*QueryMessagePassingProtocolFeeResponse, error) - // Queries a lastBlockHeight by index. - LastBlockHeight(ctx context.Context, in *QueryGetLastBlockHeightRequest, opts ...grpc.CallOption) (*QueryGetLastBlockHeightResponse, error) - // Queries a list of lastBlockHeight items. - LastBlockHeightAll(ctx context.Context, in *QueryAllLastBlockHeightRequest, opts ...grpc.CallOption) (*QueryAllLastBlockHeightResponse, error) // Queries a send by index. Cctx(ctx context.Context, in *QueryGetCctxRequest, opts ...grpc.CallOption) (*QueryGetCctxResponse, error) // Queries a cctx by nonce. @@ -2700,24 +2500,6 @@ func (c *queryClient) ProtocolFee(ctx context.Context, in *QueryMessagePassingPr return out, nil } -func (c *queryClient) LastBlockHeight(ctx context.Context, in *QueryGetLastBlockHeightRequest, opts ...grpc.CallOption) (*QueryGetLastBlockHeightResponse, error) { - out := new(QueryGetLastBlockHeightResponse) - err := c.cc.Invoke(ctx, "/zetachain.zetacore.crosschain.Query/LastBlockHeight", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) LastBlockHeightAll(ctx context.Context, in *QueryAllLastBlockHeightRequest, opts ...grpc.CallOption) (*QueryAllLastBlockHeightResponse, error) { - out := new(QueryAllLastBlockHeightResponse) - err := c.cc.Invoke(ctx, "/zetachain.zetacore.crosschain.Query/LastBlockHeightAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) Cctx(ctx context.Context, in *QueryGetCctxRequest, opts ...grpc.CallOption) (*QueryGetCctxResponse, error) { out := new(QueryGetCctxResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.crosschain.Query/Cctx", in, out, opts...) @@ -2821,10 +2603,6 @@ type QueryServer interface { GasPriceAll(context.Context, *QueryAllGasPriceRequest) (*QueryAllGasPriceResponse, error) ConvertGasToZeta(context.Context, *QueryConvertGasToZetaRequest) (*QueryConvertGasToZetaResponse, error) ProtocolFee(context.Context, *QueryMessagePassingProtocolFeeRequest) (*QueryMessagePassingProtocolFeeResponse, error) - // Queries a lastBlockHeight by index. - LastBlockHeight(context.Context, *QueryGetLastBlockHeightRequest) (*QueryGetLastBlockHeightResponse, error) - // Queries a list of lastBlockHeight items. - LastBlockHeightAll(context.Context, *QueryAllLastBlockHeightRequest) (*QueryAllLastBlockHeightResponse, error) // Queries a send by index. Cctx(context.Context, *QueryGetCctxRequest) (*QueryGetCctxResponse, error) // Queries a cctx by nonce. @@ -2887,12 +2665,6 @@ func (*UnimplementedQueryServer) ConvertGasToZeta(ctx context.Context, req *Quer func (*UnimplementedQueryServer) ProtocolFee(ctx context.Context, req *QueryMessagePassingProtocolFeeRequest) (*QueryMessagePassingProtocolFeeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ProtocolFee not implemented") } -func (*UnimplementedQueryServer) LastBlockHeight(ctx context.Context, req *QueryGetLastBlockHeightRequest) (*QueryGetLastBlockHeightResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LastBlockHeight not implemented") -} -func (*UnimplementedQueryServer) LastBlockHeightAll(ctx context.Context, req *QueryAllLastBlockHeightRequest) (*QueryAllLastBlockHeightResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LastBlockHeightAll not implemented") -} func (*UnimplementedQueryServer) Cctx(ctx context.Context, req *QueryGetCctxRequest) (*QueryGetCctxResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Cctx not implemented") } @@ -3159,42 +2931,6 @@ func _Query_ProtocolFee_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } -func _Query_LastBlockHeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetLastBlockHeightRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).LastBlockHeight(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/zetachain.zetacore.crosschain.Query/LastBlockHeight", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).LastBlockHeight(ctx, req.(*QueryGetLastBlockHeightRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_LastBlockHeightAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllLastBlockHeightRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).LastBlockHeightAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/zetachain.zetacore.crosschain.Query/LastBlockHeightAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).LastBlockHeightAll(ctx, req.(*QueryAllLastBlockHeightRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_Cctx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetCctxRequest) if err := dec(in); err != nil { @@ -3413,14 +3149,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "ProtocolFee", Handler: _Query_ProtocolFee_Handler, }, - { - MethodName: "LastBlockHeight", - Handler: _Query_LastBlockHeight_Handler, - }, - { - MethodName: "LastBlockHeightAll", - Handler: _Query_LastBlockHeightAll_Handler, - }, { MethodName: "Cctx", Handler: _Query_Cctx_Handler, @@ -4290,7 +4018,7 @@ func (m *QueryAllGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *QueryGetLastBlockHeightRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetCctxRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4300,12 +4028,12 @@ func (m *QueryGetLastBlockHeightRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetLastBlockHeightRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetCctxRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetLastBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetCctxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4320,7 +4048,7 @@ func (m *QueryGetLastBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *QueryGetLastBlockHeightResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetCctxByNonceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4330,32 +4058,30 @@ func (m *QueryGetLastBlockHeightResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetLastBlockHeightResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetCctxByNonceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetLastBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetCctxByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.LastBlockHeight != nil { - { - size, err := m.LastBlockHeight.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } + if m.Nonce != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if m.ChainID != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.ChainID)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *QueryAllLastBlockHeightRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetCctxResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4365,19 +4091,19 @@ func (m *QueryAllLastBlockHeightRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllLastBlockHeightRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetCctxResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllLastBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetCctxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Pagination != nil { + if m.CrossChainTx != nil { { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CrossChainTx.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4390,7 +4116,7 @@ func (m *QueryAllLastBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *QueryAllLastBlockHeightResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllCctxRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4400,16 +4126,26 @@ func (m *QueryAllLastBlockHeightResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllLastBlockHeightResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllCctxRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllLastBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllCctxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Unordered { + i-- + if m.Unordered { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } if m.Pagination != nil { { size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) @@ -4420,164 +4156,7 @@ func (m *QueryAllLastBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.LastBlockHeight) > 0 { - for iNdEx := len(m.LastBlockHeight) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.LastBlockHeight[iNdEx].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 *QueryGetCctxRequest) 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 *QueryGetCctxRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetCctxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Index) > 0 { - i -= len(m.Index) - copy(dAtA[i:], m.Index) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Index))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryGetCctxByNonceRequest) 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 *QueryGetCctxByNonceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetCctxByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Nonce != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) - i-- - dAtA[i] = 0x10 - } - if m.ChainID != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.ChainID)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryGetCctxResponse) 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 *QueryGetCctxResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetCctxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CrossChainTx != nil { - { - size, err := m.CrossChainTx.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 *QueryAllCctxRequest) 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 *QueryAllCctxRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllCctxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Unordered { - i-- - if m.Unordered { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - 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] = 0xa + dAtA[i] = 0xa } return len(dAtA) - i, nil } @@ -5551,64 +5130,6 @@ func (m *QueryAllGasPriceResponse) Size() (n int) { return n } -func (m *QueryGetLastBlockHeightRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Index) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGetLastBlockHeightResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.LastBlockHeight != nil { - l = m.LastBlockHeight.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryAllLastBlockHeightRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryAllLastBlockHeightResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.LastBlockHeight) > 0 { - for _, e := range m.LastBlockHeight { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - func (m *QueryGetCctxRequest) Size() (n int) { if m == nil { return 0 @@ -8019,380 +7540,6 @@ func (m *QueryAllGasPriceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetLastBlockHeightRequest) 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: QueryGetLastBlockHeightRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetLastBlockHeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", 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.Index = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGetLastBlockHeightResponse) 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: QueryGetLastBlockHeightResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetLastBlockHeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", 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.LastBlockHeight == nil { - m.LastBlockHeight = &LastBlockHeight{} - } - if err := m.LastBlockHeight.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 *QueryAllLastBlockHeightRequest) 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: QueryAllLastBlockHeightRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllLastBlockHeightRequest: 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) - } - 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 *QueryAllLastBlockHeightResponse) 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: QueryAllLastBlockHeightResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllLastBlockHeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", 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 - } - m.LastBlockHeight = append(m.LastBlockHeight, &LastBlockHeight{}) - if err := m.LastBlockHeight[len(m.LastBlockHeight)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - 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 *QueryGetCctxRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/crosschain/types/query.pb.gw.go b/x/crosschain/types/query.pb.gw.go index a6aafce9e2..44d4edc0bc 100644 --- a/x/crosschain/types/query.pb.gw.go +++ b/x/crosschain/types/query.pb.gw.go @@ -689,96 +689,6 @@ func local_request_Query_ProtocolFee_0(ctx context.Context, marshaler runtime.Ma } -func request_Query_LastBlockHeight_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetLastBlockHeightRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["index"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "index") - } - - protoReq.Index, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "index", err) - } - - msg, err := client.LastBlockHeight(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_LastBlockHeight_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetLastBlockHeightRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["index"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "index") - } - - protoReq.Index, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "index", err) - } - - msg, err := server.LastBlockHeight(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_Query_LastBlockHeightAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_Query_LastBlockHeightAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllLastBlockHeightRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_LastBlockHeightAll_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.LastBlockHeightAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_LastBlockHeightAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllLastBlockHeightRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_LastBlockHeightAll_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.LastBlockHeightAll(ctx, &protoReq) - return msg, metadata, err - -} - func request_Query_Cctx_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetCctxRequest var metadata runtime.ServerMetadata @@ -1412,52 +1322,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_LastBlockHeight_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_LastBlockHeight_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_LastBlockHeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_LastBlockHeightAll_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_LastBlockHeightAll_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_LastBlockHeightAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_Cctx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1966,46 +1830,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_LastBlockHeight_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_LastBlockHeight_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_LastBlockHeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_LastBlockHeightAll_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_LastBlockHeightAll_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_LastBlockHeightAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_Cctx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2216,10 +2040,6 @@ var ( pattern_Query_ProtocolFee_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "crosschain", "protocolFee"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_LastBlockHeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"zeta-chain", "crosschain", "lastBlockHeight", "index"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_LastBlockHeightAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "crosschain", "lastBlockHeight"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_Cctx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"zeta-chain", "crosschain", "cctx", "index"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CctxByNonce_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{"zeta-chain", "crosschain", "cctx", "chainID", "nonce"}, "", runtime.AssumeColonVerbOpt(false))) @@ -2266,10 +2086,6 @@ var ( forward_Query_ProtocolFee_0 = runtime.ForwardResponseMessage - forward_Query_LastBlockHeight_0 = runtime.ForwardResponseMessage - - forward_Query_LastBlockHeightAll_0 = runtime.ForwardResponseMessage - forward_Query_Cctx_0 = runtime.ForwardResponseMessage forward_Query_CctxByNonce_0 = runtime.ForwardResponseMessage