From ac94fff0526125b03fc13b55a4ca73ab22008ec9 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Tue, 17 Dec 2024 16:59:20 +0500 Subject: [PATCH] fix: remove Kleros token list because it's too big --- apps/widget-configurator/src/app/configurator/consts.ts | 1 - libs/tokens/src/const/tokensList.json | 4 ---- libs/tokens/src/state/tokenLists/tokenListsStateAtom.ts | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/widget-configurator/src/app/configurator/consts.ts b/apps/widget-configurator/src/app/configurator/consts.ts index 4957a0d00a..4d128e0e4c 100644 --- a/apps/widget-configurator/src/app/configurator/consts.ts +++ b/apps/widget-configurator/src/app/configurator/consts.ts @@ -35,7 +35,6 @@ export const DEFAULT_TOKEN_LISTS: TokenListItem[] = [ }, { url: 'https://tokenlist.dharma.eth.link', enabled: false }, { url: 'https://www.gemini.com/uniswap/manifest.json', enabled: false }, - { url: 'https://t2crtokens.eth.link', enabled: false }, { url: 'https://messari.io/tokenlist/messari-verified', enabled: false }, { url: 'https://uniswap.mycryptoapi.com', enabled: false }, { url: 'https://static.optimism.io/optimism.tokenlist.json', enabled: false }, diff --git a/libs/tokens/src/const/tokensList.json b/libs/tokens/src/const/tokensList.json index cb39105234..0e84cad295 100644 --- a/libs/tokens/src/const/tokensList.json +++ b/libs/tokens/src/const/tokensList.json @@ -48,10 +48,6 @@ }, { "priority": 12, - "source": "t2crtokens.eth" - }, - { - "priority": 13, "source": "https://curvefi.github.io/curve-assets/ethereum.json" } ], diff --git a/libs/tokens/src/state/tokenLists/tokenListsStateAtom.ts b/libs/tokens/src/state/tokenLists/tokenListsStateAtom.ts index 5db1f5bbc6..a9ff33fa82 100644 --- a/libs/tokens/src/state/tokenLists/tokenListsStateAtom.ts +++ b/libs/tokens/src/state/tokenLists/tokenListsStateAtom.ts @@ -59,7 +59,7 @@ export const allListsSourcesAtom = atom((get) => { // Lists states export const listsStatesByChainAtom = atomWithStorage( - 'allTokenListsInfoAtom:v4', + 'allTokenListsInfoAtom:v5', mapSupportedNetworks({}), getJotaiMergerStorage(), )