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
File "proj/titanoboa/boa/contracts/vyper/vyper_contract.py", line 739, in get_logs
ret.append(c.decode_log(e))
^^^^^^^^^^^^^^^
File "proj/titanoboa/boa/contracts/vyper/vyper_contract.py", line 769, in decode_log
abi_decode(typ.abi_type.selector_name(), encoded_topic)
File "proj/titanoboa/boa/util/abi.py", line 86, in abi_decode
return _ABIDecoder.decode(_get_parser(schema), data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "proj/titanoboa/venv/lib/python3.11/site-packages/eth/codecs/abi/decoder.py", line 58, in decode
return node.accept(cls, value, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "proj/titanoboa/venv/lib/python3.11/site-packages/eth/codecs/abi/nodes.py", line 44, in accept
return fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "proj/titanoboa/venv/lib/python3.11/site-packages/eth/codecs/abi/decoder.py", line 204, in visit_BytesNode
raise DecodeError("bytes", value, e.args[0])
eth.codecs.abi.exceptions.DecodeError: Error decoding '0x435cd288e3694b535549c3af56ad805c149f92961bf84a1c647f7d86fc2431b4' as 'bytes' - Data section is not the correct size
i think the decoding of topics might be messed up because we hash the bytestrings when used as indexed event args
The text was updated successfully, but these errors were encountered:
cyberthirst
changed the title
decoding events fails for bytesm
decoding events fails for indexed bytes
Nov 27, 2024
boa version: 0.2.5
yields:
i think the decoding of topics might be messed up because we hash the bytestrings when used as indexed event args
The text was updated successfully, but these errors were encountered: