update WasmExecutionMethod (#2599)

This commit is contained in:
yjh
2023-05-22 05:31:34 +08:00
committed by GitHub
parent 3a20b3d702
commit cee10575f2
+1 -1
View File
@@ -740,7 +740,7 @@ pub fn node_config(
state_pruning: Some(PruningMode::ArchiveAll),
blocks_pruning: BlocksPruning::KeepAll,
chain_spec: spec,
wasm_method: WasmExecutionMethod::Interpreted,
wasm_method: WasmExecutionMethod::default(),
// NOTE: we enforce the use of the native runtime to make the errors more debuggable
execution_strategies: ExecutionStrategies {
syncing: sc_client_api::ExecutionStrategy::NativeWhenPossible,