feat(exex): backfill on subscription with head (#10787)

This commit is contained in:
Alexey Shekhirin
2024-09-17 13:32:41 +01:00
committed by GitHub
parent 346eb308cd
commit 0cde072453
8 changed files with 507 additions and 56 deletions

View File

@ -48,7 +48,12 @@ impl<Node: FullNodeComponents + Clone> ExExLauncher<Node> {
for (id, exex) in extensions {
// create a new exex handle
let (handle, events, notifications) = ExExHandle::new(id.clone(), components.clone());
let (handle, events, notifications) = ExExHandle::new(
id.clone(),
head,
components.provider().clone(),
components.block_executor().clone(),
);
exex_handles.push(handle);
// create the launch context for the exex