0xMiden / 0xMiden/rust-sdk

CLI fetches the whole account storage unnecessarily

オープン
#2,192 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。