From 4cf36dda541ee60f1a4a4f3bc6e1e2b081f4dfd2 Mon Sep 17 00:00:00 2001 From: forkfury Date: Thu, 18 Dec 2025 21:16:15 +0100 Subject: [PATCH] docs: correct FinishedStateUpdates message name (#20471) --- crates/engine/tree/docs/root.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/engine/tree/docs/root.md b/crates/engine/tree/docs/root.md index a5b9bcb1d4..a76d09b484 100644 --- a/crates/engine/tree/docs/root.md +++ b/crates/engine/tree/docs/root.md @@ -128,12 +128,12 @@ we send them along with the state updates to the [Sparse Trie Task](#sparse-trie ### Finishing the calculation -Once all transactions are executed, the [Engine](#engine) sends a `StateRootMessage::FinishStateUpdates` message +Once all transactions are executed, the [Engine](#engine) sends a `StateRootMessage::FinishedStateUpdates` message to the State Root Task, marking the end of receiving state updates. Every time we receive a new proof from the [MultiProof Manager](#multiproof-manager), we also check the following conditions: -1. Are all updates received? (`StateRootMessage::FinishStateUpdates` was sent) +1. Are all updates received? (`StateRootMessage::FinishedStateUpdates` was sent) 2. Is `ProofSequencer` empty? (no proofs are pending for sequencing) 3. Are all proofs that were sent to the [`MultiProofManager::spawn_or_queue`](#multiproof-manager) finished calculating and were sent to the [Sparse Trie Task](#sparse-trie-task)?