Skip to content

Issue1560 #1593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

Issue1560 #1593

wants to merge 5 commits into from

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