Skip to content

Commit

Permalink
refactor: repayableShares as uint256
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Dec 10, 2024
1 parent b68e6c9 commit 1c584ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certora/specs/Reverts.spec
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ rule excessivePreliquidationWithAssetsReverts(env e, address borrower, uint256 s
currentContract.PRE_LCF_1,
currentContract.PRE_LCF_2) ;

mathint repayableShares = summaryWMulDown(MORPHO.borrowShares(currentContract.ID, borrower), preLCF);
uint256 repayableShares = summaryWMulDown(MORPHO.borrowShares(currentContract.ID, borrower), preLCF);

preLiquidate@withrevert(e, borrower, seizedAssets, 0, data);

Expand Down Expand Up @@ -138,7 +138,7 @@ rule excessivePreliquidationWithSharesReverts(env e, address borrower, uint256 r
currentContract.PRE_LCF_1,
currentContract.PRE_LCF_2);

mathint repayableShares = summaryWMulDown(borrowerShares, preLCF);
uint256 repayableShares = summaryWMulDown(borrowerShares, preLCF);

preLiquidate@withrevert(e, borrower, 0, repaidShares, data);

Expand Down

0 comments on commit 1c584ef

Please sign in to comment.