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

feat: receipt root fn #1708

Merged
merged 3 commits into from
Dec 2, 2024
Merged

feat: receipt root fn #1708

merged 3 commits into from
Dec 2, 2024

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Nov 29, 2024

tried to make this work because would be useful for reth, but there are some conflicting designs.

we need 2718 for the root, the alloy ReceiptEnvelope already wraps ReceiptWithBloom<Receipt> reth's equivalent is enum Receipt {EIP155(Receipt)} and then we have

https://github.com/paradigmxyz/reth/blob/b09c345257cda4a88e8e347654e946a20f9e5cb7/crates/primitives/src/receipt.rs#L418-L418

not quite sure yet, how to unify this on alloy

@klkvr klkvr force-pushed the matt/add-receipt-proofs branch from b207bf6 to 9428946 Compare December 2, 2024 14:19
@mattsse mattsse marked this pull request as ready for review December 2, 2024 14:25
Copy link
Member Author

@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.

lgtm

@mattsse mattsse changed the title wip: receipt root feat: receipt root fn Dec 2, 2024
@mattsse mattsse merged commit 01e0081 into main Dec 2, 2024
26 checks passed
@mattsse mattsse deleted the matt/add-receipt-proofs branch December 2, 2024 14:44
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