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(anvil): receipts root calculation #8085

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Jun 6, 2024

Motivation

Closes #8073

Solution

Similarly to #7718 implements Encodable2718 and Decodable2718 for TypedReceipt.

Also improved handling of optimism-specific fields.

Receipt root calculation verified against random optimism blocks.

@klkvr klkvr changed the title fix(anvil): update receipts root calculation fix(anvil): receipts root calculation Jun 6, 2024
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

I love rlp 👍

@klkvr klkvr merged commit ca0f29b into master Jun 6, 2024
19 checks passed
@klkvr klkvr deleted the klkvr/anvil-fix-receipt branch June 6, 2024 18:12
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.

ReceiptsRoot not computed correctly
2 participants