Skip to content

Add a CI check that custom errors are not declared multiple times through the repo. #4331

@Amxx

Description

@Amxx

Guidelines introduces in #4261 says:

Custom error names should not be declared twice along the library to avoid duplicated identifier declarations when inheriting from multiple contracts.

We should have an automated check for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions