Replies: 3 comments 2 replies
-
Is there anybody help this issue? |
Beta Was this translation helpful? Give feedback.
-
I'm seeing the same behavior when trying to use Ethers.js with Anvil over websockets. It appears that this issue also happens with Hardhat Node and Ganache as well. Very strange. |
Beta Was this translation helpful? Give feedback.
-
Forking in Anvil means you take a snapshot of the state at a certain blockheight (usually |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys :)
Hope you can help met out.
Question concerning anvil, docker and websockets:
I have a docker compose project:
The src container is a Typescript node app with EthersJs to set up a websocket provider. When running agains mainnet the app can succesfully subscribe to websocket events.
When using the Anvil local fork, it can connect to anvil through the
ws://anvil:8545 docker container
, I can see the connection in the anvil container logs.However there is no subscription data coming in to my app
Going into the src container and doing a
The above results in only one piece of data, not a stream of data
What am i missing?
Beta Was this translation helpful? Give feedback.
All reactions