-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
anvil cannot fork from https://ethereum-goerli.publicnode.com #5458
Comments
for some reason this endpoint returns the method value itself in the response
which is invalid json rpc |
Yep as mattsse said, this endpoint is returning invalid json rpc. It's a bit of a minor issue but we prefer to keep it strict closing as reason is found |
Can we have a Meanwhile I'll patch my anvil and alert publicnode.com. |
For anyone else stumbling on a similar issue, you can relax ether-rs's strict json rpc response handling by making this change in ethers-providers/src/rpc/transports/common.rs ~ line 211:
to
|
See #5490 |
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
anvil 0.1.0 (6e09b4e 2023-07-24T00:19:12.456381803Z)
What command(s) is the bug in?
anvil
Operating System
Linux
Describe the bug
This should "just work" right? Repeated calls show a different (higher)
result
in the jsonrpc portion of the JsonRpcClientError, so this data does seem to indicate a proper response from publicnode.com. hardhat is able to fork from that url without a problem.The text was updated successfully, but these errors were encountered: