From 21265141a9cfdf63369956d9a539385c911ba872 Mon Sep 17 00:00:00 2001 From: Michael Feng Date: Thu, 25 Jul 2024 06:55:56 -0700 Subject: [PATCH] (fix) prevent alpha router from starting in base --- src/connectors/uniswap/uniswap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connectors/uniswap/uniswap.ts b/src/connectors/uniswap/uniswap.ts index 4cd3d5ed58..eb1b99b90f 100644 --- a/src/connectors/uniswap/uniswap.ts +++ b/src/connectors/uniswap/uniswap.ts @@ -69,7 +69,7 @@ export class Uniswap implements Uniswapish { this._maximumHops = UniswapConfig.config.maximumHops; this._alphaRouter = null; - if (this.chainId !== 11155111) { + if (this.chainId !== 11155111 && this.chainId !== 8453) { this._alphaRouter = new AlphaRouter({ chainId: this.chainId, provider: this.chain.provider,