spike: investigate missing UTXO metadata causing storage root panic (PM-21781)#656
Draft
spike: investigate missing UTXO metadata causing storage root panic (PM-21781)#656
Conversation
Storage root mismatch panic in frame_executive::Executive::execute_block triggered by invalid UTXO metadata in midnight_ledger::dust. Caused ~5-minute block time spike on QANet affecting all node types. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Summary
Investigate the root cause of the storage root mismatch panic on QANet (Feb 10 2026). Initial hypothesis (non-deterministic dust fee calculation) was invalidated by domain expert review. The actual divergence source is unknown and requires log-level investigation.
🎫 Ticket 📐 Engineering
Motivation
On Feb 10 2026, QANet experienced a ~5-minute block time spike with all node types panicking: "Storage root must match that calculated." The warning "couldn't get metadata of input utxo, it's likely invalid" appeared in logs preceding the panic.
An initial fix targeting
midnight-ledgerdust fee calculation (PR #184) was closed after domain expert review confirmed the code path is deterministic across all nodes — if UTXO metadata is missing, all nodes (including the block author) return the same value, producing no state divergence. The WARN log was a red herring.The actual root cause of the storage root mismatch remains unknown.
Investigation Plan
Previous investigation (ruled out)
The
generationless_fee_availability()code path inmidnight-ledger/ledger/src/dust.rswas analyzed in depth and is not the cause. All nodes execute the same deterministic code. See closure report for details.📌 Submission Checklist
🔱 Fork Strategy
🗹 TODO before merging