mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-13 20:46:26 +00:00
While looking at the RPC `eth_protocolVersion` to see exactly what it should report when there are multiple `eth/NN` versions supported by a node, I found some differences in the documentation: - The old Ethereum wiki documents it as returning a decimal string. - But Infura documents it as returning 0x-prefixed hex string. - Geth 1.10.0 has removed this call entirely "as it makes no sense". https://eth.wiki/json-rpc/API#eth_protocolversion https://infura.io/docs/ethereum/json-rpc/eth-protocolVersion https://blog.ethereum.org/2021/03/03/geth-v1-10-0/#compatibility Signed-off-by: Jamie Lokier <jamie@shareable.org>