mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
Allow missing functions when checking the new runtime's version (#5741)
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user