Unverified Commit 7319f58a authored by Chris Sosnin's avatar Chris Sosnin Committed by GitHub
Browse files

Update wasmtime config to match new version in substrate (#4063)

* Update wasmtime config to match new version

* update Substrate

Co-authored-by: parity-processbot <>
parent c35a2e37
Pipeline #161757 passed with stages
in 40 minutes and 23 seconds
This diff is collapsed.
......@@ -41,7 +41,10 @@ const CONFIG: Config = Config {
// wasm pages.
//
// Thus let's assume that 32 pages or 2 MiB are used for these needs.
max_memory_pages: Some(2048 + 32),
//
// Note that the memory limit is specified in bytes, so we multiply this value
// by wasm page size -- 64 KiB.
max_memory_size: Some((2048 + 32) * 65536),
heap_pages: 2048,
allow_missing_func_imports: true,
......@@ -65,6 +68,7 @@ const CONFIG: Config = Config {
native_stack_max: 256 * 1024 * 1024,
}),
canonicalize_nans: true,
parallel_compilation: true,
},
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment