Skip to content

Commit

Permalink
test: check reward token address on token entity
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Dec 16, 2024
1 parent 018ca7d commit 0699539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 0699539

Please sign in to comment.