diff --git a/changelog.md b/changelog.md index bfe1c6b7d0..d3ccb52b5a 100644 --- a/changelog.md +++ b/changelog.md @@ -81,7 +81,7 @@ * [2549](https://github.com/zeta-chain/node/pull/2459) - add separate accounts for each policy in e2e tests * [2415](https://github.com/zeta-chain/node/pull/2415) - add e2e test for upgrade and test admin functionalities * [2440](https://github.com/zeta-chain/node/pull/2440) - Add e2e test for TSS migration - +* [2473](https://github.com/zeta-chain/node/pull/2473) - add e2e tests for most used admin transactions ### Fixes diff --git a/cmd/zetae2e/local/local.go b/cmd/zetae2e/local/local.go index 3b935c4791..4b485c1763 100644 --- a/cmd/zetae2e/local/local.go +++ b/cmd/zetae2e/local/local.go @@ -289,6 +289,7 @@ func localE2ETest(cmd *cobra.Command, _ []string) { e2etests.TestUpdateBytecodeZRC20Name, e2etests.TestUpdateBytecodeConnectorName, e2etests.TestDepositEtherLiquidityCapName, + e2etests.TestCriticalAdminTransactionsName, // TestMigrateChainSupportName tests EVM chain migration. Currently this test doesn't work with Anvil because pre-EIP1559 txs are not supported // See issue below for details diff --git a/docs/cli/zetacored/zetacored_query_crosschain.md b/docs/cli/zetacored/zetacored_query_crosschain.md index 6ee04cc8d2..a954c3d383 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain.md +++ b/docs/cli/zetacored/zetacored_query_crosschain.md @@ -40,6 +40,7 @@ zetacored query crosschain [flags] * [zetacored query crosschain show-cctx](zetacored_query_crosschain_show-cctx.md) - shows a CCTX * [zetacored query crosschain show-gas-price](zetacored_query_crosschain_show-gas-price.md) - shows a gasPrice * [zetacored query crosschain show-inbound-hash-to-cctx](zetacored_query_crosschain_show-inbound-hash-to-cctx.md) - shows a inboundHashToCctx +* [zetacored query crosschain show-inbound-tracker](zetacored_query_crosschain_show-inbound-tracker.md) - shows an inbound tracker by chainID and txHash * [zetacored query crosschain show-outbound-tracker](zetacored_query_crosschain_show-outbound-tracker.md) - shows an outbound tracker * [zetacored query crosschain show-rate-limiter-flags](zetacored_query_crosschain_show-rate-limiter-flags.md) - shows the rate limiter flags diff --git a/docs/cli/zetacored/zetacored_query_crosschain_show-inbound-tracker.md b/docs/cli/zetacored/zetacored_query_crosschain_show-inbound-tracker.md new file mode 100644 index 0000000000..ea9b8e8049 --- /dev/null +++ b/docs/cli/zetacored/zetacored_query_crosschain_show-inbound-tracker.md @@ -0,0 +1,34 @@ +# query crosschain show-inbound-tracker + +shows an inbound tracker by chainID and txHash + +``` +zetacored query crosschain show-inbound-tracker [chainID] [txHash] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-inbound-tracker + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](zetacored_query_crosschain.md) - Querying commands for the crosschain module + diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index ef6d1c39d6..8d16822b27 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -28846,6 +28846,30 @@ paths: type: string tags: - Query + /zeta-chain/crosschain/inboundTracker/{chain_id}/{tx_hash}: + get: + operationId: Query_InboundTracker + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryInboundTrackerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chain_id + in: path + required: true + type: string + format: int64 + - name: tx_hash + in: path + required: true + type: string + tags: + - Query /zeta-chain/crosschain/inboundTrackerByChain/{chain_id}: get: operationId: Query_InboundTrackerAllByChain @@ -57397,6 +57421,11 @@ definitions: items: type: object $ref: '#/definitions/crosschainCrossChainTx' + crosschainQueryInboundTrackerResponse: + type: object + properties: + inbound_tracker: + $ref: '#/definitions/crosschainInboundTracker' crosschainQueryLastZetaHeightResponse: type: object properties: diff --git a/e2e/e2etests/e2etests.go b/e2e/e2etests/e2etests.go index 453a87ee68..8e9b9c8245 100644 --- a/e2e/e2etests/e2etests.go +++ b/e2e/e2etests/e2etests.go @@ -94,12 +94,13 @@ const ( Admin tests Test admin functionalities */ - TestDepositEtherLiquidityCapName = "deposit_eth_liquidity_cap" - TestMigrateChainSupportName = "migrate_chain_support" - TestPauseZRC20Name = "pause_zrc20" - TestUpdateBytecodeZRC20Name = "update_bytecode_zrc20" - TestUpdateBytecodeConnectorName = "update_bytecode_connector" - TestRateLimiterName = "rate_limiter" + TestDepositEtherLiquidityCapName = "deposit_eth_liquidity_cap" + TestMigrateChainSupportName = "migrate_chain_support" + TestPauseZRC20Name = "pause_zrc20" + TestUpdateBytecodeZRC20Name = "update_bytecode_zrc20" + TestUpdateBytecodeConnectorName = "update_bytecode_connector" + TestRateLimiterName = "rate_limiter" + TestCriticalAdminTransactionsName = "critical_admin_transactions" TestMigrateTSSName = "migrate_TSS" @@ -533,6 +534,12 @@ var AllE2ETests = []runner.E2ETest{ []runner.ArgDefinition{}, TestRateLimiter, ), + runner.NewE2ETest( + TestCriticalAdminTransactionsName, + "test critical admin transactions", + []runner.ArgDefinition{}, + TestCriticalAdminTransactions, + ), /* Special tests */ diff --git a/e2e/e2etests/test_admin_transactions.go b/e2e/e2etests/test_admin_transactions.go new file mode 100644 index 0000000000..e611d878c3 --- /dev/null +++ b/e2e/e2etests/test_admin_transactions.go @@ -0,0 +1,105 @@ +package e2etests + +import ( + "github.com/stretchr/testify/require" + + "github.com/zeta-chain/zetacore/e2e/runner" + "github.com/zeta-chain/zetacore/e2e/utils" + "github.com/zeta-chain/zetacore/pkg/chains" + "github.com/zeta-chain/zetacore/pkg/coin" + "github.com/zeta-chain/zetacore/testutil/sample" + crosschaintypes "github.com/zeta-chain/zetacore/x/crosschain/types" + observertypes "github.com/zeta-chain/zetacore/x/observer/types" +) + +// TestCriticalAdminTransactions tests critical admin transactions that are the most used on mainnet . +// The complete list is +// MsgUpdateChainParams +// MsgRefundAbortedCCTX +// MsgEnableCCTX +// MsgDisableCCTX +// MsgUpdateGasPriceIncreaseFlags +// MsgAddInboundTracker +// MsgUpdateZRC20LiquidityCap +// MsgDeploySystemContracts +// MsgWhitelistERC20 +// MsgPauseZRC20 +// MsgMigrateTssFunds +// MsgUpdateTssAddress +// +// However, the transactions other than `AddToInboundTracker` and `UpdateGasPriceIncreaseFlags` have already been used in other tests. +func TestCriticalAdminTransactions(r *runner.E2ERunner, _ []string) { + TestAddToInboundTracker(r) + TestUpdateGasPriceIncreaseFlags(r) +} + +func TestUpdateGasPriceIncreaseFlags(r *runner.E2ERunner) { + // Set default flags on zetacore + defaultFlags := observertypes.DefaultGasPriceIncreaseFlags + msgGasPriceFlags := observertypes.NewMsgUpdateGasPriceIncreaseFlags( + r.ZetaTxServer.MustGetAccountAddressFromName(utils.OperationalPolicyName), + defaultFlags, + ) + _, err := r.ZetaTxServer.BroadcastTx(utils.OperationalPolicyName, msgGasPriceFlags) + require.NoError(r, err) + + // create a new set of flag values by incrementing the epoch length by 1 + defaultFlagsUpdated := defaultFlags + defaultFlagsUpdated.EpochLength = defaultFlags.EpochLength + 1 + + // Update the flags on zetacore with the new values + msgGasPriceFlags = observertypes.NewMsgUpdateGasPriceIncreaseFlags( + r.ZetaTxServer.MustGetAccountAddressFromName(utils.OperationalPolicyName), + defaultFlagsUpdated, + ) + _, err = r.ZetaTxServer.BroadcastTx(utils.OperationalPolicyName, msgGasPriceFlags) + require.NoError(r, err) + + r.WaitForBlocks(1) + + // Verify that the flags have been updated + flags, err := r.ObserverClient.CrosschainFlags(r.Ctx, &observertypes.QueryGetCrosschainFlagsRequest{}) + require.NoError(r, err) + require.Equal(r, defaultFlagsUpdated.EpochLength, flags.CrosschainFlags.GasPriceIncreaseFlags.EpochLength) +} + +func TestAddToInboundTracker(r *runner.E2ERunner) { + chainEth := chains.GoerliLocalnet + chainBtc := chains.BitcoinRegtest + msgEth := crosschaintypes.NewMsgAddInboundTracker( + r.ZetaTxServer.MustGetAccountAddressFromName(utils.EmergencyPolicyName), + chainEth.ChainId, + coin.CoinType_Gas, + sample.Hash().Hex(), + ) + _, err := r.ZetaTxServer.BroadcastTx(utils.EmergencyPolicyName, msgEth) + require.NoError(r, err) + + msgBtc := crosschaintypes.NewMsgAddInboundTracker( + r.ZetaTxServer.MustGetAccountAddressFromName(utils.EmergencyPolicyName), + chainBtc.ChainId, + coin.CoinType_Gas, + sample.BtcHash().String(), + ) + + _, err = r.ZetaTxServer.BroadcastTx(utils.EmergencyPolicyName, msgBtc) + require.NoError(r, err) + + r.WaitForBlocks(1) + + tracker, err := r.CctxClient.InboundTracker(r.Ctx, &crosschaintypes.QueryInboundTrackerRequest{ + ChainId: msgEth.ChainId, + TxHash: msgEth.TxHash, + }) + require.NoError(r, err) + require.NotNil(r, tracker) + require.Equal(r, msgEth.TxHash, tracker.InboundTracker.TxHash) + + tracker, err = r.CctxClient.InboundTracker(r.Ctx, &crosschaintypes.QueryInboundTrackerRequest{ + ChainId: msgBtc.ChainId, + TxHash: msgBtc.TxHash, + }) + require.NoError(r, err) + require.NotNil(r, tracker) + require.Equal(r, msgBtc.TxHash, tracker.InboundTracker.TxHash) +} diff --git a/e2e/runner/zeta.go b/e2e/runner/zeta.go index 732104afe1..95f160a801 100644 --- a/e2e/runner/zeta.go +++ b/e2e/runner/zeta.go @@ -1,8 +1,11 @@ package runner import ( + "fmt" "math/big" + "time" + "github.com/cenkalti/backoff/v4" ethcommon "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/stretchr/testify/require" @@ -10,9 +13,35 @@ import ( connectorzevm "github.com/zeta-chain/protocol-contracts/pkg/contracts/zevm/zetaconnectorzevm.sol" "github.com/zeta-chain/zetacore/e2e/utils" + "github.com/zeta-chain/zetacore/pkg/retry" "github.com/zeta-chain/zetacore/x/crosschain/types" ) +func (r *E2ERunner) WaitForBlocks(n int64) { + height, err := r.CctxClient.LastZetaHeight(r.Ctx, &types.QueryLastZetaHeightRequest{}) + if err != nil { + return + } + call := func() error { + return retry.Retry(r.waitForBlock(height.Height + n)) + } + + bo := backoff.NewConstantBackOff(time.Second * 5) + boWithMaxRetries := backoff.WithMaxRetries(bo, 10) + err = retry.DoWithBackoff(call, boWithMaxRetries) + require.NoError(r, err, "failed to wait for %d blocks", n) +} +func (r *E2ERunner) waitForBlock(n int64) error { + height, err := r.CctxClient.LastZetaHeight(r.Ctx, &types.QueryLastZetaHeightRequest{}) + if err != nil { + return err + } + if height.Height < n { + return fmt.Errorf("waiting for %d blocks, current height %d", n, height.Height) + } + return nil +} + // WaitForTxReceiptOnZEVM waits for a tx receipt on ZEVM func (r *E2ERunner) WaitForTxReceiptOnZEVM(tx *ethtypes.Transaction) { r.Lock() diff --git a/proto/zetachain/zetacore/crosschain/query.proto b/proto/zetachain/zetacore/crosschain/query.proto index d9021e29f1..da1786cc6e 100644 --- a/proto/zetachain/zetacore/crosschain/query.proto +++ b/proto/zetachain/zetacore/crosschain/query.proto @@ -45,6 +45,12 @@ service Query { option (google.api.http).get = "/zeta-chain/crosschain/inboundTrackers"; } + rpc InboundTracker(QueryInboundTrackerRequest) + returns (QueryInboundTrackerResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/inboundTracker/{chain_id}/{tx_hash}"; + } + // Queries a InboundHashToCctx by index. rpc InboundHashToCctx(QueryGetInboundHashToCctxRequest) returns (QueryGetInboundHashToCctxResponse) { @@ -383,3 +389,12 @@ message QueryRateLimiterFlagsRequest {} message QueryRateLimiterFlagsResponse { RateLimiterFlags rateLimiterFlags = 1 [ (gogoproto.nullable) = false ]; } + +message QueryInboundTrackerRequest { + int64 chain_id = 1; + string tx_hash = 2; +} + +message QueryInboundTrackerResponse { + InboundTracker inbound_tracker = 1 [ (gogoproto.nullable) = false ]; +} \ No newline at end of file diff --git a/typescript/zetachain/zetacore/crosschain/query_pb.d.ts b/typescript/zetachain/zetacore/crosschain/query_pb.d.ts index f54d1d67e6..7b0766beca 100644 --- a/typescript/zetachain/zetacore/crosschain/query_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/query_pb.d.ts @@ -1214,3 +1214,56 @@ export declare class QueryRateLimiterFlagsResponse extends Message | undefined, b: QueryRateLimiterFlagsResponse | PlainMessage | undefined): boolean; } +/** + * @generated from message zetachain.zetacore.crosschain.QueryInboundTrackerRequest + */ +export declare class QueryInboundTrackerRequest extends Message { + /** + * @generated from field: int64 chain_id = 1; + */ + chainId: bigint; + + /** + * @generated from field: string tx_hash = 2; + */ + txHash: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.crosschain.QueryInboundTrackerRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): QueryInboundTrackerRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): QueryInboundTrackerRequest; + + static fromJsonString(jsonString: string, options?: Partial): QueryInboundTrackerRequest; + + static equals(a: QueryInboundTrackerRequest | PlainMessage | undefined, b: QueryInboundTrackerRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message zetachain.zetacore.crosschain.QueryInboundTrackerResponse + */ +export declare class QueryInboundTrackerResponse extends Message { + /** + * @generated from field: zetachain.zetacore.crosschain.InboundTracker inbound_tracker = 1; + */ + inboundTracker?: InboundTracker; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.crosschain.QueryInboundTrackerResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): QueryInboundTrackerResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): QueryInboundTrackerResponse; + + static fromJsonString(jsonString: string, options?: Partial): QueryInboundTrackerResponse; + + static equals(a: QueryInboundTrackerResponse | PlainMessage | undefined, b: QueryInboundTrackerResponse | PlainMessage | undefined): boolean; +} + diff --git a/x/crosschain/client/cli/query.go b/x/crosschain/client/cli/query.go index 63669896cf..4df27d227d 100644 --- a/x/crosschain/client/cli/query.go +++ b/x/crosschain/client/cli/query.go @@ -36,6 +36,7 @@ func GetQueryCmd(_ string) *cobra.Command { CmdPendingCctx(), CmdListInboundTrackerByChain(), CmdListInboundTrackers(), + CmdShowInboundTracker(), CmdGetZetaAccounting(), CmdListPendingCCTXWithinRateLimit(), diff --git a/x/crosschain/client/cli/query_inbound_tracker.go b/x/crosschain/client/cli/query_inbound_tracker.go index e467386176..48d9e0e88b 100644 --- a/x/crosschain/client/cli/query_inbound_tracker.go +++ b/x/crosschain/client/cli/query_inbound_tracker.go @@ -4,6 +4,7 @@ import ( "context" "strconv" + "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" @@ -11,6 +12,37 @@ import ( "github.com/zeta-chain/zetacore/x/crosschain/types" ) +func CmdShowInboundTracker() *cobra.Command { + cmd := &cobra.Command{ + Use: "show-inbound-tracker [chainID] [txHash]", + Short: "shows an inbound tracker by chainID and txHash", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) (err error) { + clientCtx := client.GetClientContextFromCmd(cmd) + queryClient := types.NewQueryClient(clientCtx) + argChain, err := strconv.ParseInt(args[0], 10, 64) + if err != nil { + return errors.Wrapf(err, "unable to parse chain id from %q", args[0]) + } + params := &types.QueryInboundTrackerRequest{ + ChainId: argChain, + TxHash: args[1], + } + res, err := queryClient.InboundTracker(context.Background(), params) + if err != nil { + return errors.Wrapf( + err, + "failed to fetch inbound tracker for chain %d and tx hash %s", + argChain, + args[1], + ) + } + return clientCtx.PrintProto(res) + }, + } + flags.AddQueryFlagsToCmd(cmd) + return cmd +} func CmdListInboundTrackerByChain() *cobra.Command { cmd := &cobra.Command{ Use: "list-inbound-tracker [chainId]", diff --git a/x/crosschain/keeper/grpc_query_inbound_tracker.go b/x/crosschain/keeper/grpc_query_inbound_tracker.go index a076ffb677..e5b57b895b 100644 --- a/x/crosschain/keeper/grpc_query_inbound_tracker.go +++ b/x/crosschain/keeper/grpc_query_inbound_tracker.go @@ -35,3 +35,22 @@ func (k Keeper) InboundTrackerAll( } return &types.QueryAllInboundTrackersResponse{InboundTracker: inTxTrackers, Pagination: pageRes}, nil } + +func (k Keeper) InboundTracker( + goCtx context.Context, + req *types.QueryInboundTrackerRequest, +) (*types.QueryInboundTrackerResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + inTxTracker, found := k.GetInboundTracker(ctx, req.ChainId, req.TxHash) + if !found { + return nil, status.Errorf( + codes.NotFound, + "Inbound tracker not found for ChainID: %d, TxHash: %s", + req.ChainId, + req.TxHash, + ) + } + + return &types.QueryInboundTrackerResponse{InboundTracker: inTxTracker}, nil +} diff --git a/x/crosschain/keeper/grpc_query_inbound_tracker_test.go b/x/crosschain/keeper/grpc_query_inbound_tracker_test.go index 3c17284faa..3a5aa9b12c 100644 --- a/x/crosschain/keeper/grpc_query_inbound_tracker_test.go +++ b/x/crosschain/keeper/grpc_query_inbound_tracker_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - + "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" "github.com/zeta-chain/zetacore/testutil/sample" @@ -48,3 +48,36 @@ func TestKeeper_InboundTrackerAll(t *testing.T) { require.NoError(t, err) require.Equal(t, 2, len(res.InboundTracker)) } + +func TestKeeper_InboundTracker(t *testing.T) { + t.Run("successfully get inbound tracker", func(t *testing.T) { + k, ctx, _, _ := keepertest.CrosschainKeeper(t) + hash := sample.Hash().Hex() + chainID := chains.GoerliLocalnet.ChainId + k.SetInboundTracker(ctx, types.InboundTracker{ + ChainId: chainID, + TxHash: hash, + CoinType: coin.CoinType_Gas, + }) + + res, err := k.InboundTracker(ctx, &types.QueryInboundTrackerRequest{ + ChainId: chainID, + TxHash: hash, + }) + require.NoError(t, err) + require.NotNil(t, res.InboundTracker) + }) + + t.Run("inbound tracker not found", func(t *testing.T) { + k, ctx, _, _ := keepertest.CrosschainKeeper(t) + hash := sample.Hash().Hex() + chainID := chains.GoerliLocalnet.ChainId + + res, err := k.InboundTracker(ctx, &types.QueryInboundTrackerRequest{ + ChainId: chainID, + TxHash: hash, + }) + require.ErrorContains(t, err, "not found") + require.Nil(t, res) + }) +} diff --git a/x/crosschain/types/query.pb.go b/x/crosschain/types/query.pb.go index 524a361087..2832a6c6a4 100644 --- a/x/crosschain/types/query.pb.go +++ b/x/crosschain/types/query.pb.go @@ -2214,6 +2214,102 @@ func (m *QueryRateLimiterFlagsResponse) GetRateLimiterFlags() RateLimiterFlags { return RateLimiterFlags{} } +type QueryInboundTrackerRequest struct { + ChainId int64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` +} + +func (m *QueryInboundTrackerRequest) Reset() { *m = QueryInboundTrackerRequest{} } +func (m *QueryInboundTrackerRequest) String() string { return proto.CompactTextString(m) } +func (*QueryInboundTrackerRequest) ProtoMessage() {} +func (*QueryInboundTrackerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d00cb546ea76908b, []int{45} +} +func (m *QueryInboundTrackerRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryInboundTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryInboundTrackerRequest.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 *QueryInboundTrackerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryInboundTrackerRequest.Merge(m, src) +} +func (m *QueryInboundTrackerRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryInboundTrackerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryInboundTrackerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryInboundTrackerRequest proto.InternalMessageInfo + +func (m *QueryInboundTrackerRequest) GetChainId() int64 { + if m != nil { + return m.ChainId + } + return 0 +} + +func (m *QueryInboundTrackerRequest) GetTxHash() string { + if m != nil { + return m.TxHash + } + return "" +} + +type QueryInboundTrackerResponse struct { + InboundTracker InboundTracker `protobuf:"bytes,1,opt,name=inbound_tracker,json=inboundTracker,proto3" json:"inbound_tracker"` +} + +func (m *QueryInboundTrackerResponse) Reset() { *m = QueryInboundTrackerResponse{} } +func (m *QueryInboundTrackerResponse) String() string { return proto.CompactTextString(m) } +func (*QueryInboundTrackerResponse) ProtoMessage() {} +func (*QueryInboundTrackerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d00cb546ea76908b, []int{46} +} +func (m *QueryInboundTrackerResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryInboundTrackerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryInboundTrackerResponse.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 *QueryInboundTrackerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryInboundTrackerResponse.Merge(m, src) +} +func (m *QueryInboundTrackerResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryInboundTrackerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryInboundTrackerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryInboundTrackerResponse proto.InternalMessageInfo + +func (m *QueryInboundTrackerResponse) GetInboundTracker() InboundTracker { + if m != nil { + return m.InboundTracker + } + return InboundTracker{} +} + func init() { proto.RegisterType((*QueryZetaAccountingRequest)(nil), "zetachain.zetacore.crosschain.QueryZetaAccountingRequest") proto.RegisterType((*QueryZetaAccountingResponse)(nil), "zetachain.zetacore.crosschain.QueryZetaAccountingResponse") @@ -2260,6 +2356,8 @@ func init() { proto.RegisterType((*QueryMessagePassingProtocolFeeResponse)(nil), "zetachain.zetacore.crosschain.QueryMessagePassingProtocolFeeResponse") proto.RegisterType((*QueryRateLimiterFlagsRequest)(nil), "zetachain.zetacore.crosschain.QueryRateLimiterFlagsRequest") proto.RegisterType((*QueryRateLimiterFlagsResponse)(nil), "zetachain.zetacore.crosschain.QueryRateLimiterFlagsResponse") + proto.RegisterType((*QueryInboundTrackerRequest)(nil), "zetachain.zetacore.crosschain.QueryInboundTrackerRequest") + proto.RegisterType((*QueryInboundTrackerResponse)(nil), "zetachain.zetacore.crosschain.QueryInboundTrackerResponse") } func init() { @@ -2267,150 +2365,154 @@ func init() { } var fileDescriptor_d00cb546ea76908b = []byte{ - // 2277 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcd, 0x6f, 0x14, 0xc9, - 0x15, 0xa7, 0x3c, 0x98, 0x85, 0x67, 0x30, 0xb8, 0x30, 0xe0, 0x9d, 0x05, 0xc3, 0x36, 0x0b, 0xf6, - 0x42, 0x3c, 0x03, 0x36, 0x36, 0x60, 0xd8, 0x65, 0xfd, 0xc1, 0x87, 0x13, 0x03, 0xde, 0x91, 0x15, - 0x22, 0xa2, 0xa4, 0x55, 0xee, 0xa9, 0xed, 0xe9, 0x6c, 0xbb, 0x7b, 0x76, 0xba, 0x07, 0x9b, 0x45, - 0x3e, 0x64, 0xa5, 0x1c, 0x72, 0x8b, 0xb4, 0x8a, 0x72, 0xc9, 0x35, 0x4a, 0x0e, 0x39, 0xe4, 0x10, - 0xed, 0x25, 0x4a, 0xa4, 0x7c, 0xa3, 0x7c, 0x48, 0x64, 0x23, 0xad, 0xa2, 0x1c, 0xa2, 0x0d, 0x44, - 0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, 0x29, 0x18, 0xd0, - 0xda, 0x63, 0x78, 0x89, 0xf8, 0x5f, 0x39, 0x55, 0xfd, 0x6a, 0x8a, 0x1b, 0x8c, 0x48, 0x15, 0x86, - 0xb4, 0xf0, 0x20, 0x26, 0xe1, 0x42, 0xbe, 0xa0, 0xb4, 0xed, 0x30, 0x2e, 0x51, 0x87, 0xd2, 0x4d, - 0x84, 0x12, 0x31, 0x59, 0x64, 0x36, 0xcb, 0x4f, 0x69, 0x0b, 0xa4, 0x34, 0x37, 0x48, 0xe9, 0x01, - 0x1c, 0x58, 0x70, 0x50, 0x8a, 0xed, 0xb2, 0xba, 0x69, 0x61, 0x8e, 0xcf, 0x67, 0xd0, 0xf1, 0xdb, - 0x20, 0x93, 0xa0, 0x1f, 0xe9, 0x1b, 0x98, 0x97, 0x76, 0x81, 0x45, 0xf3, 0xd2, 0xab, 0x6a, 0xfe, - 0xd8, 0xcb, 0x5e, 0xfc, 0x62, 0xe9, 0xd9, 0x2b, 0xf4, 0x34, 0x7b, 0xbd, 0x2b, 0xec, 0x32, 0x1c, - 0xf3, 0x2a, 0xf2, 0x36, 0xb3, 0x56, 0x9c, 0x06, 0xd5, 0x77, 0x6b, 0x69, 0x46, 0x95, 0x6f, 0x62, - 0xda, 0xdd, 0x07, 0x49, 0x86, 0x91, 0xa8, 0x01, 0x72, 0x5f, 0x80, 0xbd, 0xde, 0x3b, 0x8c, 0xf3, - 0x58, 0x06, 0xe5, 0x96, 0x8b, 0x96, 0xa1, 0xc4, 0x10, 0xd1, 0x9c, 0xae, 0x87, 0x11, 0xf5, 0x2a, - 0x93, 0x3f, 0x22, 0x48, 0x22, 0xb0, 0x46, 0x2c, 0x89, 0x42, 0x57, 0x24, 0x7a, 0x97, 0x9f, 0x99, - 0x76, 0xc7, 0xb9, 0xcc, 0x2c, 0x7b, 0xde, 0x69, 0xd1, 0xef, 0x88, 0x0e, 0x3d, 0x3d, 0x4d, 0x4f, - 0xda, 0x6d, 0x65, 0xc4, 0x0e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x45, 0xff, 0x4d, 0x60, 0x24, 0x28, 0x09, - 0xf9, 0x88, 0x2e, 0xe4, 0x84, 0x98, 0xa6, 0x34, 0x16, 0x17, 0xb7, 0xe7, 0x04, 0x69, 0xde, 0x10, - 0x34, 0xaf, 0xd2, 0xcb, 0x09, 0x34, 0x35, 0x23, 0x99, 0xa5, 0xac, 0x55, 0xb7, 0xe8, 0xaf, 0x08, - 0x0c, 0x45, 0x88, 0xe6, 0xae, 0xcb, 0x78, 0xc1, 0x2f, 0x77, 0x5d, 0x26, 0x88, 0x78, 0x99, 0x75, - 0x19, 0x64, 0x65, 0xd1, 0x4f, 0xda, 0x24, 0x7c, 0xa2, 0xc6, 0x8d, 0x9c, 0xbb, 0x3e, 0x49, 0xe9, - 0x29, 0xbe, 0xd5, 0xbd, 0x03, 0x24, 0xf2, 0xa6, 0x20, 0x72, 0x85, 0xce, 0xa4, 0x13, 0x69, 0x5b, - 0x96, 0x9f, 0xf8, 0x5e, 0x6d, 0xd1, 0x4f, 0x09, 0x1c, 0x89, 0x95, 0xc2, 0x68, 0x2e, 0x6c, 0x69, - 0x62, 0x5c, 0x71, 0x6e, 0x1b, 0x1e, 0x90, 0xde, 0xbc, 0xa0, 0x77, 0x9d, 0xce, 0xe6, 0xa5, 0xe7, - 0x58, 0x87, 0x28, 0xfe, 0x91, 0xc0, 0x70, 0x64, 0x15, 0xa7, 0x06, 0x6f, 0x74, 0x56, 0x44, 0x5d, - 0xa6, 0x2f, 0x4d, 0x7c, 0x93, 0x2e, 0x08, 0x7e, 0xe7, 0xe8, 0x78, 0x5e, 0x7e, 0xf4, 0xc7, 0xa4, - 0x2d, 0xf7, 0xd0, 0x99, 0x9c, 0xf5, 0x13, 0xd2, 0xa5, 0x8a, 0x97, 0x3b, 0xb6, 0x43, 0xbc, 0x65, - 0x81, 0xf7, 0x75, 0x3a, 0x96, 0x80, 0x57, 0x45, 0x03, 0x27, 0x05, 0x55, 0xbe, 0xb9, 0x45, 0x7f, - 0x48, 0x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 0x4d, 0xe6, 0xcc, 0x68, 0xc7, 0x81, 0x0d, 0x89, - 0x8b, 0xd2, 0x69, 0x81, 0xf5, 0x04, 0x7d, 0x25, 0x05, 0x2b, 0xfd, 0xc8, 0xd9, 0x80, 0x41, 0x49, - 0x83, 0xce, 0xe6, 0x59, 0x2d, 0x5e, 0x18, 0x2c, 0x5e, 0xeb, 0xca, 0x36, 0xef, 0xc9, 0xe1, 0x03, - 0xf9, 0x5f, 0x02, 0xa3, 0xe9, 0x5a, 0x0c, 0x5d, 0xea, 0x02, 0x4b, 0xbc, 0x28, 0x54, 0xfc, 0x62, - 0x2f, 0x5c, 0x21, 0xcb, 0xab, 0x82, 0xe5, 0x14, 0xbd, 0x98, 0xcd, 0x32, 0xcc, 0xe8, 0x23, 0x02, - 0x83, 0xc1, 0x7f, 0x17, 0xca, 0xb7, 0x03, 0x62, 0xff, 0x01, 0xa9, 0x38, 0xdb, 0x8d, 0x29, 0x92, - 0x98, 0x10, 0x24, 0xc6, 0xe8, 0x99, 0x04, 0x12, 0xef, 0x07, 0x51, 0x3a, 0xc0, 0x83, 0xc2, 0x4e, - 0x3e, 0xe0, 0xb1, 0x52, 0x51, 0x3e, 0xe0, 0xf1, 0x3a, 0x52, 0x26, 0x70, 0x3d, 0x88, 0xd2, 0x69, - 0x15, 0xc2, 0xba, 0x43, 0xbe, 0x56, 0x21, 0x41, 0x21, 0xc9, 0xd7, 0x2a, 0x24, 0xa9, 0x27, 0x99, - 0xad, 0x42, 0x58, 0x0b, 0x09, 0x13, 0x10, 0x7a, 0x74, 0xc7, 0x04, 0xfc, 0xa2, 0x78, 0xc7, 0x04, - 0x02, 0x12, 0x78, 0x27, 0x04, 0x5c, 0xac, 0x7f, 0x22, 0xb0, 0xff, 0x7e, 0xd3, 0x5e, 0xdd, 0xdc, - 0x21, 0xfa, 0x4d, 0x0e, 0x31, 0xa0, 0x85, 0x35, 0xe6, 0x2a, 0xf8, 0xb9, 0xab, 0x48, 0xb5, 0xa6, - 0xec, 0x00, 0xe5, 0x26, 0xeb, 0x06, 0xf6, 0x33, 0xa2, 0xff, 0x24, 0x70, 0x34, 0x84, 0x7f, 0x47, - 0x6a, 0x36, 0xb3, 0x82, 0xd4, 0x25, 0x3a, 0x99, 0x83, 0x54, 0x58, 0xb0, 0x71, 0xbf, 0x94, 0xe3, - 0x28, 0xee, 0x20, 0xb5, 0xe6, 0xba, 0x20, 0x38, 0x43, 0x2f, 0x25, 0x7e, 0x4f, 0x26, 0xf0, 0x13, - 0x52, 0xcd, 0xcf, 0x08, 0x0c, 0x06, 0x29, 0xfe, 0xbf, 0x75, 0x9a, 0xac, 0xcb, 0xdf, 0xc7, 0x87, - 0x3e, 0x43, 0xf4, 0x3b, 0x4b, 0xa0, 0xb9, 0x26, 0x18, 0x4c, 0xd3, 0xa9, 0x14, 0x06, 0x89, 0xea, - 0xcc, 0xdf, 0x09, 0xd0, 0x20, 0xa5, 0x9d, 0x23, 0xcd, 0x64, 0x0b, 0x83, 0x61, 0xdc, 0x21, 0x72, - 0xbf, 0x15, 0x9a, 0x9a, 0x7f, 0xd2, 0x0e, 0x11, 0x65, 0xb2, 0xba, 0x81, 0x20, 0xb3, 0xf9, 0x2f, - 0x3d, 0x7d, 0x3e, 0x4a, 0x9e, 0x3d, 0x1f, 0x25, 0x9f, 0x3e, 0x1f, 0x25, 0xdf, 0x79, 0x31, 0xba, - 0xeb, 0xd9, 0x8b, 0xd1, 0x5d, 0x7f, 0x7b, 0x31, 0xba, 0xeb, 0xe1, 0x45, 0x55, 0xb3, 0x6b, 0xcd, - 0xb5, 0x92, 0x62, 0xae, 0xfb, 0x5d, 0xb5, 0xfe, 0xc5, 0x7c, 0xd3, 0xef, 0xd5, 0x7e, 0x5c, 0xe7, - 0xd6, 0xda, 0x1e, 0xf1, 0x21, 0x3c, 0xf5, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xf9, 0x7b, - 0x83, 0x47, 0x30, 0x00, 0x00, + // 2349 bytes of a g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0xcd, 0xe9, 0x31, 0x82, 0x4e, 0xa2, 0xf1, + 0x7d, 0xa5, 0x21, 0x68, 0x12, 0xb6, 0xa2, 0x41, 0x59, 0xc6, 0xa3, 0xc2, 0xdd, 0x1d, 0xc6, 0x1f, + 0x00, 0xf5, 0x15, 0x97, 0x39, 0x0c, 0x48, 0x46, 0xf0, 0x1e, 0x41, 0x72, 0x71, 0x41, 0x78, 0xc9, + 0x95, 0xbc, 0x57, 0x32, 0x8c, 0x77, 0x99, 0x96, 0xa9, 0xb1, 0x91, 0xbe, 0x93, 0x68, 0x7c, 0x67, + 0xc9, 0x7d, 0x51, 0xbe, 0x85, 0xf0, 0x89, 0x44, 0x97, 0x80, 0xf2, 0x1b, 0x78, 0xd0, 0x0a, 0x36, + 0x09, 0xdf, 0xfd, 0x93, 0x85, 0x42, 0xea, 0x94, 0x2f, 0x84, 0x1c, 0xce, 0xed, 0x7c, 0xfa, 0xaf, + 0x13, 0x3b, 0x4a, 0x61, 0x67, 0x4a, 0x15, 0x58, 0xcd, 0x1a, 0x46, 0x02, 0xab, 0xdb, 0x18, 0xb7, + 0xd7, 0x08, 0x0c, 0x7e, 0xa6, 0xe0, 0x2e, 0xa8, 0x82, 0xb3, 0xa0, 0x0a, 0xee, 0x42, 0x84, 0x05, + 0x55, 0x58, 0xa6, 0x15, 0x06, 0xb6, 0x25, 0x9f, 0xa5, 0xf2, 0x27, 0x8f, 0x6d, 0xdc, 0x50, 0x69, + 0x6c, 0x73, 0x3d, 0x63, 0x4b, 0xee, 0x04, 0xb8, 0xf4, 0x09, 0x2e, 0x63, 0x99, 0x5c, 0x5c, 0x70, + 0x01, 0x32, 0xdf, 0x46, 0xf8, 0x74, 0x02, 0x99, 0xb9, 0x27, 0xf3, 0x0e, 0x24, 0x2f, 0x7c, 0xc3, + 0x78, 0x97, 0x80, 0x08, 0x53, 0xc2, 0x7d, 0x09, 0x05, 0xb5, 0xaf, 0xeb, 0xa0, 0xfe, 0x15, 0xe1, + 0x33, 0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 0xf6, 0x08, 0x9c, 0xbe, 0x86, 0x07, 0x43, 0xd2, 0x36, 0x50, 0xea, 0x85, 0x52, 0x30, 0xf9, 0xc3, + 0x49, 0xbc, 0x4b, 0x8c, 0x4e, 0x3e, 0x41, 0x78, 0x30, 0x24, 0x77, 0x91, 0x37, 0x33, 0x86, 0x48, + 0x17, 0x85, 0xf3, 0x6f, 0x75, 0x6b, 0xee, 0x52, 0x57, 0x6e, 0x7e, 0xf0, 0xb7, 0xff, 0x7c, 0xd8, + 0x77, 0x95, 0x5c, 0x16, 0x72, 0xfa, 0x84, 0xef, 0x9f, 0x10, 0x41, 0x19, 0x1e, 0xec, 0x8a, 0x1b, + 0x50, 0xf2, 0x6d, 0x16, 0x37, 0x44, 0x91, 0xb7, 0x49, 0x7e, 0x8b, 0x30, 0x09, 0x79, 0x9f, 0x35, + 0x0c, 0x39, 0x5e, 0x89, 0xb2, 0xb0, 0x1c, 0xaf, 0x64, 0xa9, 0x57, 0x29, 0x08, 0x5e, 0xe3, 0xe4, + 0x8c, 0x1c, 0x2f, 0xf2, 0x3f, 0x84, 0x5f, 0x89, 0xb2, 0x00, 0x15, 0x8e, 0x2c, 0x74, 0x87, 0x26, + 0x28, 0x28, 0xe6, 0x6f, 0x6d, 0xd1, 0x0b, 0x50, 0x7b, 0x53, 0x50, 0xbb, 0x44, 0xa6, 0xe5, 0xa8, + 0x81, 0x39, 0x64, 0x6e, 0x93, 0xfc, 0x17, 0xe1, 0x91, 0xe0, 0xbc, 0xf5, 0x11, 0x9d, 0x97, 0x84, + 0x98, 0x26, 0x9c, 0xe6, 0x17, 0xb6, 0xe6, 0x04, 0x68, 0xde, 0x10, 0x34, 0xaf, 0x90, 0x4b, 0x09, + 0x34, 0x75, 0x33, 0x99, 0xa5, 0xaa, 0x97, 0x37, 0xc9, 0x6f, 0x10, 0x1e, 0x8a, 0x10, 0x95, 0x9e, + 0x97, 0xf1, 0xfa, 0xa5, 0xf4, 0xbc, 0x4c, 0xd0, 0x24, 0x33, 0xe7, 0x65, 0x90, 0x95, 0x4d, 0x3e, + 0x46, 0x78, 0x20, 0xe8, 0x8b, 0x5c, 0x91, 0x81, 0x10, 0xbb, 0x77, 0xe6, 0xaf, 0x76, 0x63, 0x0a, + 0xc8, 0xe7, 0x04, 0xf2, 0xeb, 0xe4, 0xaa, 0x14, 0x72, 0x5f, 0x22, 0x8a, 0x1b, 0xb0, 0x29, 0x6f, + 0x92, 0xbf, 0xb7, 0x53, 0xe2, 0x53, 0x9c, 0x6e, 0x48, 0xee, 0x61, 0x49, 0x32, 0x5c, 0xfe, 0x66, + 0xf7, 0x0e, 0x80, 0xdc, 0x5b, 0x82, 0xdc, 0x65, 0x32, 0x93, 0x4e, 0xae, 0x6d, 0x59, 0xdc, 0xf0, + 0x7d, 0xda, 0x24, 0x9f, 0x22, 0x7c, 0x38, 0x56, 0xa7, 0x24, 0x37, 0x3b, 0x08, 0x79, 0xac, 0x52, + 0x9a, 0x9f, 0xdd, 0x82, 0x87, 0xce, 0x72, 0x17, 0xb4, 0x0e, 0x51, 0xfc, 0x18, 0xe1, 0xe1, 0xc8, + 0x28, 0xce, 0x8a, 0xba, 0xd1, 0xd9, 0x92, 0xe8, 0x32, 0x7d, 0x69, 0xca, 0xa8, 0x72, 0x5e, 0xf0, + 0x3b, 0x4b, 0xc6, 0x65, 0xf9, 0x91, 0x9f, 0xa2, 0xb6, 0x16, 0x47, 0x66, 0x24, 0xe7, 0x4f, 0x48, + 0x34, 0xcc, 0x5f, 0xea, 0xd8, 0x0e, 0xf0, 0x16, 0x05, 0xde, 0x37, 0xc8, 0x58, 0x02, 0xde, 0x0a, + 0x18, 0x38, 0x29, 0x28, 0xb3, 0xe6, 0x26, 0xf9, 0x31, 0xc2, 0xfd, 0x9e, 0x17, 0x27, 0xe6, 0x33, + 0x92, 0x21, 0xeb, 0x0a, 0x71, 0x8c, 0x74, 0xa9, 0x8c, 0x09, 0xc4, 0xaf, 0x91, 0x13, 0x19, 0x88, + 0xc9, 0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+ 0x25, 0x48, 0x85, 0xe5, 0x27, 0xf7, 0xa6, 0x1c, 0x47, 0x71, 0x1b, 0x69, 0x4f, 0xd7, 0x05, 0xc1, + 0x19, 0x72, 0x31, 0xf1, 0x3e, 0x99, 0xc0, 0x4f, 0x08, 0x4f, 0xbf, 0x10, 0x9a, 0x4d, 0x57, 0xb3, + 0xf0, 0x25, 0xa9, 0x4e, 0x59, 0x87, 0xbf, 0x8f, 0x0f, 0x79, 0x06, 0xe8, 0xb7, 0x97, 0x40, 0x73, + 0x4d, 0x30, 0x98, 0x26, 0x53, 0x29, 0x0c, 0x12, 0xd5, 0x99, 0x7f, 0x22, 0x4c, 0x82, 0x94, 0xb6, + 0x8f, 0x34, 0x93, 0x2d, 0x73, 0x86, 0x71, 0x87, 0xc8, 0xfd, 0x5e, 0x68, 0x6a, 0xfe, 0x4e, 0xdb, + 0x44, 0x94, 0xc9, 0xaa, 0x06, 0x82, 0xcc, 0xe6, 0xbe, 0xf4, 0xf4, 0xf9, 0x28, 0x7a, 0xf6, 0x7c, + 0x14, 0x7d, 0xfa, 0x7c, 0x14, 0x7d, 0xf7, 0xc5, 0xe8, 0x8e, 0x67, 0x2f, 0x46, 0x77, 0xfc, 0xe3, + 0xc5, 0xe8, 0x8e, 0x47, 0x17, 0x2a, 0x3a, 0xaf, 0x36, 0x56, 0x0b, 0x9a, 0xb5, 0xe6, 0x77, 0xd5, + 0xfa, 0xfd, 0x7f, 0xd3, 0xef, 0x95, 0x3f, 0xa9, 0x31, 0x7b, 0x75, 0xb7, 0xb8, 0x08, 0x4f, 0x7d, + 0x16, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x90, 0xcc, 0xec, 0xe4, 0x31, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2432,6 +2534,7 @@ type QueryClient interface { OutboundTrackerAllByChain(ctx context.Context, in *QueryAllOutboundTrackerByChainRequest, opts ...grpc.CallOption) (*QueryAllOutboundTrackerByChainResponse, error) InboundTrackerAllByChain(ctx context.Context, in *QueryAllInboundTrackerByChainRequest, opts ...grpc.CallOption) (*QueryAllInboundTrackerByChainResponse, error) InboundTrackerAll(ctx context.Context, in *QueryAllInboundTrackersRequest, opts ...grpc.CallOption) (*QueryAllInboundTrackersResponse, error) + InboundTracker(ctx context.Context, in *QueryInboundTrackerRequest, opts ...grpc.CallOption) (*QueryInboundTrackerResponse, error) // Queries a InboundHashToCctx by index. InboundHashToCctx(ctx context.Context, in *QueryGetInboundHashToCctxRequest, opts ...grpc.CallOption) (*QueryGetInboundHashToCctxResponse, error) // Queries a InboundHashToCctx data by index. @@ -2536,6 +2639,15 @@ func (c *queryClient) InboundTrackerAll(ctx context.Context, in *QueryAllInbound return out, nil } +func (c *queryClient) InboundTracker(ctx context.Context, in *QueryInboundTrackerRequest, opts ...grpc.CallOption) (*QueryInboundTrackerResponse, error) { + out := new(QueryInboundTrackerResponse) + err := c.cc.Invoke(ctx, "/zetachain.zetacore.crosschain.Query/InboundTracker", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) InboundHashToCctx(ctx context.Context, in *QueryGetInboundHashToCctxRequest, opts ...grpc.CallOption) (*QueryGetInboundHashToCctxResponse, error) { out := new(QueryGetInboundHashToCctxResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.crosschain.Query/InboundHashToCctx", in, out, opts...) @@ -2779,6 +2891,7 @@ type QueryServer interface { OutboundTrackerAllByChain(context.Context, *QueryAllOutboundTrackerByChainRequest) (*QueryAllOutboundTrackerByChainResponse, error) InboundTrackerAllByChain(context.Context, *QueryAllInboundTrackerByChainRequest) (*QueryAllInboundTrackerByChainResponse, error) InboundTrackerAll(context.Context, *QueryAllInboundTrackersRequest) (*QueryAllInboundTrackersResponse, error) + InboundTracker(context.Context, *QueryInboundTrackerRequest) (*QueryInboundTrackerResponse, error) // Queries a InboundHashToCctx by index. InboundHashToCctx(context.Context, *QueryGetInboundHashToCctxRequest) (*QueryGetInboundHashToCctxResponse, error) // Queries a InboundHashToCctx data by index. @@ -2849,6 +2962,9 @@ func (*UnimplementedQueryServer) InboundTrackerAllByChain(ctx context.Context, r func (*UnimplementedQueryServer) InboundTrackerAll(ctx context.Context, req *QueryAllInboundTrackersRequest) (*QueryAllInboundTrackersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InboundTrackerAll not implemented") } +func (*UnimplementedQueryServer) InboundTracker(ctx context.Context, req *QueryInboundTrackerRequest) (*QueryInboundTrackerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InboundTracker not implemented") +} func (*UnimplementedQueryServer) InboundHashToCctx(ctx context.Context, req *QueryGetInboundHashToCctxRequest) (*QueryGetInboundHashToCctxResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InboundHashToCctx not implemented") } @@ -3022,6 +3138,24 @@ func _Query_InboundTrackerAll_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Query_InboundTracker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryInboundTrackerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).InboundTracker(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zetachain.zetacore.crosschain.Query/InboundTracker", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).InboundTracker(ctx, req.(*QueryInboundTrackerRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_InboundHashToCctx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetInboundHashToCctxRequest) if err := dec(in); err != nil { @@ -3514,6 +3648,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "InboundTrackerAll", Handler: _Query_InboundTrackerAll_Handler, }, + { + MethodName: "InboundTracker", + Handler: _Query_InboundTracker_Handler, + }, { MethodName: "InboundHashToCctx", Handler: _Query_InboundHashToCctx_Handler, @@ -5299,6 +5437,74 @@ func (m *QueryRateLimiterFlagsResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *QueryInboundTrackerRequest) 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 *QueryInboundTrackerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryInboundTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.TxHash) > 0 { + i -= len(m.TxHash) + copy(dAtA[i:], m.TxHash) + i = encodeVarintQuery(dAtA, i, uint64(len(m.TxHash))) + i-- + dAtA[i] = 0x12 + } + if m.ChainId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.ChainId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryInboundTrackerResponse) 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 *QueryInboundTrackerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryInboundTrackerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.InboundTracker.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 encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -5990,6 +6196,33 @@ func (m *QueryRateLimiterFlagsResponse) Size() (n int) { return n } +func (m *QueryInboundTrackerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChainId != 0 { + n += 1 + sovQuery(uint64(m.ChainId)) + } + l = len(m.TxHash) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryInboundTrackerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.InboundTracker.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -10287,6 +10520,190 @@ func (m *QueryRateLimiterFlagsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryInboundTrackerRequest) 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: QueryInboundTrackerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryInboundTrackerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + m.ChainId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ChainId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxHash", 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.TxHash = 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 *QueryInboundTrackerResponse) 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: QueryInboundTrackerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryInboundTrackerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InboundTracker", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.InboundTracker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/crosschain/types/query.pb.gw.go b/x/crosschain/types/query.pb.gw.go index 8ed80890ae..77ca2e06d6 100644 --- a/x/crosschain/types/query.pb.gw.go +++ b/x/crosschain/types/query.pb.gw.go @@ -325,6 +325,82 @@ func local_request_Query_InboundTrackerAll_0(ctx context.Context, marshaler runt } +func request_Query_InboundTracker_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryInboundTrackerRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["chain_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "chain_id") + } + + protoReq.ChainId, err = runtime.Int64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "chain_id", err) + } + + val, ok = pathParams["tx_hash"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "tx_hash") + } + + protoReq.TxHash, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "tx_hash", err) + } + + msg, err := client.InboundTracker(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_InboundTracker_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryInboundTrackerRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["chain_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "chain_id") + } + + protoReq.ChainId, err = runtime.Int64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "chain_id", err) + } + + val, ok = pathParams["tx_hash"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "tx_hash") + } + + protoReq.TxHash, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "tx_hash", err) + } + + msg, err := server.InboundTracker(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_InboundHashToCctx_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetInboundHashToCctxRequest var metadata runtime.ServerMetadata @@ -1588,6 +1664,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_InboundTracker_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_InboundTracker_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_InboundTracker_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_InboundHashToCctx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2327,6 +2426,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_InboundTracker_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_InboundTracker_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_InboundTracker_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_InboundHashToCctx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2861,6 +2980,8 @@ var ( pattern_Query_InboundTrackerAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "crosschain", "inboundTrackers"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_InboundTracker_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", "inboundTracker", "chain_id", "tx_hash"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_InboundHashToCctx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"zeta-chain", "crosschain", "inboundHashToCctx", "inboundHash"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_InboundHashToCctxData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"zeta-chain", "crosschain", "inboundHashToCctxData", "inboundHash"}, "", runtime.AssumeColonVerbOpt(false))) @@ -2925,6 +3046,8 @@ var ( forward_Query_InboundTrackerAll_0 = runtime.ForwardResponseMessage + forward_Query_InboundTracker_0 = runtime.ForwardResponseMessage + forward_Query_InboundHashToCctx_0 = runtime.ForwardResponseMessage forward_Query_InboundHashToCctxData_0 = runtime.ForwardResponseMessage