Skip to content

Commit

Permalink
fix zksync bridge contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Nov 1, 2023
1 parent a14df99 commit d0b8d1d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/apps/src/bridges/lnbridge-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit d0b8d1d

Please sign in to comment.