Expand description
Interface to the Substrate Executor
Constants§
Functions§
- create_
runtime_ ⚠from_ artifact_ bytes  - Constructs the runtime for the given PVF, given the artifact bytes.
 - execute_
artifact ⚠ - Executes the given PVF in the form of a compiled artifact and returns the result of execution upon success.
 - params_
to_ wasmtime_ semantics  - Takes the default config and overwrites any settings with existing executor parameters.
 - prepare
 - Runs preparation on the given runtime blob. If successful, it returns a serialized compiled
artifact which can then be used to pass into 
Executor::executeafter writing it to the disk. - prevalidate
 - Runs the prevalidation on the given code. Returns a [
RuntimeBlob] if it succeeds.