From d8db608cbb2ce4811dc4268d284a8e3b8cf760ca Mon Sep 17 00:00:00 2001 From: Shane Earley <32200924+shanejearley@users.noreply.github.com> Date: Mon, 14 Aug 2023 12:08:50 -0400 Subject: [PATCH] Log report values (skip deploy) --- contracts/ethereum/scripts/dev.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contracts/ethereum/scripts/dev.ts b/contracts/ethereum/scripts/dev.ts index c5118a045..8f74b0145 100644 --- a/contracts/ethereum/scripts/dev.ts +++ b/contracts/ethereum/scripts/dev.ts @@ -110,7 +110,7 @@ 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, @@ -118,10 +118,11 @@ void async function () { completedExits: exitingPoolCount.toNumber(), compoundablePoolIds } + console.log('🧾 Report values', reportValues) requestId = await fulfillReport({ upkeep, keeper, - values: nextValues, + values: reportValues, requestId }) let remaining = exitingPoolCount.toNumber()