0xMiden / 0xMiden/protocol

Modify `MockChain` to check the note target

オープン
#2,757 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
tests
主要言語
Rust
スター
132
フォーク
167
平均マージ
1日 23時間
マージ済み PR(30日)
110

説明

[Issue #2748](https://github.com/0xMiden/protocol/issues/2748) exposed a bug in `MINT` note consumption: the faucet ID was incorrectly zeroed. Existing tests did not catch it because `MockChain` does not assert the `NetworkAccountTarget` attachment (faucet ID) when consuming the network note.

We should add that validation so bugs like this are caught in tests.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。