referrerpolicy=no-referrer-when-downgrade

Module executor_params

Source
Expand description

Abstract execution environment parameter set.

Parameter set is encoded as an opaque vector which structure depends on the execution environment itself (except for environment type/version which is always represented by the first element of the vector). Decoding to a usable semantics structure is done in polkadot-node-core-pvf.

Structs§

ExecutorParams
Deterministically serialized execution environment semantics
ExecutorParamsHash
Unit type wrapper around Hash that represents an execution parameter set hash.
ExecutorParamsPrepHash
Unit type wrapper around Hash that represents a hash of preparation-related executor parameters.

Enums§

ExecutorParam
The different executor parameters for changing the execution environment semantics.
ExecutorParamError
Possible inconsistencies of executor params.

Constants§

DEFAULT_APPROVAL_EXECUTION_TIMEOUT
Default PVF execution timeout for approval or disputes.
DEFAULT_BACKING_EXECUTION_TIMEOUT
Default PVF execution timeout for backing.
DEFAULT_LENIENT_PREPARATION_TIMEOUT
Default PVF preparation timeout for execution requests.
DEFAULT_LOGICAL_STACK_MAX
Default maximum number of wasm values allowed for the stack during execution of a PVF.
DEFAULT_NATIVE_STACK_MAX
Default maximum number of bytes devoted for the stack during execution of a PVF.
DEFAULT_PRECHECK_PREPARATION_TIMEOUT
Default PVF preparation timeout for prechecking requests.
LOGICAL_MAX_HI
The upper bound of ExecutorParam::StackLogicalMax.
LOGICAL_MAX_LO
The lower bound of ExecutorParam::StackLogicalMax.
MEMORY_PAGES_MAX
The limit of ExecutorParam::MaxMemoryPages.
PRECHECK_MEM_MAX_HI
The upper bound of ExecutorParam::PrecheckingMaxMemory.
PRECHECK_MEM_MAX_LO
The lower bound of ExecutorParam::PrecheckingMaxMemory.