Skip to content

Commit

Permalink
fixed testAccrueInterestNewInterestLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNoepel committed Oct 12, 2023
1 parent 182c1f9 commit 3561212
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ contract ERC20PoolInterestRateTestAndEMAs is ERC20HelperContract {
skip(14 hours);

// Update interest rate after each 13 hours
while (i < 179) {
while (i < 11087) {
// trigger an interest accumulation
skip(13 hours);

Expand All @@ -1252,7 +1252,6 @@ contract ERC20PoolInterestRateTestAndEMAs is ERC20HelperContract {

skip(13 hours);

// FIXME: We no longer revert here; should we not expect revert, or find a new higher limit to revert upon?
// Revert with Arithmetic overflow in `Maths.wmul(pendingFactor - Maths.WAD, poolState_.debt)` in accrue interest
vm.expectRevert();
_updateInterest();
Expand Down

0 comments on commit 3561212

Please sign in to comment.