mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user