mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 21:49:49 +00:00
Allow missing functions when checking the new runtime's version (#5741)
This commit is contained in:
1 parent
fd65c3807c
commit
46677555ac
13 files changed
+73
-16
No files matched your search
@@ -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