Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Companion for paritytech/cumulus#1860
Browse files Browse the repository at this point in the history
  • Loading branch information
Guantong committed Jan 17, 2023
1 parent d6ec5db commit 6079a59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions node/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,16 @@ where
})),
warp_sync: None,
})?;

if parachain_config.offchain_worker.enabled {
sc_service::build_offchain_workers(
&parachain_config,
task_manager.spawn_handle(),
client.clone(),
network.clone(),
);
}

let overrides = frontier_service::overrides_handle(client.clone());
let block_data_cache = Arc::new(fc_rpc::EthBlockDataCacheTask::new(
task_manager.spawn_handle(),
Expand Down

0 comments on commit 6079a59

Please sign in to comment.