0xMiden / 0xMiden/protocol

Deconstruct `AccountComponentCode`'s library into components

Offen
#2,174 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
132
Forks
167
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
110

Beschreibung

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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.