Skip to content
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

fix "Code: -32600, Message: Invalid request" when using with hardhat #268

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

rpuntaie
Copy link
Contributor

params is wrong:

{"jsonrpc":"2.0","id":0,"method":"eth_gasPrice","params":null}

With [] instead of null it does not happen.

It happened with

npx hardhat node

It didn't happen when using

docker run --name geth-test -d -p 8545:8545 -p 8546:8546 ethereum/client-go:v1.10.15 --dev --datadir /eth1data --ipcpath /eth1data/geth.ipc --http --http.addr 0.0.0.0 --http.api eth,net,web3,debug --ws --ws.addr 0.0.0.0 --verbosity 4

Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ethgo ❌ Failed (Inspect) Oct 30, 2024 5:01pm

@ferranbt ferranbt merged commit 92266b0 into umbracle:main Nov 1, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants