Skip to content

Commit

Permalink
add smaller tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
vvalecha519 committed Oct 7, 2024
1 parent e0fc005 commit ee8ddcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/eethPayoutUpgradeFork.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ contract eethPayoutUpgradeTest is TestSetup {
console2.log("theoretical_totalValueOutOfLp: ", theoretical_totalValueOutOfLp);


assertApproxEqAbs(theoretical_totalValueOutOfLp, int128(totalValueOutOfLpAfter), 10);
assertApproxEqAbs(balOfTreasury, _protocolFees, 10);
assertApproxEqAbs(theoretical_totalValueOutOfLp, int128(totalValueOutOfLpAfter), 1);
assertApproxEqAbs(balOfTreasury, _protocolFees, 1);
assert(newRate > oldRate);
vm.stopPrank();
}
Expand Down

0 comments on commit ee8ddcf

Please sign in to comment.