@@ -39,7 +39,6 @@ use sc_network_sync::SyncingService;
3939use sc_service:: { Configuration , TFullBackend , TFullClient , TaskManager } ;
4040use sc_telemetry:: { Telemetry , TelemetryHandle , TelemetryWorker , TelemetryWorkerHandle } ;
4141use sp_api:: ConstructRuntimeApi ;
42- use sp_io:: SubstrateHostFunctions ;
4342use sp_keystore:: KeystorePtr ;
4443use sp_runtime:: traits:: BlakeTwo256 ;
4544use std:: { sync:: Arc , time:: Duration } ;
@@ -54,16 +53,8 @@ type Header = sp_runtime::generic::Header<BlockNumber, sp_runtime::traits::Blake
5453
5554pub ( crate ) type Block = sp_runtime:: generic:: Block < Header , sp_runtime:: OpaqueExtrinsic > ;
5655
57- #[ cfg( not( feature = "runtime-benchmarks" ) ) ]
5856type HostFunctions = (
59- sp_io:: SubstrateHostFunctions ,
60- cumulus_client_service:: storage_proof_size:: HostFunctions ,
61- ) ;
62-
63- #[ cfg( feature = "runtime-benchmarks" ) ]
64- type HostFunctions = (
65- SubstrateHostFunctions ,
66- cumulus_client_service:: storage_proof_size:: HostFunctions ,
57+ cumulus_client_service:: ParachainHostFunctions ,
6758 frame_benchmarking:: benchmarking:: HostFunctions ,
6859) ;
6960
0 commit comments