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

consensus: add Receipts struct #1247

Merged
merged 10 commits into from
Sep 25, 2024
Merged

consensus: add Receipts struct #1247

merged 10 commits into from
Sep 25, 2024

Conversation

tcoratger
Copy link
Contributor

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.

the reth receipts type is very bad because the option was due to contract level pruning.

I'd prefer if we could remove the Option entirely, I assume we can do this if we change how we prune during pipeline execution, or use two types one non optional and one optional for pruned receipts

crates/consensus/src/receipt/receipts.rs Outdated Show resolved Hide resolved
crates/consensus/src/receipt/receipts.rs Outdated Show resolved Hide resolved
@tcoratger
Copy link
Contributor Author

@mattsse Nice bump here, can we merge or any blocker?

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.

sorry, forgot about this, one nit

crates/consensus/src/receipt/receipts.rs Outdated Show resolved Hide resolved
tcoratger and others added 2 commits September 25, 2024 09:35
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
@tcoratger
Copy link
Contributor Author

sorry, forgot about this, one nit

@mattsse done

@mattsse mattsse merged commit b83e7a8 into alloy-rs:main Sep 25, 2024
26 checks passed
lwedge99 pushed a commit to sentioxyz/alloy that referenced this pull request Oct 8, 2024
* consensus: add Receipts struct

* fix cfg

* fix comments

* fix cargo file

* fix imports

* fix imports

* Update crates/consensus/src/receipt/receipts.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* fix nit

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
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