Skip to content

Commit

Permalink
fix: truly bound unhealthy
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Sep 29, 2024
1 parent f178c58 commit fc6793a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/forge/BaseTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ contract BaseTest is Test {
amountBorrowed.wDivDown(marketParams.lltv).mulDivDown(ORACLE_PRICE_SCALE, priceCollateral);
amountCollateral = bound(amountCollateral, 0, Math.min(maxCollateral, MAX_COLLATERAL_ASSETS));

vm.assume(amountCollateral > 0);
vm.assume(amountCollateral > 0 && amountCollateral < maxCollateral);
return (amountCollateral, amountBorrowed, priceCollateral);
}

Expand Down

0 comments on commit fc6793a

Please sign in to comment.