Skip to content

Commit

Permalink
try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kolima committed Jun 14, 2024
1 parent 0fbf41a commit 53c977d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions projects/myso-v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ const getCoveredCallOfTheWeekBalances = async (api, contracts) => {
abi: CoveredCallStrategiesAbi,
});

if (!coveredCallOfTheWeekStrategies.length) return;

coveredCallOfTheWeekStrategies.forEach((strategy) =>
api.add(strategy.underlying, strategy.totalDeposits)
);
Expand All @@ -128,7 +130,7 @@ const getWhaleMatchBalances = async (api, contracts, fromBlock) => {

if (!(fundingPoolFactory && fundingPools.length)) return;

/*const logs = await getLogs({
const logs = await getLogs({
api,
target: fundingPoolFactory,
eventAbi:
Expand All @@ -150,7 +152,7 @@ const getWhaleMatchBalances = async (api, contracts, fromBlock) => {
calls: logs.map((log) => log.fundingPool),
});
api.add(tokens, loanProposalBalances);
}*/
}

let tokensAndOwners = fundingPools.map((fundingPool) => {
return [fundingPool.loanCcyToken, fundingPool.contractAddr];
Expand Down

0 comments on commit 53c977d

Please sign in to comment.