pub fn embed_runtime_version(
    wasm: &[u8],
    version: RuntimeVersion
) -> Result<Vec<u8>, Error>
Expand description

Embed the given version to the given wasm blob.

If there was already a runtime version embedded, this will be overwritten.

Returns the new WASM blob.