Let account component store one of its public procedure roots in a storage slot
- Lenguaje dominante
- Rust
- Estrellas
- 115
- Forks
- 84
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 15
Descripción
from https://github.com/0xMiden/protocol/pull/3527#discussion_r3817951211
> Could we not do this already via the component metadata? For example, we could have a new storage schema type - something like `miden::protocol::stored_procedure` and then we'd be able to get all storage slots that have this type?
>
> In TOML it could look something like this:
>
> ```toml
> [[storage.slots]]
> name = "authority_procedure"
> type = "miden::protocol::stored_procedure"
> ```
Guía de contribución
Línea de trabajo
The issue references a PR discussion about storing a public procedure root in a storage slot via component metadata. Look at the compiler's storage schema handling, likely in a module dealing with TOML metadata or storage slot types. Start by examining how storage slots are currently defined and how new types like 'miden::protocol::stored_procedure' could be added. Check the linked PR #3527 for context. 'Done' means the compiler supports a new storage schema type for stored procedures and can serialize it in TOML as shown.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- compilers
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100