Skip to content

Commit

Permalink
Only allow native token list for Arbitrum One
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Dec 16, 2024
1 parent b6911af commit 04105b9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/arb-token-bridge-ui/src/util/TokenListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 04105b9

Please sign in to comment.