Closed rahulmutt closed 5 years ago
Thanks @rahulmutt! Fantastic idea to validate event names. Would love to see a PR
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments.
It's fairly easy to make typos when specifying events to listen to and a really large stacktrace comes up if you do.
A basic check should be done inside of
addContract
that ensures that the specified event names match up with the contract ABI and throws a readable exception if an invalid event is specified.Also willing to PR this one if there's no problem.