diff --git a/substrate/client/executor/wasmtime/src/host.rs b/substrate/client/executor/wasmtime/src/host.rs index eeb7cb927167f176641c9f0ec38d1cd4de1758e4..8d20c9a566dc8c5ad3300e4f50c8a3c4bdfdbdc4 100644 --- a/substrate/client/executor/wasmtime/src/host.rs +++ b/substrate/client/executor/wasmtime/src/host.rs @@ -232,7 +232,7 @@ impl<'a> Sandbox for HostContext<'a> { .map_err(|e| e.to_string()) } - fn memory_new(&mut self, initial: u32, maximum: MemoryId) -> sp_wasm_interface::Result<u32> { + fn memory_new(&mut self, initial: u32, maximum: u32) -> sp_wasm_interface::Result<u32> { self.sandbox_store .borrow_mut() .new_memory(initial, maximum)