The KeeperProxy
contract contains a threshold
state variable that is not used when implementing its functionality via the priceDiffThreshold
mapping. This creates unnecessary storage overhead.
The contract declares a state variable that is never used while implementing the same functionality through a mapping:
The threshold
variable is declared but never used in any function that would occupy a storage slot unnecessarily and has no initialization in the constructor or initialize
function.
Unnecessary storage slot allocation
Manual review
Remove the unused state variable
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.