mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Less sleeps (#9848)
* Less sleeps * No need to use tokio-test crate * Less sleep * Avoid leaving zombie substrates around (when panicing in tests) * Remove unused imports * Incorporating feedback * rename method * Use rpc_api * Update bin/node/cli/tests/temp_base_path_works.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update bin/node/cli/tests/temp_base_path_works.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -86,7 +86,7 @@ pub fn new_partial(
|
||||
|
||||
let (client, backend, keystore_container, task_manager) =
|
||||
sc_service::new_full_parts::<Block, RuntimeApi, _>(
|
||||
&config,
|
||||
config,
|
||||
telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()),
|
||||
executor,
|
||||
)?;
|
||||
@@ -277,7 +277,7 @@ pub fn new_full_base(
|
||||
|
||||
let _rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams {
|
||||
config,
|
||||
backend: backend.clone(),
|
||||
backend,
|
||||
client: client.clone(),
|
||||
keystore: keystore_container.sync_keystore(),
|
||||
network: network.clone(),
|
||||
@@ -507,7 +507,7 @@ pub fn new_light_base(
|
||||
babe_block_import,
|
||||
Some(Box::new(justification_import)),
|
||||
client.clone(),
|
||||
select_chain.clone(),
|
||||
select_chain,
|
||||
move |_, ()| async move {
|
||||
let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user