Raisebox Faucet

First Flight #50
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: low
Likelihood: high
Invalid

Unused blockTime variable

Low: Unused variable can cause confusion

Description

Unused global variable.

uint256 public blockTime = block.timestamp; @> This is never used in the contract and can
only cause confusion.

Risk

Likelihood: High

  • Will be present in the contract.

Impact: Low

  • Will confuse developers, auditors, and people who will integrate the smart contract.

Proof of Concept

The variable exist in the contract.

Recommended Mitigation

Remove the variable.

- uint256 public blockTime = block.timestamp;
Updates

Lead Judging Commences

inallhonesty Lead Judge 16 days ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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