diff --git a/polkadot/node/core/pvf/src/executor_intf.rs b/polkadot/node/core/pvf/src/executor_intf.rs index 7ea263b4ae..1092e97c5e 100644 --- a/polkadot/node/core/pvf/src/executor_intf.rs +++ b/polkadot/node/core/pvf/src/executor_intf.rs @@ -133,6 +133,7 @@ fn params_to_wasmtime_semantics(par: &ExecutorParams) -> Result stack_limit.logical_max = *slm, ExecutorParam::StackNativeMax(snm) => stack_limit.native_stack_max = *snm, + ExecutorParam::WasmExtBulkMemory => sem.wasm_bulk_memory = true, ExecutorParam::PrecheckingMaxMemory(_) => (), // TODO: Not implemented yet ExecutorParam::PvfPrepTimeout(_, _) | ExecutorParam::PvfExecTimeout(_, _) => (), // Not used here } diff --git a/polkadot/primitives/src/v4/executor_params.rs b/polkadot/primitives/src/v4/executor_params.rs index 56d3e446d0..0f7665f720 100644 --- a/polkadot/primitives/src/v4/executor_params.rs +++ b/polkadot/primitives/src/v4/executor_params.rs @@ -49,6 +49,9 @@ pub enum ExecutorParam { /// PVF execution timeouts, millisec #[codec(index = 6)] PvfExecTimeout(PvfExecTimeoutKind, u64), + /// Enables WASM bulk memory proposal + #[codec(index = 7)] + WasmExtBulkMemory, } /// Unit type wrapper around [`type@Hash`] that represents an execution parameter set hash.