From 5ce7aa5cc75517f99faf3bdd45efaf4fc4ab2532 Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Tue, 19 Nov 2024 11:36:36 -0300 Subject: [PATCH] test: add post indexing test scripts --- subgraphs/venus/tests/scripts/checkMarkets.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/subgraphs/venus/tests/scripts/checkMarkets.ts b/subgraphs/venus/tests/scripts/checkMarkets.ts index 241cdbcd..ab9b837b 100644 --- a/subgraphs/venus/tests/scripts/checkMarkets.ts +++ b/subgraphs/venus/tests/scripts/checkMarkets.ts @@ -74,7 +74,6 @@ const checkMarkets = async ( vTokenContract.comptroller(), tryCall(async () => await vTokenContract.underlying(), ''), ]); - console.log({ comptrollerAddress }); const comptrollerContract = new ethers.Contract(comptrollerAddress, ComptrollerAbi, provider); const underlyingContract = new ethers.Contract(underlyingAddress, Bep20Abi, provider); @@ -117,8 +116,7 @@ const checkMarkets = async ( vTokenContract.totalSupply(), vTokenContract.totalBorrows(), ]); - // distributeSupplierVenus - // updateVenusSupplyIndex + const supplyState = await tryCall( async () => await comptrollerContract.venusSupplyState(market.id), { block: BigNumber.from(0), index: BigNumber.from(0) },