diff --git a/utils/bags-list/Cargo.toml b/utils/bags-list/Cargo.toml index 8f57887..447b99f 100644 --- a/utils/bags-list/Cargo.toml +++ b/utils/bags-list/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-remote-ext-tests-bags-list" -version = "1.0.0" +version = "1.0.1" description = "Integration test that use state from live chains via remote externalities." license.workspace = true authors.workspace = true diff --git a/utils/bags-list/src/main.rs b/utils/bags-list/src/main.rs index d51a85c..bde2219 100644 --- a/utils/bags-list/src/main.rs +++ b/utils/bags-list/src/main.rs @@ -57,28 +57,23 @@ async fn main() { match options.command { (Command::CheckMigration) => { - migration::execute::( - CSPR as u64, - "CSPR", - options.uri.clone(), - ).await; - }, + migration::execute::(CSPR as u64, "CSPR", options.uri.clone()) + .await; + } (Command::SanityCheck) => { - try_state::execute::( - CSPR as u64, - "CSPR", - options.uri.clone(), - ).await; - }, + try_state::execute::(CSPR as u64, "CSPR", options.uri.clone()) + .await; + } (Command::Snapshot) => { snapshot::execute::( - options.snapshot_limit - CSPR.try_into().unwrap(), + options.snapshot_limit, + CSPR.try_into().unwrap(), options.uri.clone(), - ).await; - }, + ) + .await; + } } - }, + } _ => Err("Wrong runtime was used"), } }