File tree Expand file tree Collapse file tree 2 files changed +178
-147
lines changed
crates/op-rbuilder/src/builders Expand file tree Collapse file tree 2 files changed +178
-147
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,14 @@ pub struct OpPayloadBuilderCtx<ExtraCtx: Debug + Default = ()> {
7474}
7575
7676impl < ExtraCtx : Debug + Default > OpPayloadBuilderCtx < ExtraCtx > {
77+ pub ( super ) fn with_cancel ( self , cancel : CancellationToken ) -> Self {
78+ Self { cancel, ..self }
79+ }
80+
81+ pub ( super ) fn with_extra_ctx ( self , extra_ctx : ExtraCtx ) -> Self {
82+ Self { extra_ctx, ..self }
83+ }
84+
7785 /// Returns the parent block the payload will be build on.
7886 pub fn parent ( & self ) -> & SealedHeader {
7987 & self . config . parent_header
@@ -340,7 +348,7 @@ impl<ExtraCtx: Debug + Default> OpPayloadBuilderCtx<ExtraCtx> {
340348 let tx_da_limit = self . da_config . max_da_tx_size ( ) ;
341349 let mut evm = self . evm_config . evm_with_env ( & mut * db, self . evm_env . clone ( ) ) ;
342350
343- info ! (
351+ debug ! (
344352 target: "payload_builder" ,
345353 message = "Executing best transactions" ,
346354 block_da_limit = ?block_da_limit,
You can’t perform that action at this time.
0 commit comments