You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgraded from 6.0.0 to 6.5.0. Web3.solidity_keccak works as expected, but AsyncWeb3.solidity_keccak raises an exception.
>>> from web3 import Web3, AsyncWeb3
>>> Web3.solidity_keccak(("address", "uint256"), ("0xC378c4C85B04c6598B498bf107E5872D3d4A1F2e", 123))
HexBytes('0x8f984d5a8d254b1ac6d2c0dcc8ca187254885a6347125c96dabaaaf3ecca3ec7')
>>> AsyncWeb3.solidity_keccak(("address", "uint256"), ("0xC378c4C85B04c6598B498bf107E5872D3d4A1F2e", 123))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pedro/tmp/.venv/lib/python3.10/site-packages/eth_utils/decorators.py", line 20, in _wrapper
return self.method(objtype, *args, **kwargs)
File "/home/pedro/tmp/.venv/lib/python3.10/site-packages/web3/main.py", line 316, in solidity_keccak
for abi_type, value in zip(abi_types, normalized_values)
TypeError: 'cytoolz.functoolz.curry' object is not iterable
How can it be fixed?
?
The text was updated successfully, but these errors were encountered:
pjwerneck
changed the title
Call to AsyncWeb3.solidity_keccak raises in TypeError: 'cytoolz.functoolz.curry' object is not iterable
Call to AsyncWeb3.solidity_keccak raises TypeError: 'cytoolz.functoolz.curry' object is not iterableJun 24, 2023
pip freeze
outputWhat was wrong?
Upgraded from 6.0.0 to 6.5.0.
Web3.solidity_keccak
works as expected, butAsyncWeb3.solidity_keccak
raises an exception.How can it be fixed?
?
The text was updated successfully, but these errors were encountered: