mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-25 13:15:02 +00:00
Don't expose Benchmarking host functions by default (#4875)
* Don't expose `Benchmarking` host functions by default * Fix tests Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
1 parent
ead6815ae4
commit
4254fbf56d
3 files changed
+21
-21
No files matched your search
@@ -88,7 +88,7 @@ fn call_not_existing_function(wasm_method: WasmExecutionMethod) {
|
||||
#[cfg(feature = "wasmtime")]
|
||||
WasmExecutionMethod::Compiled => assert_eq!(
|
||||
&format!("{:?}", e),
|
||||
"Other(\"call to undefined external function with index 71\")"
|
||||
"Other(\"call to undefined external function with index 68\")"
|
||||
),
|
||||
}
|
||||
}
|
||||
@@ -117,7 +117,7 @@ fn call_yet_another_not_existing_function(wasm_method: WasmExecutionMethod) {
|
||||
#[cfg(feature = "wasmtime")]
|
||||
WasmExecutionMethod::Compiled => assert_eq!(
|
||||
&format!("{:?}", e),
|
||||
"Other(\"call to undefined external function with index 72\")"
|
||||
"Other(\"call to undefined external function with index 69\")"
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user