0xMiden / 0xMiden/protocol

Deconstruct `AccountComponentCode`'s library into components

Đang mở
#2,174 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
132
Fork
167
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
110

Mô tả

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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.