chain;ink pricefeed can result price as zero in some conditions and here in the implementation there is no check if price is greater than zero or not causing inappropriate result
see summary
https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/libraries/OracleLib.sol#L21C4-L34C1
price can be zero and so getAccountCollateralValue
and getUsdValue
will result zero breaking dscEngine at many places
Manual
add a check if price
from latestRoundZero
is greater than zero , revert otherwise
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.