0xMiden / 0xMiden/protocol

Modify `MockChain` to check the note target

未关闭
#2,757 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
tests
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
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 摘要。