0xMiden / 0xMiden/rust-sdk

CLI fetches the whole account storage unnecessarily

Aperta
#2,192 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Rust
Stelle
78
Fork
129
Merge medio
4g 14h
PR unite (30g)
52

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.