Skip to main content

syscall_exec_impl

Function syscall_exec_impl 

Source
pub fn syscall_exec_impl<I: Into<BytecodeOrHash>>(
    ctx: &mut RuntimeContext,
    code_hash: I,
    input: Cow<'_, [u8]>,
    fuel_limit: u64,
    state: u32,
) -> (u64, i64, i32)
Expand description

Executes a nested runtime with the given parameters and merges the result into ctx.