Skip to content

Commit

Permalink
Log report values (skip deploy)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley authored Aug 14, 2023
1 parent d318dbf commit d8db608
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/ethereum/scripts/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,19 @@ void async function () {
const startIndex = ethers.BigNumber.from(0)
const endIndex = ethers.BigNumber.from(pendingPoolIds.length + stakedPoolIds.length)
const compoundablePoolIds = await views.getCompoundablePoolIds(startIndex, endIndex)
const nextValues = {
const reportValues = {
activeBalance: nextActiveBalance,
sweptBalance: sweptRewardBalance + sweptExitedBalance,
activatedDeposits: nextActivatedDeposits,
forcedExits: 0,
completedExits: exitingPoolCount.toNumber(),
compoundablePoolIds
}
console.log('🧾 Report values', reportValues)
requestId = await fulfillReport({
upkeep,
keeper,
values: nextValues,
values: reportValues,
requestId
})
let remaining = exitingPoolCount.toNumber()
Expand Down

0 comments on commit d8db608

Please sign in to comment.