Use of deprecated Chainlink function latestAnswer
#178
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
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
WatchPug
Vulnerability details
https://github.com/code-423n4/2022-01-notional/blob/d171cad9e86e0d02e0909eb66d4c24ab6ea6b982/contracts/utils/EIP1271Wallet.sol#L175-L177
According to Chainlink's documentation, the
latestAnswer
function is deprecated. This function does not revert if no answer has been reached but returns 0, causing an incorrect price fed to theEIP1271Wallet
.See: code-423n4/2021-07-wildcredit-findings#75
The text was updated successfully, but these errors were encountered: