The documentation states:
Oracle: Changes the house price in RAACHousePrice and updates the prime rate in LendingPool.
This suggests that RAACHousePrice
should update both the house price
and the prime rate
in LendingPool
. However, the implementation does not support this functionality due to missing external function calls.
The function responsible for setting the prime rate is:
The modifier onlyPrimeRateOracle
suggests that RAACPriceRateOracle
is expected to call this function.
Within RAACPriceRateOracle
, the function is invoked in an internal
function:
This function is triggered by another internal
function inside BaseChainLinkFunctionsOracle
:
Since fulfillRequest
is an internal function and is not overridden in its child contract RAACPriceRateOracle
, the expected functionality is currently not possible.
Denial of Service: The oracle cannot update the prime rate in LendingPool.
Inconsistent Documentation: The feature is documented but does not exist in implementation.
Potential Misconfigurations: Developers may assume the oracle updates the prime rate when it does not.
Manual Review
Expose _processResponse() or fulfillRequest() externally or through a public function.
If this feature is intentionally omitted, update the documentation to reflect the correct functionality.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.