Skip to content

Commit

Permalink
annotated failing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNoepel committed Oct 12, 2023
1 parent 309c409 commit 59c556b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/forge/unit/ERC20Pool/ERC20PoolInterestRateAndEMAs.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,7 @@ contract ERC20PoolInterestRateTestAndEMAs is ERC20HelperContract {

skip(365 days);

// FIXME: We no longer revert here; should we not expect revert, or find a new higher limit to revert upon?
// Reverts with PRBMathUD60x18__ExpInputTooBig
vm.expectRevert();
_updateInterest();
Expand Down Expand Up @@ -1231,6 +1232,7 @@ 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 Expand Up @@ -1372,6 +1374,7 @@ contract ERC20PoolInterestRateTestAndEMAs is ERC20HelperContract {

skip(1 days);

// 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 `(((tu + mau102 - 1e18) / 1e9) ** 2)` in update interest
vm.expectRevert();
_updateInterest();
Expand Down

0 comments on commit 59c556b

Please sign in to comment.