From 5a24c428888d793afab668666502a7b7304db692 Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Fri, 21 Feb 2025 10:29:54 -0700 Subject: [PATCH] Revert "chore: bump sor to 4.18.2 - fix: support mixed quote on rest of L2s (#1022)" This reverts commit 1ce43b47779704025fbce5c67fb2eade8fd0a715. --- lib/handlers/injector-sor.ts | 15 +-------------- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 9 insertions(+), 22 deletions(-) diff --git a/lib/handlers/injector-sor.ts b/lib/handlers/injector-sor.ts index 087f483882..cc56dec6bf 100644 --- a/lib/handlers/injector-sor.ts +++ b/lib/handlers/injector-sor.ts @@ -533,20 +533,7 @@ export abstract class InjectorSOR extends Injector< ChainId.MAINNET, ] - 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 mixedSupported = [ChainId.MAINNET, ChainId.SEPOLIA, ChainId.GOERLI, ChainId.UNICHAIN, ChainId.BASE] const cachedRoutesCacheInvalidationFixRolloutPercentage = NEW_CACHED_ROUTES_ROLLOUT_PERCENT[chainId] diff --git a/package-lock.json b/package-lock.json index 9b941c5633..978cbc4059 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,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.2", + "@uniswap/smart-order-router": "4.18.1", "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^4.18.1", "@uniswap/v2-sdk": "^4.13.0", @@ -4508,9 +4508,9 @@ } }, "node_modules/@uniswap/smart-order-router": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-4.18.2.tgz", - "integrity": "sha512-wMKkJgfKzog/bFCJfA++rhBrp36W6t7VGq4KJQcdwodaVDXgzgLFLXrwqrnLlJ5cafyTCCWcQt7yrTrkD22YMw==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-4.18.1.tgz", + "integrity": "sha512-882yBaoQ6YBHeObASR5XK6F/RzihTzAl6mVEVhoFowO6G0AHl17YYyKJz8iaX/rS3IHphROsGR85A8Z1PkH2OA==", "dependencies": { "@eth-optimism/sdk": "^3.2.2", "@types/brotli": "^1.3.4", @@ -27936,9 +27936,9 @@ } }, "@uniswap/smart-order-router": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-4.18.2.tgz", - "integrity": "sha512-wMKkJgfKzog/bFCJfA++rhBrp36W6t7VGq4KJQcdwodaVDXgzgLFLXrwqrnLlJ5cafyTCCWcQt7yrTrkD22YMw==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-4.18.1.tgz", + "integrity": "sha512-882yBaoQ6YBHeObASR5XK6F/RzihTzAl6mVEVhoFowO6G0AHl17YYyKJz8iaX/rS3IHphROsGR85A8Z1PkH2OA==", "requires": { "@eth-optimism/sdk": "^3.2.2", "@types/brotli": "^1.3.4", diff --git a/package.json b/package.json index 15fdea2014..65420868b0 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.2", + "@uniswap/smart-order-router": "4.18.1", "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^4.18.1", "@uniswap/v2-sdk": "^4.13.0",