Skip to content

Commit c91adae

Browse files
committed
Merge branch 'testnet' into merge-testnet-to-devnet
2 parents 53c4f5c + ca1d908 commit c91adae

File tree

6 files changed

+156
-59
lines changed

6 files changed

+156
-59
lines changed

Cargo.lock

Lines changed: 49 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/src/service.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ pub type HostFunctions = (
4545
frame_benchmarking::benchmarking::HostFunctions,
4646
);
4747

48+
pub(crate) type FullClient =
49+
sc_service::TFullClient<Block, RuntimeApi, WasmExecutor<HostFunctions>>;
50+
type FullBackend = sc_service::TFullBackend<Block>;
51+
type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
4852
pub type Backend = FullBackend<Block>;
4953
pub type Client = FullClient<Block, RuntimeApi, HostFunctions>;
5054

@@ -100,8 +104,7 @@ where
100104
})
101105
.transpose()?;
102106

103-
let executor = sc_service::new_wasm_executor(&config.executor);
104-
107+
let executor = sc_service::new_wasm_executor::<HostFunctions>(&config.executor);
105108
let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::<B, RA, _>(
106109
config,
107110
telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()),

0 commit comments

Comments
 (0)