Raisebox Faucet

First Flight #50
Beginner FriendlySolidity
100 EXP
Submission Details
Impact: low
Likelihood: medium
Invalid

`blockTime` state vairable is not used and should be removed

Author Revealed upon completion

Unused blockTime state variable declared and initialized at deployment. Unnecessary storage allocation increases deployment gas and adds confusion

Description

  • This variable is never read or updated anywhere in the codebase. Because it is a state variable, it occupies a dedicated storage slot and incurs deployment gas costs. Its presence may also mislead maintainers into assuming it tracks time-sensitive logic, when in fact it remains constant after deployment.

Recommended Mitigation

-uint256 public blockTime = block.timestamp;
Updates

Lead Judging Commences

inallhonesty Lead Judge 1 day ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.