Trick or Treat

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

improper way of error handling in the contract

Summary

The overall way of handling errors in the contract is not the best as it does not follow best practices

Vulnerability Details

Overall in the contract, the require keyword was preferred to the error keyword in error handling

Impact

Using custom errors is more gas efficient compared to using require keyword

Tools Used

Recommendations

The require keyword should be replaced with using custom errors to display error message.

Updates

Appeal created

bube Lead Judge 7 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.