Two things are missing in the current implementation of RAACHousePrices.sol
from the documentation.
a. In the documentation, it is stated that the function setHousePrice
should be called only by owner
.
b. It is stated that function updatePriceFromOracle
is only for oracle
to call and update the price but, there is no function defined in the current implementation of RAACHousePrices.sol
.
a. Contract named RAACHousePrices.sol
has a function setHousePrice
which is documented to be called by owner
but this function uses the modifier which restricts this function to only be called by oracle
.
LINK TO DOCUMENTATION :
LINK TO CODE :
b. There is no function updatePriceFromOracle
implemented within the current implementation of RAACHousePrices.sol
.
LINK TO DOCUMENTATION :
The actual implementation of the code contradicts the documentation and misses one function.
Manual review.
a. Use the modifier mentioned in the documentation.
b. Add this function in RAACHousePrice.sol
Also, update the following lines in RAACHousePriceOracle.sol
.
LINK TO CODE:
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.