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

Define OpReceipt #12588

Open
Tracked by #7649
emhane opened this issue Nov 15, 2024 · 5 comments
Open
Tracked by #7649

Define OpReceipt #12588

emhane opened this issue Nov 15, 2024 · 5 comments
Assignees
Labels
A-op-reth Related to Optimism and op-reth A-sdk Related to reth's use as a library C-debt Refactor of code section that is hard to understand or maintain D-good-first-issue Nice and easy! A great choice to get started

Comments

@emhane
Copy link
Member

emhane commented Nov 15, 2024

Describe the feature

Define OpReceipt which should be a wrapper around the op-alloy type, and should impl reth_primitives_traits::Receipt.

Additional context

No response

@emhane emhane added A-sdk Related to reth's use as a library C-debt Refactor of code section that is hard to understand or maintain D-good-first-issue Nice and easy! A great choice to get started labels Nov 15, 2024
@emhane emhane added the A-op-reth Related to Optimism and op-reth label Nov 15, 2024
@kamuik16
Copy link
Contributor

Describe the feature

Define OpReceipt which should be a wrapper around the op-alloy type, and should impl reth_primitives_traits::Receipt.

Additional context

No response

Which type to take from the op-alloy, there's nothing like OpReceipt in it.

@emhane
Copy link
Member Author

emhane commented Nov 18, 2024

very true @kamuik16 , thanks! The OpReceiptEnvelope wraps ReceiptWithBloom, that's not what we need here. Then please define the type from scratch in reth. It should have the same variants as OpReceiptEnvelope. Eventually we will want to move this new enum to to op-alloy, but to not block the bigger sdk task which this issue is a part of, let's define the type in reth at first and then open an issue, when that's merged, to migrate the type to op-alloy.

@emhane
Copy link
Member Author

emhane commented Nov 19, 2024

are you working on this @kamuik16 ?

@kamuik16
Copy link
Contributor

are you working on this @kamuik16 ?

ahh no, not for now.

@dastansam
Copy link

would like to work on this @emhane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-reth Related to Optimism and op-reth A-sdk Related to reth's use as a library C-debt Refactor of code section that is hard to understand or maintain D-good-first-issue Nice and easy! A great choice to get started
Projects
Status: Todo
Development

No branches or pull requests

3 participants