Use of deprecated Chainlink API #37
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
0x1f8b
Vulnerability details
Impact
Deprecated API stops working. Prices cannot be obtained. Protocol stops and contracts have to be redeployed.
Proof of Concept
The contracts use Chainlink’s deprecated API
latestAnswer()
. Such functions might suddenly stop working if Chainlink stopped supporting deprecated APIs.Affected line:
Tools Used
Manual review.
Recommended Mitigation Steps
Use V3 interface functions: https://docs.chain.link/docs/price-feeds-api-reference/
The text was updated successfully, but these errors were encountered: