Skip to content

Add ignored_error_codes_from config option #9516

Open
@adhusson

Description

@adhusson

Component

Forge

Describe the feature you would like

It would be useful to specify a list of (path_pattern,code) pairs such that the error code is ignored on matching paths. 2 cases I'm aware of:

  • ignore test contract sizes but not src contract sizes
  • ignore lib contract sizes that are used for testing or their interface but were deployed with different compiler parameters to go below the size limit, but not src contract sizes

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configArea: configT-featureType: featurefirst issueA good way to start contributing

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions