Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Valid

The last predefined value of the enum `Status` should be changed from `NOT_CHECKED_TWICE` to `UNKNOWN`, or removed as it is unused in SantasList contract.

Updates

Lead Judging Commences

equious Auditor
about 1 year ago
inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

default status is nice

In Solidity the first element of an enum is the default value. In Santa's List, the means each person is mapped by default to 'NICE'.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources