Wrong heartbeat used for the condition if oracle == baseOracle
In the function getOraclePrice()
of LibOracle.sol
we can see that if the oracle == baseOracle
then baseOracleCircuitBreaker()
will be called. Now in this function if we look then we can see that the hearbeat of 2 hours has been used but instead the hearbeat if 1h. You can see it here.
Note: it is been mentioned in the known issues that the heatbeat has been intentionally set at 2h but this heartbeat is wrong and can cause wrong price, so it is recommended to use the one which is being used at chainlink
Using wrong HeartBeat can cause the wrong price to be used.
Manual Review
It is recommended to use correct heartBeat
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.