Function depositCollateralAndMintDsc() doesn't return the collateral funds if the minting process fails.
It might be a bit confusion when mint failed, and the collateral funds been deposited.
It's better to return the collateral funds if mint DSC failed.
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.