Allow missing functions when checking the new runtime's version (#5741)

This commit is contained in:
Bastian Köcher
2020-04-23 14:54:52 +02:00
committed by GitHub
parent fd65c3807c
commit 46677555ac
13 changed files with 73 additions and 16 deletions
+1 -1
View File
@@ -77,7 +77,6 @@ mod tests {
WasmExecutionMethod::Interpreted,
Some(8),
sp_io::SubstrateHostFunctions::host_functions(),
true,
8,
);
let res = executor.call_in_wasm(
@@ -86,6 +85,7 @@ mod tests {
"test_empty_return",
&[],
&mut ext,
sp_core::traits::MissingHostFunctions::Allow,
).unwrap();
assert_eq!(res, vec![0u8; 0]);
}