Skip to content

Commit

Permalink
test: add comments for commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Feb 6, 2024
1 parent 634b46b commit 71906c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/Aave.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,8 @@ contract AaveIntegrationTest is BaseTest {

// assert
assertEq(IERC20(lWavax).balanceOf(address(this)), lClaimed);
// commenting out for now as AAVE is not giving out rewards
// assertGt(lClaimed, 0);
}

function testClaimRewards_SellAndPutRewardsBackIntoManager() external allNetworks allPairs {
Expand Down Expand Up @@ -1040,6 +1042,8 @@ contract AaveIntegrationTest is BaseTest {
uint256 lBalAfterTimePair = _manager.getBalance(_pair, USDC);
uint256 lBalAfterTimeOther = _manager.getBalance(lOtherPair, USDC);
uint256 lClaimed = _manager.claimRewardForMarket(lUSDCMarket, lWavax);

Check warning on line 1044 in test/integration/Aave.t.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "lClaimed" is unused
// commenting out for now as AAVE is not currently giving out additional AVAX rewards
// assertGt(lClaimed, 0);
// dummy amount of proceeds from selling the rewards
uint256 lAmtUSDC = 9_019_238;
_deal(address(USDC), address(this), lAmtUSDC);
Expand Down

0 comments on commit 71906c6

Please sign in to comment.