This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
try-runtime-cli docs and tests #13796
Copy link
Copy link
Closed
Labels
I5-testsTests need fixing, improving or augmenting.Tests need fixing, improving or augmenting.I6-documentationDocumentation needs fixing, improving or augmenting.Documentation needs fixing, improving or augmenting.T1-runtimeThis PR/Issue is related to the topic “runtime”.This PR/Issue is related to the topic “runtime”.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Description
At least one try-runtime-cli command passes parameters in the incorrect order (https://substrate.stackexchange.com/q/7902/3991).
Need to audit all the examples in the docs and fix any issues, and write some CLI tests to make sure they don't break in the future.
We should also write some CLI tests. See subtrate CLI and I believe this repo is using similar testing patterns https://github.com/paritytech/staking-miner-v2/tree/main/tests for an examples on how to write the tests.
Docs
- Audit doc examples (Improve try-state docs #13967 credit @Szegoo)
Tests
-
follow-chainFixtry-runtime follow-chain, try-runtime upgrade tuple tests, cli test utils #13794 -
on-runtime-upgrade -
offchain-worker -
execute-blocktry-runtime-cli:execute-block&create-snapshottests #14343 -
create-snapshottry-runtime-cli:execute-block&create-snapshottests #14343
Szegoo
Metadata
Metadata
Assignees
Labels
I5-testsTests need fixing, improving or augmenting.Tests need fixing, improving or augmenting.I6-documentationDocumentation needs fixing, improving or augmenting.Documentation needs fixing, improving or augmenting.T1-runtimeThis PR/Issue is related to the topic “runtime”.This PR/Issue is related to the topic “runtime”.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Type
Projects
Status
Done