Skip to content

Commit 569e5cf

Browse files
committed
fix: add back collat price require
1 parent daea99f commit 569e5cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

certora/specs/LiquidateBuffer.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ rule liquidateImprovePosition(MorphoLiquidateHarness.MarketParams marketParams,
4141

4242
// TODO: use a fixed price oracle instead of passing it to liquidateView.
4343
uint256 collateralPrice;
44+
require collateralPrice > 0;
4445

4546
// TODO: take those directly from the borrower, and manage accrue interest.
4647
uint256 borrowerShares;

0 commit comments

Comments
 (0)