Skip to content

Commit

Permalink
update interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jan 9, 2024
1 parent e86b1c3 commit d99e662
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/reth/src/commands/debug_cmd/replay_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use reth_primitives::{
fs::{self},
ChainSpec,
};
use reth_provider::{providers::BlockchainProvider, ProviderFactory};
use reth_provider::{providers::BlockchainProvider, CanonStateSubscriptions, ProviderFactory};
use reth_revm::EvmProcessorFactory;
use reth_rpc_types::{
engine::{CancunPayloadFields, ForkchoiceState, PayloadAttributes},
Expand Down Expand Up @@ -175,7 +175,10 @@ impl Command {
self.chain.clone(),
payload_builder,
);
let (payload_service, payload_builder) = PayloadBuilderService::new(payload_generator);
let (payload_service, payload_builder) = PayloadBuilderService::new(
payload_generator,
blockchain_db.subscribe_to_canonical_state(),
);
ctx.task_executor.spawn_critical("payload builder service", Box::pin(payload_service));

// Configure the consensus engine
Expand Down

0 comments on commit d99e662

Please sign in to comment.