Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/reth/src/cli/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub trait RethNodeCommandConfig: fmt::Debug {
// The default payload builder is implemented on the unit type.
#[cfg(not(feature = "optimism"))]
#[allow(clippy::let_unit_value)]
let payload_builder = ();
let payload_builder = reth_basic_payload_builder::EthereumPayloadBuilder;

// Optimism's payload builder is implemented on the OptimismPayloadBuilder type.
#[cfg(feature = "optimism")]
Expand Down
3 changes: 3 additions & 0 deletions crates/payload/basic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ use tracing::{debug, trace};

mod metrics;

#[cfg(not(feature = "optimism"))]
Comment thread
refcell marked this conversation as resolved.
Outdated
pub type EthereumPayloadBuilder = ();
Comment thread
refcell marked this conversation as resolved.
Outdated

#[cfg(feature = "optimism")]
mod optimism;
#[cfg(feature = "optimism")]
Expand Down