0xMiden / 0xMiden/protocol

Modify `MockChain` to check the note target

Đang mở
#2,757 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
tests
Ngôn ngữ chính
Rust
Star
132
Fork
167
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
110

Mô tả

[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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.