CLI fetches the whole account storage unnecessarily
- Vorherrschende Sprache
- Rust
- Sterne
- 78
- Forks
- 129
- Ø Merge
- 4 T. 14 Std.
- Gemergte PRs (30 T.)
- 52
Beschreibung
Currently, on the CLI show account command, we fetch the whole account details. The CLI displays the whole vault but not the storage entries. We could either:
- Avoid fetching the storage. This would only use the `GetAccount` and `SyncAccountVault` endpoints.
- Display the full storage info. For this, I think we should add a subcommand / flag to opt-in into the full vault and full storage display.
Context: https://github.com/0xMiden/miden-client/pull/2158#discussion_r3250227466
Beitragsleitfaden
Rechercherichtung
Look at the CLI show account command code, likely in a cli/ or src/cli module. Identify where it fetches account details and calls GetAccount and SyncAccountVault endpoints. The goal is to modify the fetch logic to optionally skip storage data or add a flag/subcommand for full display. Check the linked PR discussion for more context on the current implementation.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli
- Issue-Typ
- Refactoring
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 65/100