StabilityPool::liquidateBorrower
has the following comment: @custom:throws InsufficientBalance If the Stability Pool doesn't have enough crvUSD to cover the debt.
and the following line that reverts in the case that Stability Pool doesn't have enough crvUSD to cover the debt for real.
This just can’t be. Liquidation should always be possible. Liquidation of a user who’s in bad debt cannot be invalidated with constrains like this one.
What will happen if the pool does not have enough crvUSD to cover the debt, say that the debt is really large?
Liquidation should always be possible. Otherwise, the protocol will go into bad debt.
It is super easy for the protocol to go into bad debt, it is even facilitated by the protocol’s own logic.
Do not put a constraint on a user’s liquidation. Liquidate them if they’re in bad debt. Put the protocol’s solvency to a prior importance.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.