In StabilityPool, the modifier onlyManagerOrOwner will revert when manager tries to call it.
The condition will work only if owner is manager. This modifier is present on the function liquidateBorrower
In the current state of deployment, owner is not by default manager, and managers are expected to trigger liquidation when needed but will not be able to.
In its current state, the liquidation mechanism is not callable by anyone. Managers are not able to liquidate users. It's a time-sensitive function, protocol will accumulate bad debt.
Users are impossible to liquidate and will exploit this to accumulate debt with no risk of liquidation.
All the Lending will not work properly. Users who lend crvUSD will lose everything as NFT pegged to bad debt will be stuck in the LendingPool contract.
Manuel
Update the modifier to handle role management properly:
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.