0xMiden / 0xMiden/protocol

Simpler decorators removal from `ProvenTransaction` and `ProvenBatch`

未关闭
#2,436 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
110

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。