paritytech / paritytech/try-runtime-cli
Should be able to pass all `live` state arguments to the `execute_block` command
オープン
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 25
- フォーク
- 29
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Problem
I've noticed that the pallet, hashed_prefixes & child_tree arguments are not passed to the execute_block command when testing storage invariants with try-state. Here is my command:
try-runtime \
--runtime ./target/release/wbuild/astar-runtime/astar_runtime.wasm \
execute-block \
--try-state DappStaking \
live --uri wss://rpc.astar.network:443 --pallet DappStaking
This log is always printed:
[2024-08-20T08:39:00Z INFO remote-ext] since no prefix is filtered, the data for all pallets will be downloaded
Solution
I suggest adjusting the following section by removing the default method:
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず core/src/commands/execute_block.rs の 114-120 行付近を読み、execute-block の live 引数と issue の例のコマンドを比較します。示されている try-runtime コマンドを Astar runtime に対して実行し、すべての pallet をダウンロードするのではなく、pallet、hashed_prefixes、child_tree が live storage setup に到達することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- cli, testing
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100