Skip to main content

create_bytecode_blobs

Function create_bytecode_blobs 

Source
pub async fn create_bytecode_blobs(
    contract: Bytecode,
    service: Bytecode,
    vm_runtime: VmRuntime,
    formats: Option<Vec<u8>>,
) -> (Vec<Blob>, ModuleId)
Expand description

Creates a compressed Contract, Service and bytecode, plus an optional ApplicationFormats blob built from the JSON-encoded Formats description bytes.