0xMiden / 0xMiden/protocol

Modify `MockChain` to check the note target

Aberta
#2,757 1 comentário 0 reações 0 responsáveis Ver no GitHub
tests
Linguagem predominante
Rust
Estrelas
132
Forks
167
Merge médio
1d 23h
PRs com merge (30d)
110

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.