Skip to content

Contracts use require statements instead of custom errors #9

Description

@idrisssystem

Is your feature request related to a problem? Please describe.
Some of our contracts still use require, instead of custom error messages. As pointed out by @DevABDee in #7, this can lead to higher gas fees than necessary. More info can be found here.

Describe the solution you'd like
Clean our contracts by introducing custom error messages wherever it is beneficial. Please provide relevant screenshots on performed tests and compare before <--> after gas values.

Additional context
For questions, please ask here or join the discussion on Discord.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions