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

catch InsufficientDataBytes errors when processing receipts #3388

Merged

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented May 10, 2024

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:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

image

@pacrob pacrob changed the title catch InsufficientDataBytes errors when parsing logs catch InsufficientDataBytes errors when processing receipts May 10, 2024
@pacrob pacrob force-pushed the catch-receipt-InsufficientDataBytes-error branch from 434ebcc to 5fea6c6 Compare May 10, 2024 20:38
@pacrob pacrob marked this pull request as ready for review May 10, 2024 20:54
@pacrob pacrob requested review from fselmo, reedsa and kclowes May 10, 2024 20:54
Copy link
Contributor

@reedsa reedsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🚀

Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pacrob pacrob merged commit 407de86 into ethereum:main May 15, 2024
71 checks passed
@pacrob pacrob deleted the catch-receipt-InsufficientDataBytes-error branch May 15, 2024 21:49
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

Successfully merging this pull request may close these issues.

3 participants