Detect erased notes for a network account
- 主要語言
- Rust
- 星號
- 78
- 分支
- 129
- 平均合併
- 4 天 14 小時
- 30 天內合併 PR
- 52
描述
Erased notes are not marked as consumed unless they are already present in the store. When the sync detects an erased note (created and consumed in the same batch), it transitions the existing input record to consumed, but if the client never had an input (or output) record for that note, the sync has no way to surface the consumption.
A posible fix would be to add the ability to create input note records from the note header provided by the transaction sync, instead of requiring the full note details. This was initially implemented on https://github.com/0xMiden/miden-client/pull/2090 but discarded to avoid breaking changes for the patch release.
Related: https://github.com/0xMiden/miden-client/issues/1971
貢獻指南
研究方向
Look at the sync logic for handling erased notes, particularly where input records are created and transitioned to consumed. Review the discarded PR #2090 for context on creating input note records from note headers. Understand the note lifecycle and how consumption is surfaced when a client lacks prior records.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust
- 領域
- blockchain
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100