From 0699539ed3c507478fab4955c9640c438e97edfa Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Mon, 16 Dec 2024 10:50:59 -0300 Subject: [PATCH] test: check reward token address on token entity --- subgraphs/isolated-pools/tests/scripts/rewardsDistributors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgraphs/isolated-pools/tests/scripts/rewardsDistributors.ts b/subgraphs/isolated-pools/tests/scripts/rewardsDistributors.ts index da6600b8..2c32a72e 100644 --- a/subgraphs/isolated-pools/tests/scripts/rewardsDistributors.ts +++ b/subgraphs/isolated-pools/tests/scripts/rewardsDistributors.ts @@ -20,7 +20,7 @@ const checkRewardsDistributors = async ( console.log('failed to query isTimeBased'); } assertEqual(rd, isTimeBased, 'isTimeBased'); - assertEqual(rd, await rewardDistributor.rewardToken(), 'rewardTokenAddress', getAddress); + assertEqual(rd.rewardToken, await rewardDistributor.rewardToken(), 'address', getAddress); for (const marketReward of rd.marketRewards) { const [borrowSpeedPerBlockMantissa, supplySpeedPerBlockMantissa] = await Promise.all([