From 04105b9f4a82aaa1c04c58aedbee038c256c05a4 Mon Sep 17 00:00:00 2001 From: Christophe Date: Mon, 16 Dec 2024 14:22:47 +0000 Subject: [PATCH] Only allow native token list for Arbitrum One --- packages/arb-token-bridge-ui/src/util/TokenListUtils.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/arb-token-bridge-ui/src/util/TokenListUtils.ts b/packages/arb-token-bridge-ui/src/util/TokenListUtils.ts index 8ff1de8a28..167ee64ecf 100644 --- a/packages/arb-token-bridge-ui/src/util/TokenListUtils.ts +++ b/packages/arb-token-bridge-ui/src/util/TokenListUtils.ts @@ -10,8 +10,6 @@ import ArbitrumLogo from '@/images/lists/ArbitrumLogo.png' import { ArbTokenBridge } from '../hooks/arbTokenBridge.types' import { ChainId } from './networks' import orbitChainsData from './orbitChainsData.json' -import { mainnet, sepolia } from 'wagmi' -import { holesky } from './wagmi/wagmiAdditionalNetworks' export const SPECIAL_ARBITRUM_TOKEN_TOKEN_LIST_ID = 'SPECIAL_ARBITRUM_TOKEN_TOKEN_LIST_ID' @@ -128,8 +126,8 @@ export const BRIDGE_TOKEN_LISTS: BridgeTokenList[] = [ ...orbitChainsData.mainnet .concat(orbitChainsData.testnet) .reduce((acc, chain) => { - // Only include arbified native token list for L3 - if (![mainnet.id, sepolia.id, holesky.id].includes(chain.parentChainId)) { + // Only include arbified native token list for L3 settling to ArbOne + if (chain.parentChainId === ChainId.ArbitrumOne) { acc.push({ id: `${chain.chainId}_native`, originChainID: chain.chainId,