From f5aa4f6f799fdd0f2de68d6c2b3803d78928cd37 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Wed, 1 Aug 2018 13:29:45 +0200 Subject: [PATCH] Wasm execution optimizations (#466) * WASM execution optimizations * Dropped min-heap-pages * Fixed tests * Fixed tests 2 --- polkadot/api/src/full.rs | 2 +- polkadot/parachain/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot/api/src/full.rs b/polkadot/api/src/full.rs index caf9a89072..7a5aeb31e7 100644 --- a/polkadot/api/src/full.rs +++ b/polkadot/api/src/full.rs @@ -200,7 +200,7 @@ mod tests { timestamp: Some(Default::default()), }; - ::client::new_in_mem(LocalDispatch::with_heap_pages(8, 8), genesis_config).unwrap() + ::client::new_in_mem(LocalDispatch::with_heap_pages(8), genesis_config).unwrap() } #[test] diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index 2b1eeca7e5..2197911ed4 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -6,7 +6,7 @@ description = "Types and utilities for creating and working with parachains" [dependencies] substrate-codec = { path = "../../substrate/codec", default-features = false } -wasmi = { version = "0.3", optional = true } +wasmi = { version = "0.4", optional = true } error-chain = { version = "0.12", optional = true } [dev-dependencies]