ethereum / web3.py

A python interface for interacting with the Ethereum blockchain and ecosystem.
http://web3py.readthedocs.io
MIT License
4.97k stars 1.69k forks source link

catch InsufficientDataBytes errors when processing receipts #3388

Closed pacrob closed 4 months ago

pacrob commented 4 months ago

What was wrong?

PR #3256 aimed to catch this error as well as allow decoding of data shorter than expected. The decoding will be more complicated, but at least we can handle an additional error type better.

How was it fixed?

Added InsufficientDataBytes to types of errors handled by _parse_logs.

Todo:

Cute Animal Picture

image