Rename and use --max-heap-pages parameter (#1666)

This commit is contained in:
Stanislav Tkach
2019-02-05 13:35:12 +02:00
committed by Gav Wood
parent 888e7bb76f
commit df685c9e53
10 changed files with 45 additions and 34 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ mod tests {
native_executor_instance!(Executor, test_client::runtime::api::dispatch, test_client::runtime::native_version, include_bytes!("../../test-runtime/wasm/target/wasm32-unknown-unknown/release/substrate_test_runtime.compact.wasm"));
fn executor() -> executor::NativeExecutor<Executor> {
NativeExecutionDispatch::new()
NativeExecutionDispatch::new(None)
}
fn construct_block(
@@ -207,7 +207,7 @@ mod tests {
&backend,
Some(&InMemoryChangesTrieStorage::new()),
&mut overlay,
&Executor::new(),
&Executor::new(None),
"Core_execute_block",
&b1data,
ExecutionStrategy::NativeWhenPossible,