Skip to content

Commit

Permalink
[R4R]-{develop}: handle testnet MNT token address compatibility (#1338)
Browse files Browse the repository at this point in the history
# Goals of PR

Core changes:

- Add testnet MNT token address compatibility

Notes:

- No

Related Issues:

- No
  • Loading branch information
shellteo authored Aug 10, 2023
2 parents d67a238 + 683a8cf commit b1720ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/sdk/src/adapters/standard-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,11 @@ export class StandardBridgeAdapter implements IBridgeAdapter {
if (hexStringEquals(remoteL1Token, toAddress(L1_MNT_ADDRESS[this.messenger.l2ChainId]))){
return true
}
if (hexStringEquals(remoteL1Token, toAddress('0x1a4b46696b2bb4794eb3d4c26f1c55f9170fa4c5'))){
return true
}

if (!hexStringEquals(remoteL1Token, toAddress(l1Token))) {
if (!hexStringEquals(remoteL1Token, toAddress(l1Token))) {
return false
}

Expand Down

0 comments on commit b1720ed

Please sign in to comment.