companion try-state (#5907)

* bunch of changes for now

* companion for sanity-checks

* Fix

* remove bridges

* better logging

* revert spec change

* fmt

* fix

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimani
2022-09-01 15:24:03 +01:00
committed by GitHub
parent 254582df7f
commit f2020208c0
9 changed files with 219 additions and 185 deletions
@@ -86,7 +86,7 @@ async fn main() {
(Runtime::Kusama, Command::SanityCheck) => {
use kusama_runtime::{Block, Runtime};
use kusama_runtime_constants::currency::UNITS;
sanity_check::execute::<Runtime, Block>(UNITS as u64, "KSM", options.uri.clone()).await;
try_state::execute::<Runtime, Block>(UNITS as u64, "KSM", options.uri.clone()).await;
},
(Runtime::Kusama, Command::Snapshot) => {
use kusama_runtime::{Block, Runtime};
@@ -107,7 +107,7 @@ async fn main() {
(Runtime::Westend, Command::SanityCheck) => {
use westend_runtime::{Block, Runtime};
use westend_runtime_constants::currency::UNITS;
sanity_check::execute::<Runtime, Block>(UNITS as u64, "WND", options.uri.clone()).await;
try_state::execute::<Runtime, Block>(UNITS as u64, "WND", options.uri.clone()).await;
},
(Runtime::Westend, Command::Snapshot) => {
use westend_runtime::{Block, Runtime};
@@ -128,7 +128,7 @@ async fn main() {
(Runtime::Polkadot, Command::SanityCheck) => {
use polkadot_runtime::{Block, Runtime};
use polkadot_runtime_constants::currency::UNITS;
sanity_check::execute::<Runtime, Block>(UNITS as u64, "DOT", options.uri.clone()).await;
try_state::execute::<Runtime, Block>(UNITS as u64, "DOT", options.uri.clone()).await;
},
(Runtime::Polkadot, Command::Snapshot) => {
use polkadot_runtime::{Block, Runtime};