-
Notifications
You must be signed in to change notification settings - Fork 146
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
# compatible with reth "v1.3.9" dependencies | |
# compatible with reth "v1.3.12" dependencies |
Copilot uses AI. Check for mistakes.
π Summary
π‘ Motivation and Context
β I have completed the following steps:
make lint
make test