-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
WebSocket events: Cannot use 'in' operator to search for 'id' in iAA= #4051
Comments
The problem with the ethers.IpcSocketProvider |
Maybe the problem is related to WebSockets, but it recurs when I use an IPC provider in isolation, without WebSockets. |
I forked the repository and made a hotfix in the
|
Thanks! I can definitely include that fix too. But I’m curious what it is returning that isn’t an object? |
I haven't checked to be honest. Most likely undefined or null. |
I've added that check to the SocketProvider, in v6.4.0 and emit an Let me know if you continue having any problems. Thanks! :) |
Ethers Version
6.1.3
Search Terms
WebSocketProvider, BSC
Describe the Problem
I'm getting this error when listening to pending transactions or events (I do not know for sure):
Sorry, but I can't give more details.
Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer), Geth, Parity
Environment (Other)
Docker
The text was updated successfully, but these errors were encountered: