You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform
Linux USER-HP-EliteBook 6.2.0-34-generic #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Description
In Solidity we can declare events, errors or functions with same name, but they are different based on their selector. When you provide an ABI to abigen that contain two components with same name (but different selector), abigen fail with:
the name "ComponentName" is defined multiple times "ComponentName" must be defined only once in the type namespace of this module
Of course, the expected behavior is support ABI generated from contract with components that have same name but different selector.
I hope this is enough information, thanks
The text was updated successfully, but these errors were encountered:
Version
ethers v2.0.10
Platform
Linux USER-HP-EliteBook 6.2.0-34-generic #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Description
In Solidity we can declare events, errors or functions with same name, but they are different based on their selector. When you provide an ABI to abigen that contain two components with same name (but different selector), abigen fail with:
Of course, the expected behavior is support ABI generated from contract with components that have same name but different selector.
I hope this is enough information, thanks
The text was updated successfully, but these errors were encountered: