Elegant Steel Tarantula
Medium
Deficit accounting can be prevented by supplying 1 wei of a different collateral
Deficit accounting only occurs when hasNoCollateralLeft
is true, but the liquidation only takes the collateral of one reserve. There is no incentive to carry out the 2nd liquidation on the 1 wei of other collateral.
A position reaches a state of bad debt
No response
- Position reaches state of bad debt
- Before the bad debt liquidation, the borrower supplies 1 wei of a different collateral to what is being liquidated
- Liquidation occurs, deficit accounting does not occur since
hasNoCollateralLeft
is false - It is not economical to liquidate the dust of 1 wei, so the bad debt will remain, and the deficit will not be accounted, so
executeEliminateDeficit()
will not account for this bad debt
Deficit accounting is prevented, and the outstanding debt remains.