From 7f596928a402b5ca72c15c8730e48eea18a4d503 Mon Sep 17 00:00:00 2001 From: lumtis Date: Fri, 12 Apr 2024 09:30:57 +0200 Subject: [PATCH] refactor proto --- docs/openapi/openapi.swagger.yaml | 6 ------ pkg/chains/chains.pb.go | 7 +------ proto/pkg/chains/chains.proto | 5 ----- typescript/pkg/chains/chains_pb.d.ts | 8 -------- 4 files changed, 1 insertion(+), 25 deletions(-) diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index c7070e5892..c96ab5fa4f 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -53521,12 +53521,6 @@ definitions: - btc_regtest - amoy_testnet default: empty - title: |- - - goerli_testnet: Testnet - - goerli_localnet: LocalNet - zeta_localnet = 13; - - amoy_testnet: Athens - zeta_athensnet=15; chainsReceiveStatus: type: string enum: diff --git a/pkg/chains/chains.pb.go b/pkg/chains/chains.pb.go index 62be540751..27e8736dac 100644 --- a/pkg/chains/chains.pb.go +++ b/pkg/chains/chains.pb.go @@ -61,7 +61,6 @@ const ( ChainName_btc_mainnet ChainName = 3 ChainName_polygon_mainnet ChainName = 4 ChainName_bsc_mainnet ChainName = 5 - // Testnet ChainName_goerli_testnet ChainName = 6 ChainName_mumbai_testnet ChainName = 7 ChainName_ganache_testnet ChainName = 8 @@ -70,13 +69,9 @@ const ( ChainName_zeta_testnet ChainName = 11 ChainName_btc_testnet ChainName = 12 ChainName_sepolia_testnet ChainName = 13 - // LocalNet - // zeta_localnet = 13; ChainName_goerli_localnet ChainName = 14 ChainName_btc_regtest ChainName = 15 - // Athens - // zeta_athensnet=15; - ChainName_amoy_testnet ChainName = 16 + ChainName_amoy_testnet ChainName = 16 ) var ChainName_name = map[int32]string{ diff --git a/proto/pkg/chains/chains.proto b/proto/pkg/chains/chains.proto index aee7b108e8..49305d4f16 100644 --- a/proto/pkg/chains/chains.proto +++ b/proto/pkg/chains/chains.proto @@ -21,7 +21,6 @@ enum ChainName { btc_mainnet = 3; polygon_mainnet = 4; bsc_mainnet = 5; - // Testnet goerli_testnet = 6; mumbai_testnet = 7; ganache_testnet = 8; @@ -30,12 +29,8 @@ enum ChainName { zeta_testnet = 11; btc_testnet = 12; sepolia_testnet = 13; - // LocalNet - // zeta_localnet = 13; goerli_localnet = 14; btc_regtest = 15; - // Athens - // zeta_athensnet=15; amoy_testnet = 16; } diff --git a/typescript/pkg/chains/chains_pb.d.ts b/typescript/pkg/chains/chains_pb.d.ts index 6484028b23..4a2efde10d 100644 --- a/typescript/pkg/chains/chains_pb.d.ts +++ b/typescript/pkg/chains/chains_pb.d.ts @@ -63,8 +63,6 @@ export declare enum ChainName { bsc_mainnet = 5, /** - * Testnet - * * @generated from enum value: goerli_testnet = 6; */ goerli_testnet = 6, @@ -105,9 +103,6 @@ export declare enum ChainName { sepolia_testnet = 13, /** - * LocalNet - * zeta_localnet = 13; - * * @generated from enum value: goerli_localnet = 14; */ goerli_localnet = 14, @@ -118,9 +113,6 @@ export declare enum ChainName { btc_regtest = 15, /** - * Athens - * zeta_athensnet=15; - * * @generated from enum value: amoy_testnet = 16; */ amoy_testnet = 16,