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 Optimism execution payload envelope v3 #245

Merged
merged 4 commits into from
Mar 4, 2024

Conversation

fgimenez
Copy link
Contributor

@fgimenez fgimenez commented Mar 4, 2024

Motivation

Towards paradigmxyz/reth#6871

Solution

Replaces the existing OptimismExecutionPayloadV3 with OptimismExecutionPayloadEnvelopeV3, the latter is what will be used in BuiltPayload.

Also removes the parent_beacon_block_root field from ExecutionPayloadEnvelopeV3, not needed anymore with the specific envelope types and the changes in paradigmxyz/reth#6871 to use them.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@fgimenez fgimenez force-pushed the fgimenez/optimism-v3-envelope branch from 1985f36 to cb7c026 Compare March 4, 2024 12:07
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.

smol nit

crates/rpc-engine-types/src/payload.rs Outdated Show resolved Hide resolved
crates/rpc-engine-types/src/payload.rs Outdated Show resolved Hide resolved
@mattsse mattsse merged commit 785c667 into alloy-rs:main Mar 4, 2024
13 of 14 checks passed
@fgimenez fgimenez deleted the fgimenez/optimism-v3-envelope branch March 4, 2024 13:42
mattsse pushed a commit to paradigmxyz/revm-inspectors that referenced this pull request Mar 4, 2024
Updates `alloy-rpc-types` and `alloy-rpc-trace-types` to
`785c667813a6c76794044b943df58fc6e397734d`, which contains
alloy-rs/alloy#245
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