diff --git a/parachain/src/wasm_executor/mod.rs b/parachain/src/wasm_executor/mod.rs index cb1e9a261f3d..eb8308d92d53 100644 --- a/parachain/src/wasm_executor/mod.rs +++ b/parachain/src/wasm_executor/mod.rs @@ -143,7 +143,6 @@ pub fn validate_candidate( /// The host functions provided by the wasm executor to the parachain wasm blob. type HostFunctions = ( sp_io::SubstrateHostFunctions, - sc_executor::deprecated_host_interface::SubstrateExternals, crate::wasm_api::parachain::HostFunctions, ); @@ -251,6 +250,14 @@ impl sp_externalities::Externalities for ValidationExternalities { fn next_storage_key(&self, _: &[u8]) -> Option> { panic!("next_storage_key: unsupported feature for parachain validation") } + + fn wipe(&mut self) { + panic!("wipe: unsupported feature for parachain validation") + } + + fn commit(&mut self) { + panic!("commit: unsupported feature for parachain validation") + } } impl sp_externalities::ExtensionStore for ValidationExternalities {