Skip to content

Commit

Permalink
[substrate-apply] add warp to target block for parachains (#12761)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed Nov 1, 2023
1 parent 5aecd60 commit 2962134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/humanode-peer/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use sc_client_api::{BlockBackend, BlockchainEvents};
use sc_consensus_babe::SlotProportion;
pub use sc_executor::NativeElseWasmExecutor;
use sc_finality_grandpa::SharedVoterState;
use sc_service::{Error as ServiceError, KeystoreContainer, PartialComponents, TaskManager};
use sc_service::{Error as ServiceError, KeystoreContainer, PartialComponents, TaskManager, WarpSyncParams};
use sc_telemetry::{Telemetry, TelemetryWorker};
use tracing::*;

Expand Down Expand Up @@ -310,7 +310,7 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
spawn_handle: task_manager.spawn_handle(),
import_queue,
block_announce_validator_builder: None,
warp_sync: Some(warp_sync),
warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)),
})?;

if config.offchain_worker.enabled {
Expand Down

0 comments on commit 2962134

Please sign in to comment.