From 5cb709f0388754df6318d494401213de271979c7 Mon Sep 17 00:00:00 2001 From: yongkangc Date: Wed, 7 Jan 2026 06:10:45 +0000 Subject: [PATCH] cleanup comment --- crates/chain-state/src/deferred_trie.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/chain-state/src/deferred_trie.rs b/crates/chain-state/src/deferred_trie.rs index 617e1f7b89..0fe03806c6 100644 --- a/crates/chain-state/src/deferred_trie.rs +++ b/crates/chain-state/src/deferred_trie.rs @@ -149,13 +149,6 @@ impl DeferredTrieData { /// 3. Otherwise, rebuild overlay from ancestors (rare fallback) /// 4. Extend the overlay with this block's sorted data /// - /// # Why `anchor_hash` mismatch is safe - /// The parent's overlay can be reused even when `anchor_hash` differs because: - /// - Persisted blocks are removed from memory BEFORE new blocks are validated - /// - The `ancestors` slice only contains unpersisted blocks - /// - Parent's overlay only has data from blocks still in the ancestors list - /// - The `anchor_hash` is just metadata, not a correctness constraint for the overlay data - /// /// Used by both the async background task and the synchronous fallback path. /// /// # Arguments