Skip to content

Commit

Permalink
test: add post indexing test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Dec 4, 2024
1 parent 794b66b commit 5ce7aa5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions subgraphs/venus/tests/scripts/checkMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) },
Expand Down

0 comments on commit 5ce7aa5

Please sign in to comment.