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(isthmus): define IsthmusPayloadFields #410

Merged
merged 8 commits into from
Feb 4, 2025
Merged

Conversation

emhane
Copy link
Collaborator

@emhane emhane commented Feb 3, 2025

Closes #407

@emhane emhane added A-consensus Area: consensus crate H-isthmus Hardfork: required for Isthmus hardfork labels Feb 3, 2025
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.

lgtm,

smol nits

crates/rpc-types-engine/src/sidecar.rs Outdated Show resolved Hide resolved
crates/rpc-types-engine/src/sidecar.rs Show resolved Hide resolved
crates/rpc-types-engine/src/sidecar.rs Show resolved Hide resolved
Comment on lines 28 to 29
/// EIP-7685 requests.
pub withdrawals_root: B256,
Copy link
Member

Choose a reason for hiding this comment

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

since this is just one field, that can be mocked, we don't necessarily need this type, and could use option directly, but imo having this makes it consistent and easier to document

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

was wondering if it more had smthg to do with serde serialisation, hence copied MaybePayloadFields pattern from alloy

@emhane emhane requested a review from mattsse February 4, 2025 00:43
@emhane emhane added this pull request to the merge queue Feb 4, 2025
Merged via the queue into main with commit 33b4d77 Feb 4, 2025
21 checks passed
@emhane emhane deleted the emhane/isthmus-payload branch February 4, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-consensus Area: consensus crate H-isthmus Hardfork: required for Isthmus hardfork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Define OpExecutionPayloadSidecar and isthmus payload fields
2 participants