-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Using WalletConnect and getPastEvents after window refocus leads to null signature. #181
Comments
Can you diagnose this further and check the raw network traffic in the web console? I think the next step would be to pin down if this is because of network event gets coming through fully for some browser reason or network event come through, but JavaScript is not processing it. |
The request is going through and seems normal to me?
|
Hello there. I have the same issue. @transmissions11 could you tell me please how it was solved? |
When fetching past events using
getPastEvents
from contracts after you refocus to a window that uses web3 with walletconnect (with web3modal), I get an event missing a lot of its data?To reproduce I stop focusing on the window (switch tabs or open another app) and return to the window, fetching contract events will have empty
returnValues
, a nullsignature
and an undefinedevent
field.Normal:
After refocus:
Contract event fetching code:
The text was updated successfully, but these errors were encountered: