pub fn execute(
program: &Program,
stack_inputs: StackInputs,
advice_inputs: AdviceInputs,
host: &mut impl SyncHost,
options: ExecutionOptions,
) -> Result<ExecutionTrace, ExecutionError>
Expand description
Returns an execution trace resulting from executing the provided program against the provided inputs.
The host
parameter is used to provide the external environment to the program being executed,
such as access to the advice provider and libraries that the program depends on.