From d3cd6a144a2279cb49f7ac3be311a10faeb0ae6d Mon Sep 17 00:00:00 2001 From: "Siyu Jiang (See-You John)" <91580504+jsy1218@users.noreply.github.com> Date: Wed, 31 Jul 2024 09:20:03 -0700 Subject: [PATCH] feat: migrate to tenderly node endpoint at 1% on mainnet (#801) * chore: bump sor to 3.39.0 * feat: migrate to tenderly node endpoint at 1% on mainnet --- lib/handlers/injector-sor.ts | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/handlers/injector-sor.ts b/lib/handlers/injector-sor.ts index 15d1d22bec..15415c5967 100644 --- a/lib/handlers/injector-sor.ts +++ b/lib/handlers/injector-sor.ts @@ -391,7 +391,7 @@ export abstract class InjectorSOR extends Injector< undefined, // The timeout for the underlying axios call to Tenderly, measured in milliseconds. 2.5 * 1000, - 20, + 1, [ChainId.MAINNET] ) diff --git a/package-lock.json b/package-lock.json index d1cd1c6ad2..4358ac9b7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@uniswap/permit2-sdk": "^1.3.0", "@uniswap/router-sdk": "^1.9.2", "@uniswap/sdk-core": "^5.3.0", - "@uniswap/smart-order-router": "3.38.0", + "@uniswap/smart-order-router": "3.39.0", "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^2.2.0", "@uniswap/v2-sdk": "^4.3.2", @@ -4748,9 +4748,9 @@ } }, "node_modules/@uniswap/smart-order-router": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.38.0.tgz", - "integrity": "sha512-qZaTIrORRBWHyZV5M03H1a3L11eoFb+JI21A2NohtTZSETiEh6h+x7KlZiNClWXT6VKzPq5SDYCj+YiBI6Ml8w==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.39.0.tgz", + "integrity": "sha512-6PHMeJvXp7lpJvX4rE66ofHIJa/OB0s+TSQ802qu7cljj7E0SRDG/QAi3WBXIX3QlTyn1pp4Yvkqk7crtMRkgw==", "dependencies": { "@eth-optimism/sdk": "^3.2.2", "@types/brotli": "^1.3.4", @@ -28385,9 +28385,9 @@ } }, "@uniswap/smart-order-router": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.38.0.tgz", - "integrity": "sha512-qZaTIrORRBWHyZV5M03H1a3L11eoFb+JI21A2NohtTZSETiEh6h+x7KlZiNClWXT6VKzPq5SDYCj+YiBI6Ml8w==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.39.0.tgz", + "integrity": "sha512-6PHMeJvXp7lpJvX4rE66ofHIJa/OB0s+TSQ802qu7cljj7E0SRDG/QAi3WBXIX3QlTyn1pp4Yvkqk7crtMRkgw==", "requires": { "@eth-optimism/sdk": "^3.2.2", "@types/brotli": "^1.3.4", diff --git a/package.json b/package.json index 628547abe9..3dc9fc97f2 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@uniswap/router-sdk": "^1.9.2", "@uniswap/sdk-core": "^5.3.0", "@types/semver": "^7.5.8", - "@uniswap/smart-order-router": "3.38.0", + "@uniswap/smart-order-router": "3.39.0", "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^2.2.0", "@uniswap/v2-sdk": "^4.3.2",