From ab500a21a698ddfbc7e001f258855fa5d0d67c21 Mon Sep 17 00:00:00 2001 From: Termina1 Date: Fri, 29 Sep 2023 22:22:27 +0300 Subject: [PATCH] opbnb and metis support --- emerald-grpc | 2 +- foundation/src/main/resources/chains.yaml | 34 +++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/emerald-grpc b/emerald-grpc index b0d13740..5142d4d4 160000 --- a/emerald-grpc +++ b/emerald-grpc @@ -1 +1 @@ -Subproject commit b0d137408dd19755a39f046a1757ea5281dc919f +Subproject commit 5142d4d499f8ea41f85c5a5494f866a0b42c5667 diff --git a/foundation/src/main/resources/chains.yaml b/foundation/src/main/resources/chains.yaml index 7f1b2c76..2b0f3ff7 100644 --- a/foundation/src/main/resources/chains.yaml +++ b/foundation/src/main/resources/chains.yaml @@ -422,3 +422,37 @@ chain-settings: short-names: [cronos-testnet] chain-id: 0x152 grpcId: 10030 + - id: metis + settings: + expected-block-time: 1m + lags: + syncing: 40 + lagging: 20 + chains: + - id: mainnet + code: METIS_MAINNET + short-names: [metis] + chain-id: 0x440 + grpcId: 1023 + - id: goerli + code: METIS_GOERLI + short-names: [metis-goerli] + chain-id: 0x257 + grpcId: 10031 + - id: opbnb + settings: + expected-block-time: 1s + lags: + syncing: 40 + lagging: 20 + chains: + - id: mainnet + code: OPBNB_MAINNET + short-names: [opbnb] + chain-id: 0xcc + grpcId: 1024 + - id: testnet + code: OPBNB_TESTNET + short-names: [opbnb-testnet] + chain-id: 0x15eb + grpcId: 10032