Skip to content

Commit

Permalink
feat: migrate rest of L2s from tenderly API to tenderly node on 1%
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Dec 10, 2024
1 parent e4bb158 commit 118d059
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/handlers/injector-sor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export abstract class InjectorSOR<Router, QueryParams> extends Injector<
// The timeout for the underlying axios call to Tenderly, measured in milliseconds.
2.5 * 1000,
TENDERLY_NEW_ENDPOINT_ROLLOUT_PERCENT[chainId],
[ChainId.MAINNET, ChainId.BASE]
[ChainId.MAINNET, ChainId.BASE, ChainId.ARBITRUM_ONE, ChainId.OPTIMISM, ChainId.POLYGON, ChainId.AVALANCHE, ChainId.BLAST, ChainId.WORLDCHAIN]
)

const ethEstimateGasSimulator = new EthEstimateGasSimulator(
Expand Down
12 changes: 6 additions & 6 deletions lib/util/tenderlyNewEndpointRolloutPercent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ export const TENDERLY_NEW_ENDPOINT_ROLLOUT_PERCENT: { [chain in ChainId]: number
[ChainId.MAINNET]: 100,
[ChainId.GOERLI]: 0,
[ChainId.SEPOLIA]: 0,
[ChainId.OPTIMISM]: 0,
[ChainId.OPTIMISM]: 1,
[ChainId.OPTIMISM_GOERLI]: 0,
[ChainId.OPTIMISM_SEPOLIA]: 0,
[ChainId.ARBITRUM_ONE]: 0,
[ChainId.ARBITRUM_ONE]: 1,
[ChainId.ARBITRUM_GOERLI]: 0,
[ChainId.ARBITRUM_SEPOLIA]: 0,
[ChainId.POLYGON]: 0,
[ChainId.POLYGON]: 1,
[ChainId.POLYGON_MUMBAI]: 0,
[ChainId.CELO]: 0,
[ChainId.CELO_ALFAJORES]: 0,
[ChainId.GNOSIS]: 0,
[ChainId.MOONBEAM]: 0,
[ChainId.BNB]: 0,
[ChainId.AVALANCHE]: 0,
[ChainId.AVALANCHE]: 1,
[ChainId.BASE_GOERLI]: 0,
[ChainId.BASE]: 100,
[ChainId.ZORA]: 0,
[ChainId.ZORA_SEPOLIA]: 0,
[ChainId.ROOTSTOCK]: 0,
[ChainId.BLAST]: 0,
[ChainId.BLAST]: 1,
[ChainId.ZKSYNC]: 0,
[ChainId.WORLDCHAIN]: 0,
[ChainId.WORLDCHAIN]: 1,
[ChainId.ASTROCHAIN_SEPOLIA]: 0,
}
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@uniswap/permit2-sdk": "^1.3.0",
"@uniswap/router-sdk": "^1.14.0",
"@uniswap/sdk-core": "^5.9.0",
"@uniswap/smart-order-router": "4.8.8",
"@uniswap/smart-order-router": "4.9.0",
"@uniswap/token-lists": "^1.0.0-beta.33",
"@uniswap/universal-router-sdk": "^4.6.1",
"@uniswap/v2-sdk": "^4.6.1",
Expand Down

0 comments on commit 118d059

Please sign in to comment.