The codebase has multiple contracts that share the same name.
This allows buidler-waffle to generate incorrect json artifacts, preventing third parties from using their tools. Buidler-waffle does not correctly support a codebase with duplicate contract names.
The compilation overwrites compilation artifacts and prevents the use of third-party tools, such as Slither.
Short term, prevent the re-use of duplicate contract names or change the compilation framework.
Long term, use Slither, which will help detect duplicate contract names.
- ToB Audit Hermez Network Finding 22
- Undefined Behavior
- Contract Names
- Duplicates
- Avoid Duplicate Names