15,000 USDC
View results
Submission Details
Severity: gas

OracleLib uses a deprecated Chainlink API

Summary

answeredInRound is deprecated

Vulnerability Details

According to this Chainlink documentation answeredInRound is deprecated - https://docs.chain.link/data-feeds/api-reference#latestrounddata - "answeredInRound: Deprecated - Previously used when answers could take multiple rounds to be computed"

Impact

Code clarity

Tools Used

Manual Review

Recommendations

Remove answeredInRound from the return values of latestRoundData()

Support

FAQs

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