The Chainlink Oracle can occasionally returns outdated prices, which can cause issues with the distributeAssets
function.
The distributeAssets
function relies on the Chainlink asset to USD price feed to determine the value of assets. Based on this value, a certain amount of Euros is allocated to each stakeholder.
However, if there are problems with Chainlink, such as starting a new round or reaching consensus on the new oracle value (e.g. Chainlink nodes abandoning the oracle, chain congestion, vulnerabilities/attacks on the Chainlink system), the contract may continue using outdated or incorrect data. This occurs when oracles are unable to submit new rounds.
As a result, the distribution of EUROs rewards may be incorrect, and in extreme cases, it can even lead to a Denial of Service (DOS) situation if the stale price significantly exceeds the available distribution amount.
Manual review
Add the following check to insure that the data returned is correct
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.