Skip to main content

run_blob

Function run_blob 

Source
pub fn run_blob(
    blob: &ProgramBlob,
    endpoint: u8,
    args: [u64; 4],
    initial_gas: u64,
) -> Result<InvocationResult, PrepareError>
Expand description

Convenience: prepare and run endpoint of blob once.

Each call builds a fresh address space, so guest statics do not persist between calls.