In LibOracle.sol, it doesn't check for the stale price by updateAt and roundId.
LibOracle.getOraclePrice()
will get baseAnswer
from Chainlink oracle. But it doesn't check round id and timestamp, leading to it may get a stale price from Chainlink oracle.
Price oracle could get a stale price without checking roundId
.
Vscode
Check answer, updateAt and roundId when getting price:
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.