Skip to content

Commit

Permalink
Merge branch 'testnet' into merge-testnet-to-devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
gztensor committed Nov 12, 2024
2 parents 53c4f5c + ca1d908 commit c91adae
Show file tree
Hide file tree
Showing 6 changed files with 156 additions and 59 deletions.
93 changes: 49 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ pub type HostFunctions = (
frame_benchmarking::benchmarking::HostFunctions,
);

pub(crate) type FullClient =
sc_service::TFullClient<Block, RuntimeApi, WasmExecutor<HostFunctions>>;
type FullBackend = sc_service::TFullBackend<Block>;
type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
pub type Backend = FullBackend<Block>;
pub type Client = FullClient<Block, RuntimeApi, HostFunctions>;

Expand Down Expand Up @@ -100,8 +104,7 @@ where
})
.transpose()?;

let executor = sc_service::new_wasm_executor(&config.executor);

let executor = sc_service::new_wasm_executor::<HostFunctions>(&config.executor);
let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::<B, RA, _>(
config,
telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()),
Expand Down
Loading

0 comments on commit c91adae

Please sign in to comment.