mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
add warp sync params to enable parachain warp sync (#6334)
* add warp sync params to enable parachain warp sync
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+181
-181
File diff suppressed because it is too large
Load Diff
@@ -756,6 +756,7 @@ where
|
|||||||
OverseerGenerator: OverseerGen,
|
OverseerGenerator: OverseerGen,
|
||||||
{
|
{
|
||||||
use polkadot_node_network_protocol::request_response::IncomingRequest;
|
use polkadot_node_network_protocol::request_response::IncomingRequest;
|
||||||
|
use sc_network_common::sync::warp::WarpSyncParams;
|
||||||
|
|
||||||
let is_offchain_indexing_enabled = config.offchain_worker.indexing_enabled;
|
let is_offchain_indexing_enabled = config.offchain_worker.indexing_enabled;
|
||||||
let role = config.role.clone();
|
let role = config.role.clone();
|
||||||
@@ -917,7 +918,7 @@ where
|
|||||||
spawn_handle: task_manager.spawn_handle(),
|
spawn_handle: task_manager.spawn_handle(),
|
||||||
import_queue,
|
import_queue,
|
||||||
block_announce_validator_builder: None,
|
block_announce_validator_builder: None,
|
||||||
warp_sync: Some(warp_sync),
|
warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)),
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
if config.offchain_worker.enabled {
|
if config.offchain_worker.enabled {
|
||||||
|
|||||||
Reference in New Issue
Block a user