From d0b8d1df740442cf3b9c4b399f21b8f37eed49ed Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Wed, 1 Nov 2023 11:51:36 +0800 Subject: [PATCH] fix zksync bridge contract address --- packages/apps/src/bridges/lnbridge-default.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/apps/src/bridges/lnbridge-default.ts b/packages/apps/src/bridges/lnbridge-default.ts index 91581e0a2..12bcca403 100644 --- a/packages/apps/src/bridges/lnbridge-default.ts +++ b/packages/apps/src/bridges/lnbridge-default.ts @@ -42,8 +42,15 @@ export class LnBridgeDefault extends LnBridgeBase { targetAddress: "0xe8d55759c32fb608fD092aB2C0ef8A1F52B254d4", }; } else if (this.sourceChain?.id === ChainID.ZKSYNC) { + // zkSync era => * this.contract = { sourceAddress: "0x767Bc046c989f5e63683fB530f939DD34b91ceAC", + targetAddress: "0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337", + }; + } else if (this.targetChain?.id === ChainID.ZKSYNC) { + // * => zkSync era + this.contract = { + sourceAddress: "0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337", targetAddress: "0x767Bc046c989f5e63683fB530f939DD34b91ceAC", }; } else if (isProduction()) {