From 06c9fc2109f2e5faba987821481c6895bf80344f Mon Sep 17 00:00:00 2001 From: esser Date: Thu, 2 Apr 2026 15:31:11 +0800 Subject: [PATCH] fix: version in script --- scripts/fetch-merge-old-borrowers.ts | 6 +++--- scripts/fetch-old-accounts-from-borrowers.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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(