-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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(builder): ethereum builder config #13315
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.
one suggestions, otherwise lgtm
crates/ethereum/node/src/node.rs
Outdated
pub struct EthereumPayloadBuilder; | ||
pub struct EthereumPayloadBuilder { | ||
/// Payload builder configuration. | ||
builder_config: EthereumBuilderConfig, |
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.
builder_config: EthereumBuilderConfig, | |
config: EthereumBuilderConfig, |
crates/ethereum/node/src/node.rs
Outdated
@@ -228,9 +230,29 @@ where | |||
} | |||
|
|||
/// A basic ethereum payload service. | |||
#[derive(Debug, Default, Clone)] | |||
#[derive(Clone, Debug)] | |||
#[non_exhaustive] |
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.
#[non_exhaustive] |
@@ -247,6 +247,7 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> { | |||
|
|||
let payload_builder = reth_ethereum_payload_builder::EthereumPayloadBuilder::new( | |||
EthEvmConfig::new(provider_factory.chain_spec()), | |||
EthereumBuilderConfig::new(Default::default()), |
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.
perhaps it would be better if EthereumBuilderConfig had Default
?
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.
ideally, this would be default_extradata()
, but it's not available in the crate where EthereumBuilderConfig
is defined, so i'd rather not have the default
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 see
Description
Adds ethereum builder config, towards #13128