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: add receipt builder for OpExecutionStrategy #13792

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Conversation

klkvr
Copy link
Collaborator

@klkvr klkvr commented Jan 13, 2025

This PR experiments with an idea of OP rollup with custom transaction type. RIght now OpExecutionStrategy expects concrete OpTransactionSigned and changing it would require making tx -> receipt conversion configurable.

This is solved with an additional OpReceiptBuilder trait

Copy link
Collaborator

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

nice, lgtm

Copy link
Collaborator

Choose a reason for hiding this comment

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

this will conflict a bit with #13735 but I don't mind rebasing that a few times hehe

Comment on lines +214 to +215
/// Trait for deposit receipt.
pub trait DepositReceipt: reth_primitives_traits::Receipt {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can live with this returning Option and we expect that this will be implemented for the actual receipt enum, so no need to to also name this OpReceipt

@klkvr klkvr added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit b4610a0 Jan 14, 2025
43 checks passed
@klkvr klkvr deleted the klkvr/generic-op-executor branch January 14, 2025 13: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.

2 participants