The Chainlink API (latestAnswer) used in the OracleAdapter oracle wrappers is deprecated:
This API is deprecated. Please see API Reference for the latest Price Feed API. Chainlink Docs
Impact**
It seems like the old API can return stale data. Checks similar to that of the new API using latestTimestamp and latestRoundare are needed.
This could lead to stale prices according to the Chainlink documentation:
Handle
cmichel
Vulnerability details
The Chainlink API (
latestAnswer
) used in theOracleAdapter
oracle wrappers is deprecated:Impact**
It seems like the old API can return stale data. Checks similar to that of the new API using
latestTimestamp
andlatestRoundare
are needed. This could lead to stale prices according to the Chainlink documentation:Recommended Mitigation Steps
Add the recommended checks: