execute

Function execute 

Source
pub fn execute(
    env: &mut ApplyEnv<'_>,
    bytecode: &[u8],
    function: &str,
    args: &[Vec<u8>],
) -> Result<WasmExecutionResult, String>
Expand description

Execute WASM bytecode with given function and arguments This executes in the context of ApplyEnv, updating mutations directly