The DecentralizedStableCoin::mint and DecentralizedStableCoin::burn functions are only callable by DSCEngine::mintDsc and DSCEngine::burnDsc functions respectively. Since these functions already check and revert if amount == 0 using moreThanZero modifier before making calls to DecentralizedStableCoin's functions, the lines mentioned in the above links can be removed in DecentralizedStableCoin::mint and DecentralizedStableCoin::burn to avoid rechecking amount<=0 and save some gas.
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.