OpenZeppelin / OpenZeppelin/openzeppelin-contracts
Add a CI check that custom errors are not declared multiple times through the repo.
Open
Nobody has claimed this yet.
tooling
- Dominant language
- Solidity
- Stars
- 27.2k
- Forks
- 12.4k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 33
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the custom error naming guideline introduced in issue #4261 and inspect the repository's existing CI checks. Add an automated check that detects custom error names declared more than once across the library; done means CI reports duplicate declarations reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100