Closed
Description
System information
Geth version: geth version
- 1.14.3
CL client & version: e.g. lighthouse/nimbus/prysm@v1.0.0
OS & Version: Windows/Linux/OSX
Commit hash : (if develop
)
Expected behaviour
The method should return me the Network ID.
Actual behaviour
I am getting error method net_version does not exist/is not available
I have checked the nodes, http-api net,eth
is enabled. If I try to run the curl command on the RPC endpoint of the node, it works fine.
config toml of my node has
HTTPModules = ["admin", "engine", "net", "web3", "eth", "debug", "txpool"]
Steps to reproduce the behaviour
Through code, try to invoke NetworkID referred here -
go-ethereum/ethclient/ethclient.go
Line 356 in 6154f87
Backtrace
[backtrace]
When submitting logs: please submit them as text and not screenshots.