CLI fetches the whole account storage unnecessarily
- 主要言語
- Rust
- スター
- 78
- フォーク
- 129
- 平均マージ
- 4日 14時間
- マージ済み PR(30日)
- 52
説明
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
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- cli
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100