Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ipapandinas opened this issue Aug 20, 2024 · 0 comments

Comments

@ipapandinas
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant