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§
- Executor
Params - Deterministically serialized execution environment semantics
- Executor
Params Hash - Unit type wrapper around
Hash
that represents an execution parameter set hash. - Executor
Params Prep Hash - Unit type wrapper around
Hash
that represents a hash of preparation-related executor parameters.
Enums§
- Executor
Param - The different executor parameters for changing the execution environment semantics.
- Executor
Param Error - 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
.