From 23a7651e2d4396dc2ddc0d576a9142b931f09df6 Mon Sep 17 00:00:00 2001 From: Rachel-Eichenberger <60412342+Rachel-Eichenberger@users.noreply.github.com> Date: Thu, 29 Feb 2024 01:45:44 -0800 Subject: [PATCH] Fix: Remove Sepolia from routing choice Web gets the true false from what's in the v2_router_addresses https://github.com/Uniswap/interface/blob/84ef9a01c9e1785b15e3efe97ce1fb982948687a/apps/web/src/constants/chains.ts#L69C14-L69C40 https://github.com/Uniswap/interface/blob/84ef9a01c9e1785b15e3efe97ce1fb982948687a/apps/web/src/hooks/useNetworkSupportsV2.ts#L11C32-L11C58 update factory address Sepolia for when router launched --- src/addresses.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/addresses.ts b/src/addresses.ts index 05273d8d..09e20a21 100644 --- a/src/addresses.ts +++ b/src/addresses.ts @@ -39,7 +39,7 @@ export const V2_FACTORY_ADDRESS = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f' export const V2_FACTORY_ADDRESSES: AddressMap = { [ChainId.MAINNET]: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', [ChainId.GOERLI]: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', - [ChainId.SEPOLIA]: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', + [ChainId.SEPOLIA]: '0xB7f907f7A9eBC822a80BD25E224be42Ce0A698A0', [ChainId.OPTIMISM]: '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf', [ChainId.ARBITRUM_ONE]: '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9', [ChainId.AVALANCHE]: '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', @@ -55,7 +55,6 @@ export const V2_ROUTER_ADDRESS = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' export const V2_ROUTER_ADDRESSES: AddressMap = { [ChainId.MAINNET]: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', [ChainId.GOERLI]: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', - [ChainId.SEPOLIA]: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', [ChainId.ARBITRUM_ONE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', [ChainId.OPTIMISM]: '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', [ChainId.BASE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24',