Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Dec 17, 2024
1 parent c3323df commit b143629
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/token_list_gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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), () =>
Expand All @@ -101,13 +102,16 @@ export const generateTokenList = async (
),
);

console.log('L105, before l1TokenAddresses');
const l1TokenAddresses =
options && options.getAllTokensInNetwork && !isNova
? tokens.map((curr) => curr.l1TokenAddr)
: l1TokenListL1Tokens.map((token) => token.address);

const intermediatel2AddressesFromL1 = [];
const intermediatel2AddressesFromL2 = [];

console.log('115, before forloop L1TOKENADDRESSES');
for (const addrs of getChunks(l1TokenAddresses)) {
const l2AddressesFromL1Temp = await promiseErrorMultiplier(
getL2TokenAddressesFromL1(
Expand Down

0 comments on commit b143629

Please sign in to comment.