Module polkadot_primitives::v8::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§
- Deterministically serialized execution environment semantics
- Unit type wrapper around
Hash
that represents an execution parameter set hash. - Unit type wrapper around
Hash
that represents a hash of preparation-related executor parameters.
Enums§
- The different executor parameters for changing the execution environment semantics.
- Possible inconsistencies of executor params.
Constants§
- Default PVF execution timeout for approval or disputes.
- Default PVF execution timeout for backing.
- Default PVF preparation timeout for execution requests.
- Default maximum number of wasm values allowed for the stack during execution of a PVF.
- Default maximum number of bytes devoted for the stack during execution of a PVF.
- Default PVF preparation timeout for prechecking requests.
- The upper bound of
ExecutorParam::StackLogicalMax
. - The lower bound of
ExecutorParam::StackLogicalMax
. - The limit of
ExecutorParam::MaxMemoryPages
. - The upper bound of
ExecutorParam::PrecheckingMaxMemory
. - The lower bound of
ExecutorParam::PrecheckingMaxMemory
.