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

fix: update receipts type to work with pre-byzantium receipts #1112

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

njgheorghita
Copy link
Collaborator

@njgheorghita njgheorghita commented Jan 25, 2024

What was wrong?

Pre-byzantium receipts were actually broken. Since pre-byzantium receipts have a different name for the "root" field, as opposed to "status" for post-byzantium, we need a way to decode either type.

How was it fixed?

  • added an alias to the "outcome" field

To-Do

@njgheorghita njgheorghita force-pushed the pre-byzantium-receipts branch from b3163bf to 894de6e Compare January 25, 2024 19:20
Copy link
Member

@KolbyML KolbyML left a comment

Choose a reason for hiding this comment

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

:shipit: very cool of RyanSchneider helping us fix this by letting us know they do serve roots

@njgheorghita njgheorghita marked this pull request as ready for review January 25, 2024 19:34
@njgheorghita njgheorghita merged commit 3fb7730 into ethereum:master Jan 25, 2024
8 checks passed
@njgheorghita njgheorghita deleted the pre-byzantium-receipts branch January 25, 2024 19:35
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.

2 participants