mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 19:57:56 +00:00
* Align to Substrate keystore overhaul
* 'sync_keystore' renamed to 'keystore'
* Further fixes after removal of async keystore trait
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -27,7 +27,7 @@ use sc_network::NetworkBlock;
|
||||
use sc_network_sync::SyncingService;
|
||||
use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager};
|
||||
use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};
|
||||
use sp_keystore::SyncCryptoStorePtr;
|
||||
use sp_keystore::KeystorePtr;
|
||||
use substrate_prometheus_endpoint::Registry;
|
||||
|
||||
/// Native executor type.
|
||||
@@ -212,7 +212,7 @@ async fn start_node_impl(
|
||||
transaction_pool: transaction_pool.clone(),
|
||||
task_manager: &mut task_manager,
|
||||
config: parachain_config,
|
||||
keystore: params.keystore_container.sync_keystore(),
|
||||
keystore: params.keystore_container.keystore(),
|
||||
backend,
|
||||
network: network.clone(),
|
||||
sync_service: sync_service.clone(),
|
||||
@@ -263,7 +263,7 @@ async fn start_node_impl(
|
||||
relay_chain_interface.clone(),
|
||||
transaction_pool,
|
||||
sync_service,
|
||||
params.keystore_container.sync_keystore(),
|
||||
params.keystore_container.keystore(),
|
||||
force_authoring,
|
||||
para_id,
|
||||
)?;
|
||||
@@ -352,7 +352,7 @@ fn build_consensus(
|
||||
relay_chain_interface: Arc<dyn RelayChainInterface>,
|
||||
transaction_pool: Arc<sc_transaction_pool::FullPool<Block, ParachainClient>>,
|
||||
sync_oracle: Arc<SyncingService<Block>>,
|
||||
keystore: SyncCryptoStorePtr,
|
||||
keystore: KeystorePtr,
|
||||
force_authoring: bool,
|
||||
para_id: ParaId,
|
||||
) -> Result<Box<dyn ParachainConsensus<Block>>, sc_service::Error> {
|
||||
|
||||
Reference in New Issue
Block a user