Trick or Treat

First Flight #27

Trick or Treat

Beginner FriendlyFoundry
100 EXP
Submission Details
Severity: low
Invalid

`addTreat` function updates `treatList` mapping if treat already exists but still appends it to `treatNames` array leading to inconsistent treat data.

Updates

Appeal created

bube Lead Judge 19 days ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

[invalid] Duplicate treats

The function `addTreat` is called by the owner. The owner is trusted. There will be no duplicates.

Support

FAQs

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

Cyfrin
Updraft
CodeHawks
Solodit
Resources