Some fixes required for Cumulus (#766)

* Add some more bounds

* More bounds

* More fixes

* More fixes
This commit is contained in:
Bastian Köcher
2020-01-15 14:17:55 +01:00
committed by Gavin Wood
parent 16043df46f
commit 9ec65c94d7
4 changed files with 26 additions and 13 deletions
+5 -1
View File
@@ -140,7 +140,11 @@ pub fn validate_candidate<E: Externalities + 'static>(
}
/// The host functions provided by the wasm executor to the parachain wasm blob.
type HostFunctions = (sp_io::SubstrateHostFunctions, crate::wasm_api::parachain::HostFunctions);
type HostFunctions = (
sp_io::SubstrateHostFunctions,
sc_executor::deprecated_host_interface::SubstrateExternals,
crate::wasm_api::parachain::HostFunctions,
);
/// Validate a candidate under the given validation code.
///