-
Notifications
You must be signed in to change notification settings - Fork 8
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
event filter.watch
sometimes (about 50%) firing twice
#74
Comments
@SCBuergel this doesn't seem to be a bug. Cause |
@mkalinin I would agree if the behavior is consistent. Unfortunately it is not. About 50% of all attempts I get the event handler being called once and the other ~50% of the time I get two my event handler being called twice. |
@SCBuergel I've made about 10 tries with different action sequences. It hasn't reproduced. can you take a video showing this problem, pls? |
@mkalinin you mentioned on Slack that you've been able to reproduce this, any updates? |
@SCBuergel will investigate in it and keep you updated |
Caused by web3/web3.js#573 |
my toy contract
is being interfaced via the following little NodeJS script:
While calling the events all works out well, my event handlers fire once, here the example output:
Now when restarting my NodeJS app (Sandbox kept running, no further calls made), it turns out that all events are firing twice. This does not happen all the time but approximately in half of all times that I try (50% failure rate), I do not see with what this double-firing correlates it seems fairly random. Here some example output:
The text was updated successfully, but these errors were encountered: