Skip to content
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

events not working with eip 55 Mixed-case checksum encoded address #2572

Closed
nkraetzschmar opened this issue Nov 12, 2017 · 1 comment
Closed

Comments

@nkraetzschmar
Copy link

When instantiating an existing contract using

contract.at(callback, address);

(where address is encoded as an eip 55 Mixed-case checksum encoded address)
listening to events doesn't work:

contractInstance.someEvent({}).watch(eventCallback);

No exception / warning is being raised, however the eventCallback function will not be called when the event occurs.
Getting old events works without any issues no matter the address encoding.

The obvious workaround is using

contract.at(callback, address.toLowerCase());

but it would be nice if checksum addresses worked as well since they work without problem for anything else.

@tmashuang
Copy link
Contributor

Consolidating to #2393

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

No branches or pull requests

2 participants