GivingThanks

First Flight #28
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

#Using custom error instead of `require` to be more gas efficient

For custom errors, solidity stores only the first 4 bytes of the hash of the error signature and returns only that. Therefore, during reverting, only 4 bytes needs to be stored in memory. See details in blog.

Updates

Lead Judging Commences

n0kto Lead Judge 10 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.