referrerpolicy=no-referrer-when-downgrade
Expand description

Interface to the Substrate Executor

Constants§

Functions§

  • Constructs the runtime for the given PVF, given the artifact bytes.
  • Executes the given PVF in the form of a compiled artifact and returns the result of execution upon success.
  • Takes the default config and overwrites any settings with existing executor parameters.
  • Runs preparation on the given runtime blob. If successful, it returns a serialized compiled artifact which can then be used to pass into Executor::execute after writing it to the disk.
  • Runs the prevalidation on the given code. Returns a [RuntimeBlob] if it succeeds.