From a1591caa7bea03211f2629447aac238297d6388c Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Fri, 21 Feb 2025 12:10:28 -0700 Subject: [PATCH] chore: bump sor to 4.18.2 - fix: support mixed quote on rest of L2s --- lib/handlers/injector-sor.ts | 15 ++++++++++++++- package.json | 2 +- test/mocha/e2e/quote.test.ts | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/lib/handlers/injector-sor.ts b/lib/handlers/injector-sor.ts index cc56dec6bf..087f483882 100644 --- a/lib/handlers/injector-sor.ts +++ b/lib/handlers/injector-sor.ts @@ -533,7 +533,20 @@ export abstract class InjectorSOR extends Injector< ChainId.MAINNET, ] - const mixedSupported = [ChainId.MAINNET, ChainId.SEPOLIA, ChainId.GOERLI, ChainId.UNICHAIN, ChainId.BASE] + const mixedSupported = [ + ChainId.MAINNET, + ChainId.SEPOLIA, + ChainId.GOERLI, + ChainId.BASE, + ChainId.UNICHAIN, + ChainId.ARBITRUM_ONE, + ChainId.POLYGON, + ChainId.OPTIMISM, + ChainId.AVALANCHE, + ChainId.BNB, + ChainId.WORLDCHAIN, + ChainId.ZORA, + ] const cachedRoutesCacheInvalidationFixRolloutPercentage = NEW_CACHED_ROUTES_ROLLOUT_PERCENT[chainId] diff --git a/package.json b/package.json index 65420868b0..10d878a14d 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@uniswap/permit2-sdk": "^1.3.0", "@uniswap/router-sdk": "^1.22.2", "@uniswap/sdk-core": "^7.5.0", - "@uniswap/smart-order-router": "4.18.1", + "@uniswap/smart-order-router": "4.18.2, "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^4.18.1", "@uniswap/v2-sdk": "^4.13.0", diff --git a/test/mocha/e2e/quote.test.ts b/test/mocha/e2e/quote.test.ts index 660ec36ebe..9bc9641e92 100644 --- a/test/mocha/e2e/quote.test.ts +++ b/test/mocha/e2e/quote.test.ts @@ -308,7 +308,7 @@ describe('quote', function () { } before(async function () { - this.timeout(40000) + this.timeout(400000) ;[alice] = await ethers.getSigners() // Make a dummy call to the API to get a block number to fork from.