0xMiden / 0xMiden/protocol

Deconstruct `AccountComponentCode`'s library into components

未關閉
#2,174 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
132
分支
167
平均合併
1 天 23 小時
30 天內合併 PR
110

描述

https://github.com/0xMiden/miden-base/pull/2142 introduces the concept of `AccountComponentCode`, which currently just wraps a `Library`. We could deconstruct its library into its components, providing getters where necessary:

> Probably not for this PR, but I think we should deconstruct `Library` into relevant components here - similar to how ?we do this for `NoteScript` and `TransactionScript`. It could look something like:
>
> ```rust
> pub struct AccountComponentCode {
> mast: Arc,
> exports: Vec,
> }
> ```
_Originally posted by @bobbinth in https://github.com/0xMiden/miden-base/pull/2142#discussion_r2611894494_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。