mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Allow missing functions when checking the new runtime's version (#5741)
This commit is contained in:
@@ -18,5 +18,6 @@ sp-runtime-interface-test-wasm = { version = "2.0.0-dev", path = "../test-wasm"
|
||||
sp-runtime-interface-test-wasm-deprecated = { version = "2.0.0-dev", path = "../test-wasm-deprecated" }
|
||||
sp-state-machine = { version = "0.8.0-dev", path = "../../../primitives/state-machine" }
|
||||
sp-runtime = { version = "2.0.0-dev", path = "../../runtime" }
|
||||
sp-core = { version = "2.0.0-dev", path = "../../core" }
|
||||
sp-io = { version = "2.0.0-dev", path = "../../io" }
|
||||
tracing = "0.1.13"
|
||||
|
||||
@@ -41,7 +41,6 @@ fn call_wasm_method<HF: HostFunctionsT>(binary: &[u8], method: &str) -> TestExte
|
||||
sc_executor::WasmExecutionMethod::Interpreted,
|
||||
Some(8),
|
||||
host_functions,
|
||||
false,
|
||||
8,
|
||||
);
|
||||
executor.call_in_wasm(
|
||||
@@ -50,6 +49,7 @@ fn call_wasm_method<HF: HostFunctionsT>(binary: &[u8], method: &str) -> TestExte
|
||||
method,
|
||||
&[],
|
||||
&mut ext_ext,
|
||||
sp_core::traits::MissingHostFunctions::Disallow,
|
||||
).expect(&format!("Executes `{}`", method));
|
||||
|
||||
ext
|
||||
|
||||
Reference in New Issue
Block a user