Skip to content

Commit

Permalink
actually call canonicalize on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Sep 26, 2024
1 parent 98fb3c7 commit f108940
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/node/builder/src/launch/exex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,16 @@ impl<Node: FullNodeComponents + Clone> ExExLauncher<Node> {
.resolve_datadir(config_container.config.chain.chain())
.exex_wal(),
)?;
let exex_manager = ExExManager::new(
let mut exex_manager = ExExManager::new(
exex_handles,
1024,
exex_wal,
components.provider().finalized_block_stream(),
);

// Canonicalize the ExEx WAL in case it's ahead of the node
exex_manager.canonicalize_wal(components.provider())?;

let exex_manager_handle = exex_manager.handle();
components.task_executor().spawn_critical("exex manager", async move {
exex_manager.await.expect("exex manager crashed");
Expand Down

0 comments on commit f108940

Please sign in to comment.