From b143629d182d2356c90b317d58c1029afb17a323 Mon Sep 17 00:00:00 2001 From: Christophe Date: Tue, 17 Dec 2024 12:18:40 +0000 Subject: [PATCH] Debug --- src/lib/token_list_gen.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/token_list_gen.ts b/src/lib/token_list_gen.ts index 9eec97aa..08a81044 100644 --- a/src/lib/token_list_gen.ts +++ b/src/lib/token_list_gen.ts @@ -76,6 +76,7 @@ export const generateTokenList = async ( (token) => token.chainId === l1.provider.network.chainId, ); + console.log('L79, before let tokens'); let tokens: GraphTokenResult[] = options && options.getAllTokensInNetwork ? await promiseErrorMultiplier(getAllTokens(l2.network.chainID), () => @@ -101,6 +102,7 @@ export const generateTokenList = async ( ), ); + console.log('L105, before l1TokenAddresses'); const l1TokenAddresses = options && options.getAllTokensInNetwork && !isNova ? tokens.map((curr) => curr.l1TokenAddr) @@ -108,6 +110,8 @@ export const generateTokenList = async ( const intermediatel2AddressesFromL1 = []; const intermediatel2AddressesFromL2 = []; + + console.log('115, before forloop L1TOKENADDRESSES'); for (const addrs of getChunks(l1TokenAddresses)) { const l2AddressesFromL1Temp = await promiseErrorMultiplier( getL2TokenAddressesFromL1(