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
Raise MismatchedABI exceptions with detailed error messaging (#3491)
* Overloaded functions with better MismatchedABI messaging
* Initialize contract with ambiguous events or functions
* Fix
* Additional tests for ambiguous functions or events in a contract
* Fix calls to get_abi_element for functions with and without arguments
* Pass decode tuples into factory call
* Split tests and additional feedback
* Test for issue #3482
* Recompile with solc v0.8.28
Update the `ContractEvents` class to raise a `NoABIFound` exception if the `Contract` is initialized without an `ABI` and an attempt to access an event is made. This exception makes `ContractEvents` consistent with `ContractFunctions`.
Contracts with overloaded functions or events are now supported. The Contract initializes functions and events using an identifier to distinguish between them. The identifier is the function or event signature, which consists of the name and the parameter types.
Raise MismatchedABI exceptions with detailed error messaging about potential matching elements. The arguments and expected types are included in the exception message for better debugging.
0 commit comments