Skip to content

Commit

Permalink
update gauge precision.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed Aug 25, 2024
1 parent 0bec937 commit 7f6093d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions protocol/test/foundry/sun/Gauge.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,9 @@ contract GaugeTest is TestHelper {
// verify the locked beans increased.
assertGe(bs.getLockedBeansUnderlyingUnripeBean(), lockedBeans);
uint256 totalUnderlying = bs.getTotalUnderlying(UNRIPE_BEAN);
assertApproxEqAbs(
assertEq(
bs.getLockedBeansUnderlyingUnripeBean(),
(totalUnderlying * 0.458765896798e18) / 1e18,
1
(totalUnderlying * 0.4587658967980477e18) / 1e18
);
}

Expand Down

0 comments on commit 7f6093d

Please sign in to comment.