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 Paimaniandparity-processbot authored and GitHub committed 2022-09-01 14:24:03 +00:00
1 parent 254582df7f
commit f2020208c0
9 files changed
+219 -185

No files matched your search

@@ -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};