diff --git a/src/clients/bridges/ArbitrumAdapter.ts b/src/clients/bridges/ArbitrumAdapter.ts index 68be9c645..aa230d5ef 100644 --- a/src/clients/bridges/ArbitrumAdapter.ts +++ b/src/clients/bridges/ArbitrumAdapter.ts @@ -197,7 +197,7 @@ export class ArbitrumAdapter extends BaseAdapter { async wrapEthIfAboveThreshold(threshold: BigNumber, simMode = false): Promise { const { chainId } = this; - assert(chainId === this.chainId, `chainId ${chainId} is not supported`); + assert(42161 === chainId, `chainId ${chainId} is not supported`); const weth = CONTRACT_ADDRESSES[this.chainId].weth; const ethBalance = await this.getSigner(chainId).getBalance(); diff --git a/src/clients/bridges/op-stack/OpStackAdapter.ts b/src/clients/bridges/op-stack/OpStackAdapter.ts index cfff52c8b..418552ecd 100644 --- a/src/clients/bridges/op-stack/OpStackAdapter.ts +++ b/src/clients/bridges/op-stack/OpStackAdapter.ts @@ -140,7 +140,7 @@ export class OpStackAdapter extends BaseAdapter { async wrapEthIfAboveThreshold(threshold: BigNumber, simMode = false): Promise { const { chainId } = this; - assert(chainId === this.chainId, `chainId ${chainId} is not supported`); + assert([10, 8453].includes(chainId), `chainId ${chainId} is not supported`); const ovmWeth = CONTRACT_ADDRESSES[this.chainId].weth; const ethBalance = await this.getSigner(chainId).getBalance();