Function sc_executor_wasmtime::prepare_runtime_artifact
source · pub fn prepare_runtime_artifact(
blob: RuntimeBlob,
semantics: &Semantics,
) -> Result<Vec<u8>, WasmError>
Expand description
Takes a RuntimeBlob
and precompiles it returning the serialized result of compilation. It
can then be used for calling create_runtime
avoiding long compilation times.