Have `AccountComponent::new()` verify consistency between storage and metadata
Aperta
standards
- Lingua principale
- Rust
- Stelle
- 132
- Fork
- 167
- Merge medio
- 1g 23h
- PR unite (30g)
- 110
Descrizione
`AccountComponent::new()` currently accepts storage and metadata without validating that they are consistent with each other (e.g., that the storage slots match what the metadata schema describes). We should add a consistency check so that invalid combinations are rejected at construction time. Originally commented on [here](https://github.com/0xMiden/protocol/pull/2603#discussion_r2936331642).
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.