mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
use WasmExecutionMethod::default() (#2622)
This commit is contained in:
@@ -183,7 +183,7 @@ pub fn validate_block(
|
||||
|
||||
let heap_pages = HeapAllocStrategy::Static { extra_pages: 1024 };
|
||||
let executor = WasmExecutor::<sp_io::SubstrateHostFunctions>::builder()
|
||||
.with_execution_method(WasmExecutionMethod::Interpreted)
|
||||
.with_execution_method(WasmExecutionMethod::default())
|
||||
.with_max_runtime_instances(1)
|
||||
.with_runtime_cache_size(2)
|
||||
.with_onchain_heap_alloc_strategy(heap_pages)
|
||||
|
||||
Reference in New Issue
Block a user