forked from ghostchain/ghost-node
		
	rustfmt bags-utils and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
		
							parent
							
								
									c2f9958c1a
								
							
						
					
					
						commit
						6d06fcf9a0
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
[package]
 | 
					[package]
 | 
				
			||||||
name = "ghost-remote-ext-tests-bags-list"
 | 
					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."
 | 
					description = "Integration test that use state from live chains via remote externalities."
 | 
				
			||||||
license.workspace = true
 | 
					license.workspace = true
 | 
				
			||||||
authors.workspace = true
 | 
					authors.workspace = true
 | 
				
			||||||
 | 
				
			|||||||
@ -57,28 +57,23 @@ async fn main() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            match options.command {
 | 
					            match options.command {
 | 
				
			||||||
                (Command::CheckMigration) => {
 | 
					                (Command::CheckMigration) => {
 | 
				
			||||||
                    migration::execute::<Runtime, Block>(
 | 
					                    migration::execute::<Runtime, Block>(CSPR as u64, "CSPR", options.uri.clone())
 | 
				
			||||||
                        CSPR as u64, 
 | 
					                        .await;
 | 
				
			||||||
                        "CSPR", 
 | 
					                }
 | 
				
			||||||
                        options.uri.clone(),
 | 
					 | 
				
			||||||
                    ).await;
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                (Command::SanityCheck) => {
 | 
					                (Command::SanityCheck) => {
 | 
				
			||||||
                    try_state::execute::<Runtime, Block>(
 | 
					                    try_state::execute::<Runtime, Block>(CSPR as u64, "CSPR", options.uri.clone())
 | 
				
			||||||
                        CSPR as u64, 
 | 
					                        .await;
 | 
				
			||||||
                        "CSPR", 
 | 
					                }
 | 
				
			||||||
                        options.uri.clone(),
 | 
					 | 
				
			||||||
                    ).await;
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                (Command::Snapshot) => {
 | 
					                (Command::Snapshot) => {
 | 
				
			||||||
                    snapshot::execute::<Runtime, Block>(
 | 
					                    snapshot::execute::<Runtime, Block>(
 | 
				
			||||||
                        options.snapshot_limit
 | 
					                        options.snapshot_limit,
 | 
				
			||||||
                        CSPR.try_into().unwrap(),
 | 
					                        CSPR.try_into().unwrap(),
 | 
				
			||||||
                        options.uri.clone(),
 | 
					                        options.uri.clone(),
 | 
				
			||||||
                    ).await;
 | 
					                    )
 | 
				
			||||||
                },
 | 
					                    .await;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        _ => Err("Wrong runtime was used"),
 | 
					        _ => Err("Wrong runtime was used"),
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user