diff --git a/scripts/fetch-merge-old-borrowers.ts b/scripts/fetch-merge-old-borrowers.ts index ec24f2f..e485ee7 100644 --- a/scripts/fetch-merge-old-borrowers.ts +++ b/scripts/fetch-merge-old-borrowers.ts @@ -52,15 +52,15 @@ const LIST_SOURCES: ListSource[] = [ }, { url: creditSessionsListUrl(1, POOL_ADDRESSES_V3_MAINNET), - accountVersion: 3, + accountVersion: 300, }, { url: creditSessionsListUrl(42161, ARBITRUM_POOLS), - accountVersion: 3, + accountVersion: 300, }, { url: creditSessionsListUrl(10, OPTIMISM_POOLS), - accountVersion: 3, + accountVersion: 300, }, ]; diff --git a/scripts/fetch-old-accounts-from-borrowers.ts b/scripts/fetch-old-accounts-from-borrowers.ts index bb26345..782ad4a 100644 --- a/scripts/fetch-old-accounts-from-borrowers.ts +++ b/scripts/fetch-old-accounts-from-borrowers.ts @@ -111,9 +111,9 @@ function trimSession( function accountVersionForPool(chainId: ChainId, poolLc: string): number { if (chainId === 1) { - return V2_MAINNET_LC.has(poolLc) ? 2 : 3; + return V2_MAINNET_LC.has(poolLc) ? 2 : 300; } - return 3; + return 300; } async function fetchBorrowerSessions(