0xMiden / 0xMiden/protocol

Simpler decorators removal from `ProvenTransaction` and `ProvenBatch`

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

Descrizione

In https://github.com/0xMiden/miden-node/pull/1194 the decorators removal in received `ProvenTransaction` and `ProvenBatch` was added, but due to the lack of accessors and mutators to the `MAST` of the note script we needed to dismember the original structs to then change the `MAST` and rebuild the, now without decorators` struct.

We need to investigate for a way to remove decorators easier from the mentioend structs, without having to clone so much and less error-prone.

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.