Warning of underflow on the calculation : seconds_since: uint256 = block.timestamp - updated_at
Although block.timestamp
is always greater than or equal to updated_at
, there is no explicit check to ensure this. A misconfigured oracle could set updated_at
to a future timestamp, leading to an underflow and incorrect behavior.
None
Adding explicit checks block.timestamp >= updated_at,
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.