mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-15 09:04:39 +00:00
stop calling eth_protocolVersion
(fixes #3532)
no longer supported by geth
This commit is contained in:
parent
7207185bc3
commit
f9f4a49c65
@ -1446,13 +1446,10 @@ proc testWeb3Provider*(web3Url: Uri,
|
||||
0
|
||||
clientVersion = mustSucceed "get client version":
|
||||
awaitWithRetries web3.provider.web3_clientVersion()
|
||||
protocolVersion = mustSucceed "get protocol version":
|
||||
awaitWithRetries web3.provider.eth_protocolVersion()
|
||||
mining = mustSucceed "get mining status":
|
||||
awaitWithRetries web3.provider.eth_mining()
|
||||
|
||||
echo "Client Version: ", clientVersion
|
||||
echo "Protocol Version: ", protocolVersion, " (", $protocolVersion.fromHex[:int], ")"
|
||||
echo "Network Version: ", networkVersion
|
||||
echo "Network Listening: ", listening
|
||||
echo "Network Peers: ", peers
|
||||
|
Loading…
x
Reference in New Issue
Block a user