Use CLI to configure max instances cache (#5177)

* Use CLI to configure max instances cache

* Fix tests

* Move default value into CLI

* Use SmallVec

* Apply review comments

* Get rid of `SmallVec`

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Stanislav TkachandBastian Köcher authored and GitHub committed 2020-03-11 09:43:37 +01:00
1 parent f21680209f
commit 93ee3104e7
23 files changed
+139 -71

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ pub fn from_block_number(n: u32) -> Header {
}
pub fn executor() -> NativeExecutor<Executor> {
NativeExecutor::new(WasmExecutionMethod::Interpreted, None)
NativeExecutor::new(WasmExecutionMethod::Interpreted, None, 8)
}
pub fn executor_call<