Trick or Treat

First Flight #27

Trick or Treat

Beginner FriendlyFoundry
100 EXP
Submission Details
Severity: low
Invalid

Treat cost can change between `trickOrTreat` and `resolveTrick` function calls leading to inconsistent treat costs for trick case.

Updates

Appeal created

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

[invalid] Change cost between the call of trickOrTreat and resolveTrick

Only the owner has the rights to change the cost of the treat. Therefore it is assumed that the owner will not change the cost of the pending NFTs. The owner role is trusted.

Support

FAQs

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

Cyfrin
Updraft
CodeHawks
Solodit
Resources