mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
executor: Move runtime version caching out of WasmRuntime interface. (#3993)
* executor: Move runtime caching out of WasmRuntime interface. The runtime version is now fetched and cached at a higher level, not within the WasmRuntime trait implementations. * executor: Require successful querying of runtime version.
This commit is contained in:
@@ -73,7 +73,6 @@ pub fn call_in_wasm<E: Externalities>(
|
||||
heap_pages: u64,
|
||||
) -> error::Result<Vec<u8>> {
|
||||
let mut instance = wasm_runtime::create_wasm_runtime_with_code(
|
||||
ext,
|
||||
execution_method,
|
||||
heap_pages,
|
||||
code,
|
||||
|
||||
Reference in New Issue
Block a user