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

Hardcoded hearthbeat

Summary

OracleLib has a hardcoded 3h TIMEOUT

Vulnerability Details

Hardcoded TIMEOUT might be to long for oracles with shorter heartbeat

Impact

For some price feeds this might be not relevant due to a shorter heartbeat, e.g. https://data.chain.link/ethereum/mainnet/crypto-usd/eth-usd

Tools Used

Mannual Review

Recommendations

Change the TIMEOUT of the Heartbeat to match all chainlink tokens

Support

FAQs

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