Skip to content

Commit

Permalink
test: mutant 10
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Nov 22, 2023
1 parent d5c7303 commit 9eba54d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Morpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@ contract Morpho is IMorphoStaticTyping {
badDebtShares.toAssetsUp(market[id].totalBorrowAssets, market[id].totalBorrowShares)
);

market[id].totalBorrowAssets -= badDebt.toUint128();
/// AssignmentMutation(`badDebt.toUint128()` |==> `0`) of: `market[id].totalBorrowAssets -=
/// badDebt.toUint128();`
market[id].totalBorrowAssets -= 0;
market[id].totalSupplyAssets -= badDebt.toUint128();
market[id].totalBorrowShares -= badDebtShares.toUint128();
position[id][borrower].borrowShares = 0;
Expand Down

0 comments on commit 9eba54d

Please sign in to comment.