Skip to content

Commit

Permalink
cost
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Dec 4, 2024
1 parent c5f4eee commit 5601be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/optimism/payload/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ impl<EvmConfig> OpPayloadBuilder<EvmConfig> {
/// `OpPayloadBuilder` constructor.
///
/// Configures the builder with the default settings.
pub const fn new(evm_config: EvmConfig) -> Self {
pub fn new(evm_config: EvmConfig) -> Self {
Self::with_builder_config(evm_config, Default::default())
}

/// Configures the builder with the given [`OpBuilderConfig`].
pub const fn with_builder_config(evm_config: EvmConfig, config: OpBuilderConfig) -> Self {
pub fn with_builder_config(evm_config: EvmConfig, config: OpBuilderConfig) -> Self {
Self { compute_pending_block: true, evm_config, config, best_transactions: () }
}
}
Expand Down

0 comments on commit 5601be4

Please sign in to comment.