When house appraisals are requested via Chainlink functions oracle, a hook is triggered to store the house to which the price will be assigned. If a second request is made before completing the first one, in the worst scenario, the second request will be processed first and subsequently the first request. We will end up in a situation where the price of the first house is 0 and the price of the second house is that of the first one.
Inaccurate collateral valuations in the lending pool which can ultimately result in unfair liquidations and loss of users assets or unhealthy users borrowing funds against overvalued collateral.
Add this test to the house price oracle test:
Manual review.
Halt requests until the current is processed or store in a mapping the house id using the request id as the key.
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.