Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

### [L-1] `ScoreBoard::setThePredicter(address)` is missing an event and lacks a zero check making it difficult to track any changes to the state of the contract.

Summary

setThePredicter(address) lacks a zero-check and should emit an event for thePredicter variable.

Vulnerability Details

- thePredicter = _thePredicter (src/ScoreBoard.sol#47)

Impact

The address of setThePredicter cannot be set resulting in difficulties tracking changing the state of the contract.

Tools Used

Slither

Recommendations

Emit an event for critical parameter changes. Check that the address is not zero.

Updates

Lead Judging Commences

NightHawK Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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