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

enum Status value of Unknown not found.

Summary

In the ReadME, you have stated that in the SantasList.sol, the enum Status has values of NICE, EXTRA_NICE, NAUGHTY, UNKNOWN.

Vulnerability Details

In SantasList.sol , the enum Status has does not have the Value of Unknown instead that value is replaced with NOT_CHECKED_TWICE

Impact

Could cause potential problems in checkTwice() because the user could be set to NOT_CHECKED_TWICE on this function even though they have

Tools Used

Manual Review

Recommendations

enum Status {
NICE,
EXTRA_NICE,
NAUGHTY,
- NOT_CHECKED_TWICE
+ UNKNOWN
}
Updates

Lead Judging Commences

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

Support

FAQs

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