Skip to content

Conversation

@realjohnward
Copy link
Contributor

What was wrong?

The hasattr method wasn't working for the ContractEvent object (wasn't returning True or False)
AttributeError wasn't being raised in the ContractEvent's getattr method.

Related to Issue #1560

How was it fixed?

Added hasattr overloader to ContractEvent class which returns False if an AttributeError is raised during the getattr call.
Added exception class called ABIEventFunctionNotFound, which inherits from AttributeError and MismatchedABI.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant