Skip to content

Commit 1f76757

Browse files
committed
add signer
1 parent b0871ae commit 1f76757

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/fixOldEscrows.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async function fetchEscrowMapForGotchisAtBlock(
9696

9797
async function main() {
9898
//upgrade first
99-
await upgrade();
99+
// await upgrade();
100100
// Fetch all historical lending listingIds and gotchiTokenIds from the subgraph
101101
const { listingIds, gotchiIds } = await fetchLendingListingIdsAndGotchiIds();
102102
console.log(`Total lendings from subgraph: ${listingIds.length}`);
@@ -124,7 +124,8 @@ async function main() {
124124
const c = await varsForNetwork(ethers);
125125
let escrowFacet = await ethers.getContractAt(
126126
"EscrowFacet",
127-
c.aavegotchiDiamond!
127+
c.aavegotchiDiamond!,
128+
signer
128129
);
129130

130131
const testing = ["hardhat", "localhost"].includes(network.name);

0 commit comments

Comments
 (0)