stop calling `eth_protocolVersion` (fixes #3532)

no longer supported by geth
This commit is contained in:
Jacek Sieka 2022-04-08 13:08:35 +02:00
parent 7207185bc3
commit f9f4a49c65
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 0 additions and 3 deletions

View File

@ -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