-
Notifications
You must be signed in to change notification settings - Fork 795
subscribe_blocks() is not working #684
Comments
Given that we're not hitting this bug in the test I wonder if this has to do with some network delay / bug in our websocket implementation? |
I can confirm |
This is quite weird. I tested with Alchemy and it's working, but I am not getting any results from Infura. (Same code as yours, just replaced Infura URL with Alchemy) |
Is your serde_json |
Can you give an example how it works with the |
@lerencao do you have a working example with the |
Infura streams notifications with jsonrpc all capitalized. This fails to deserialize on our end because serde expect a precise match ressembling the Notification jsonrpc field. Fixes gakonst#684.
Version
0.6.2
Platform
WSL2 (Linux LAPTOP-163CP44A 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux)
Description
ethers::provider::subscribe_blocks() not responding, the wss endpoint is valid that subscribe_pending_txs() is working properly.
I tried this code:
The text was updated successfully, but these errors were encountered: