Skip to content

Should be able to pass all live state arguments to the execute_block command #94

Open

Description

@ipapandinas

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:

https://github.com/paritytech/try-runtime-cli/blob/60cfc452c4c1f5de0bcfa85e1e8dbba8ae8d3ebc/core/src/commands/execute_block.rs#L114C17-L120C18

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions