15,000 USDC
View results
Submission Details
Severity: medium
Valid

Timeout is hardcoded, however Chainlink oracles have different heartbeats

Summary

Timeout in OracleLib.sol is hardcoded to 3 hours, however different Chainlink oracles have different heartbeat.

Vulnerability Details

There are oracles with heartbeat more than 3 hours. For example USDC / USD is updated every 24 hours. Current timeout of 3 hours blocks using such price feeds most of the time

Impact

Most time usage of most of the Chainlink oracles will be blocked

Tools Used

Manual Review

Recommendations

Explicitly specify timeout for every price feed

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.