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 parent beacon block root into ExecutionPayloadEnvelopeV3 #227

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

clabby
Copy link
Contributor

@clabby clabby commented Feb 21, 2024

Overview

Adds the parentBeaconBlockRoot field to the ExecutionPayloadEnvelopeV3, required in the Ecotone hardfork.

Reference: https://github.com/ethereum-optimism/op-geth/blob/70103aa6866c3d965f1f71154958cd9c1a7beb5b/beacon/engine/types.go#L102-L103

crates/rpc-engine-types/src/payload.rs Outdated Show resolved Hide resolved
Comment on lines +120 to +122
/// Optimism-specific - Ecotone parent beacon block root
#[serde(default, skip_serializing_if = "Option::is_none")]
pub parent_beacon_block_root: Option<B256>,
Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with that for now, if you create a new reth issue for better rpc execution payload customization

cc @Rjected

Copy link
Member

Choose a reason for hiding this comment

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

is this fixed with the customized engine types in node builder?

Copy link
Member

Choose a reason for hiding this comment

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

@mattsse mattsse merged commit 76c70fb into alloy-rs:main Feb 21, 2024
14 checks passed
@mattsse
Copy link
Member

mattsse commented Feb 21, 2024

@clabby to update reth

please bump pinned alloy commit in paradigm/emv-inspectors first, then bump both on reth

mattsse pushed a commit to paradigmxyz/revm-inspectors that referenced this pull request Feb 21, 2024
## Overview

Updates `alloy-rpc-types` and `alloy-rpc-trace-types` to
`76c70fb9d44ace661bbf33408c2527e3874c964e`, which contains
alloy-rs/alloy#227
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.

5 participants