The checkUpkeep()
function always returns true
, which allows performUpkeep()
to be called repeatedly, leading to unnecessary gas usage or malicious spam.
Normally, checkUpkeep()
should return false
when no action is needed.
In this contract, it always returns true
.
Likelihood:
Always returns true regardless of real contract state.
Any keeper will repeatedly call performUpkeep()
.
Impact:
Repeated unnecessary oracle calls.
Waste of LINK and execution gas.
May degrade contract performance and front-run real usage.
Call checkUpkeep()
via a bot/keeper repeatedly:
Fully implement checkUpkeep()
to match Chainlink Keeper standards by add state-based gating logic:
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.