Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError running against geth #1

Open
fvictorio opened this issue Dec 28, 2017 · 1 comment
Open

ValueError running against geth #1

fvictorio opened this issue Dec 28, 2017 · 1 comment

Comments

@fvictorio
Copy link

I installed and executed gasprice against geth connected to the Rinkeby chain, and got this error:

[2017-12-28 18:34:13 -0300] [21425] [INFO] Goin' Fast @ http://127.0.0.1:8000
[2017-12-28 18:34:13 -0300] [21425] [INFO] Starting worker [21425]
warming up  [------------------------------------]    1%
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/fvictorio/.local/lib/python3.5/site-packages/web3/utils/formatters.py", line 66, in apply_formatters_to_dict
    yield key, formatters[key](item)
  File "cytoolz/functoolz.pyx", line 232, in cytoolz.functoolz.curry.__call__
  File "/home/fvictorio/.local/lib/python3.5/site-packages/web3/middleware/pythonic.py", line 94, in to_hexbytes
    result, len(result), num_bytes
ValueError: The value HexBytes('0xd783010703846765746887676f312e392e32856c696e757800000000000000004a77407315bec04bc79b3093dc34e3417035e40731ddd3d859d9163142d5dd2c7bfb39dd963a9a542322d99621fd59145e25e58c5418d19d3a271bd3d0ef5d4b00') is 97 bytes, but should be 32

Am I doing something wrong here?

Thanks.

@banteg
Copy link
Owner

banteg commented Dec 28, 2017

This looks like a problem with web3py library. It would be nice if you report it to them.
https://github.com/ethereum/web3.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants