-
Notifications
You must be signed in to change notification settings - Fork 12
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
Crashing when receiving token Transfer event #3
Comments
@danfinlay can you provide more info on the event data itself, name, args, some more code on your end etc? |
@SilentCicero theres a whole repro repo |
@kumavis I read through it, okay, it should be able to handle the anonymous portion:
If the event is anonymous it sets the offset to zero. So that shouldn't be the problem. Are you getting a specific error or just no data? @danfinlay |
@danfinlay you say the event is anonymous but there are no anonymous events in |
check in package-lock.json Generated using: - node v8.17.0 - npm 6.13.4
Reproduced in repository here.
The problem seems to be in this code:
The event is anonymous, but only has one topic, so nothing is at index 1. I don't fully get how to read this code, so I'm not sure how to fix it.
The text was updated successfully, but these errors were encountered: