0xMiden / 0xMiden/protocol

Modify `MockChain` to check the note target

Aperta
#2,757 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
tests
Lingua principale
Rust
Stelle
132
Fork
167
Merge medio
1g 23h
PR unite (30g)
110

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.