Skip to content

Commit

Permalink
actually handle event lol
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed Dec 17, 2024
1 parent b755109 commit 63eda02
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion crates/engine/tree/src/tree/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ where
}

/// Handles request for proof prefetch.
fn prefetch_proof(
fn on_prefetch_proof(
scope: &rayon::Scope<'env>,
view: ConsistentDbView<Factory>,
input: Arc<TrieInput>,
Expand Down Expand Up @@ -517,6 +517,15 @@ where
len = targets.len(),
"Prefetching proofs"
);
Self::on_prefetch_proof(
scope,
self.config.consistent_view.clone(),
self.config.input.clone(),
targets,
&mut self.fetched_proof_targets,
self.proof_sequencer.next_sequence(),
self.tx.clone(),
);
}
StateRootMessage::StateUpdate(update) => {
if updates_received == 0 {
Expand Down

0 comments on commit 63eda02

Please sign in to comment.