feat(exex): finalize WAL only when all ExExes are on the canonical chain (#11289)

This commit is contained in:
Alexey Shekhirin
2024-09-29 13:29:12 +03:00
committed by GitHub
parent d94462bfef
commit ce1f669b9b
6 changed files with 227 additions and 88 deletions

View File

@ -109,6 +109,7 @@ impl<Node: FullNodeComponents + Clone> ExExLauncher<Node> {
debug!(target: "reth::cli", "spawning exex manager");
// todo(onbjerg): rm magic number
let exex_manager = ExExManager::new(
components.provider().clone(),
exex_handles,
DEFAULT_EXEX_MANAGER_CAPACITY,
exex_wal,