This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Flattening of the contract files with overlapping/same interface names. #2588
Labels
bug
Something isn't working
Version
`cargo tree | grep ethers`
Platform
The output of
uname -a
(UNIX), or version and 32 or 64-bit (Windows)Darwin arm64
Description
For example: given two files
FileA
andFileB
Flattening will produce
Instead, the desired outcome would be something like:
Reproducable example in the form of test would be...
I expected to see this happen: the interfaces that have name overlaps are renamed to something else to avoid this conflict
Instead, this happened: The interfaces are put into the same file without renaming either of them and hence produce a conflict.
Originally issue was raised in the foundry repository: foundry-rs/foundry#4034 but foundry delegates flattening to ethers-rs here
The text was updated successfully, but these errors were encountered: