From 42ea82cac75b67f89bb6c785a79539adc0ce95ed Mon Sep 17 00:00:00 2001 From: lumtis Date: Tue, 28 May 2024 15:38:40 +0200 Subject: [PATCH] make generate --- docs/openapi/openapi.swagger.yaml | 15 ++++++++++ .../zetacore/pkg/chains/chains_pb.d.ts | 30 +++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index 92c7ac28c8..77d5e48ec9 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -56744,6 +56744,18 @@ definitions: description: |- QueryGetPoliciesResponse is the response type for the Query/Policies RPC method. + chainsCCTXGateway: + type: string + enum: + - zevm + - observers + default: zevm + description: |- + - zevm: zevm is the internal CCTX gateway to process outbound on the ZEVM in + ZetaChain only used for ZetaChain chains + - observers: observers is the CCTX gateway for chains relying on the observer set to + observe inbounds and TSS for outbounds + title: CCTXGateway describes for the chain the gateway used to handle CCTX outbounds chainsChain: type: object properties: @@ -56769,6 +56781,9 @@ definitions: is_external: type: boolean title: IsExternal describe if the chain is ZetaChain or external + cctx_gateway: + $ref: '#/definitions/chainsCCTXGateway' + title: CCTXGateway is the gateway used to handle CCTX outbounds title: |- Chain represents static data about a blockchain network it is identified by a unique chain ID diff --git a/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts index 6abe26cd04..07ddfb8617 100644 --- a/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts @@ -253,6 +253,29 @@ export declare enum Consensus { op_stack = 3, } +/** + * CCTXGateway describes for the chain the gateway used to handle CCTX outbounds + * + * @generated from enum zetachain.zetacore.pkg.chains.CCTXGateway + */ +export declare enum CCTXGateway { + /** + * zevm is the internal CCTX gateway to process outbound on the ZEVM in + * ZetaChain only used for ZetaChain chains + * + * @generated from enum value: zevm = 0; + */ + zevm = 0, + + /** + * observers is the CCTX gateway for chains relying on the observer set to + * observe inbounds and TSS for outbounds + * + * @generated from enum value: observers = 1; + */ + observers = 1, +} + /** * Chain represents static data about a blockchain network * it is identified by a unique chain ID @@ -309,6 +332,13 @@ export declare class Chain extends Message { */ isExternal: boolean; + /** + * CCTXGateway is the gateway used to handle CCTX outbounds + * + * @generated from field: zetachain.zetacore.pkg.chains.CCTXGateway cctx_gateway = 8; + */ + cctxGateway: CCTXGateway; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3;