Skip to content

Use latest reth for op-rbuilder #570

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

Merged
merged 9 commits into from
Apr 21, 2025
Merged

Use latest reth for op-rbuilder #570

merged 9 commits into from
Apr 21, 2025

Conversation

avalonche
Copy link
Contributor

πŸ“ Summary

πŸ’‘ Motivation and Context


βœ… I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@avalonche avalonche changed the title Use reth v1.3.9 for op-rbuilder Use latest reth for op-rbuilder Apr 17, 2025
@avalonche avalonche marked this pull request as ready for review April 17, 2025 23:10
@Copilot Copilot AI review requested due to automatic review settings April 17, 2025 23:10
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the op-rbuilder to use the latest reth dependencies and features, with changes across several modules to align with new reth versions and improve functionality. Key changes include:

  • Combined and cleaned up flashblocks imports in the tester module.
  • Added a new optional requests_hash field in the ExecutedPayload structure and updated related logic in the payload builder.
  • Adjusted gas estimation logic and updated dependency versions in Cargo.toml.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
crates/op-rbuilder/src/tester/mod.rs Consolidated flashblocks imports and removed redundant commented code.
crates/op-rbuilder/src/primitives/reth/execution.rs Added requests_hash field to the ExecutedPayload struct.
crates/op-rbuilder/src/payload_builder_vanilla.rs Updated gas estimation calculation and adjusted tuple creation for withdrawals and requests.
crates/op-rbuilder/src/main.rs Updated sequencer reference to match new API naming.
Cargo.toml Upgraded reth-related dependencies to v1.3.12 and adjusted compatibility comments.

Cargo.toml Outdated

# compatible with reth "v1.3.11" dependencies
# compatible with reth "v1.3.9" dependencies
Copy link
Preview

Copilot AI Apr 17, 2025

Choose a reason for hiding this comment

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

The compatibility comment still refers to reth v1.3.9 while the dependencies have been updated to v1.3.12; please update the comment to reflect the current dependency version.

Suggested change
# compatible with reth "v1.3.9" dependencies
# compatible with reth "v1.3.12" dependencies

Copilot uses AI. Check for mistakes.

@avalonche avalonche merged commit fefbedb into develop Apr 21, 2025
4 checks passed
@avalonche avalonche deleted the reth-1.3.9 branch April 21, 2025 20:29
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.

3 participants