-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Closed
Labels
Description
System information
Version: 1.9.26-unstable
Git Commit: 3c46f55
Architecture: amd64
Go Version: go1.15.6
Operating System: linux
Expected behaviour
$ curl -X POST 'localhost:8545' --header 'Content-type: application/json' --data-raw '{ "jsonrpc":"2.0", "method":"net_version", "params":[], "id":1 }'
{"jsonrpc":"2.0","id":1,"result":"1"}
Actual behaviour
$ curl -X POST 'localhost:8545' --header 'Content-type: application/json' --data-raw '{ "jsonrpc":"2.0", "method":"net_version", "params":[], "id":1 }'
{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method net_version does not exist/is not available"}}
geth logs:
WARN [12-17|21:04:03.023] Served net_version conn=127.0.0.1:36678 reqid=1 t="34.56µs" err="the method net_version does not exist/is not available"
Steps to reproduce the behaviour
Run geth --http and the above curl command
Backtrace
N/A