rename build_import_queue to not be statemint specific (#1389)

* rename to aura

* Update polkadot-parachain/src/service.rs

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
Squirrel
2022-06-21 15:58:27 +01:00
committed by GitHub
parent 895d0f4dc1
commit 8347d2f85c
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1085,8 +1085,8 @@ where
}
}
/// Build the import queue for the statemint/statemine/westmine runtime.
pub fn statemint_build_import_queue<RuntimeApi, AuraId: AppKey>(
/// Build the import queue for Statemint and other Aura-based runtimes.
pub fn aura_build_import_queue<RuntimeApi, AuraId: AppKey>(
client: Arc<TFullClient<Block, RuntimeApi, WasmExecutor<HostFunctions>>>,
config: &Configuration,
telemetry_handle: Option<TelemetryHandle>,
@@ -1203,7 +1203,7 @@ where
collator_options,
id,
|_| Ok(RpcModule::new(())),
statemint_build_import_queue::<_, AuraId>,
aura_build_import_queue::<_, AuraId>,
|client,
prometheus_registry,
telemetry,