I am trying to connect to Rinkeby using web3.py. But when I call a method, like w3.version.node
, it throws an exception ending in:
... File "/home/hacker/venv/lib/python3.5/site-packages/web3/utils/formatters.py", line 69, in apply_formatters_to_dict raise type(exc)("Could not format value %r as field %r" % (item, key)) from exc ValueError: Could not format value '0x{LONG_HEX}' as field 'extraData'
(Where LONG_HEX
is a lot of hex characters, like 194)
How do I fix my connection to get block data?
Versions:
geth
1.8.2web3.py
v4.0.0-beta.13
Note: In addition to the Rinkeby network, I get this same exception after connecting to a node started with geth --dev