0xMiden / 0xMiden/protocol

Simpler decorators removal from `ProvenTransaction` and `ProvenBatch`

Ouverte
#2,436 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
132
Forks
167
Merge moyen
1 j 23 h
PR mergées (30 j)
110

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.