Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changes/fixed/3275.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rollback stale preconfirmations in the mempool when the canonical block at that height omits the preconfirmed transactions, restoring spent inputs and removing dependent transactions.
9 changes: 2 additions & 7 deletions crates/services/txpool_v2/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,7 @@ where
else {
// Invariant violation. Panic in tests, log in production.
debug_assert!(false, "Storage data not found for the transaction");
tracing::warn!(
"Storage data not found for the transaction during `remove_transaction`."
);
tracing::warn!("Storage data not found for the transaction during.");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Truncated log message ends with dangling "during."

Low Severity

The warning message "Storage data not found for the transaction during." is grammatically incomplete — "during" is a preposition left without an object. The original message referenced `remove_transaction` after "during", which was accidentally removed instead of being kept or the entire trailing clause being dropped.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 78a204c. Configure here.

continue
};
self.extracted_outputs
Expand All @@ -516,10 +514,7 @@ where
false,
"Dependent storage data not found for the transaction"
);
tracing::warn!(
"Dependent storage data not found for \
the transaction during `remove_transaction`."
);
tracing::warn!("Dependent storage data not found for the transaction.");
continue
};

Expand Down
Loading