-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: integrate builder #6611
feat: integrate builder #6611
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.
looks good overall, but lot of modules commented out - are we adding these back?
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.
I like this, lgtm pending examples migration and others review comments
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.
looks great, I just have nits. The UX in the examples are amazing
<reth_ethereum_payload_builder::EthereumPayloadBuilder as PayloadBuilder<Pool,Client>> ::build_empty_payload(client, | ||
PayloadConfig { initialized_block_env, initialized_cfg, parent_block, extra_data, attributes: attributes.0, chain_spec } |
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.
any way to make the formatting on this better?
and pending compile fixes |
3ebf539
to
cd494ba
Compare
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.
💥
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.
stellar work, ship it 🫡
} | ||
|
||
/// Creates an _ephemeral_ preconfigured node for testing purposes. | ||
pub fn testing_node( |
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.
great
@@ -14,7 +21,34 @@ fn main() { | |||
std::env::set_var("RUST_BACKTRACE", "1"); | |||
} | |||
|
|||
if let Err(err) = reth::cli::run() { | |||
if let Err(err) = Cli::<RollupArgs>::parse().run(|builder, rollup_args| async move { |
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.
magnificent
Integrates the new builder API.
Removes all extension trait stuff
the launch code is now part of the builder
I've also modified the
receipt_root
functions because mutually exclusive function signatures are a nightmare if we use conflicting ethereum code by defaultone example is not completely ported, but I think this didn't even work previously, would like to tackle this in a followup because requires more work.