cairo_lang_sierra::simulation

Function run

source
pub fn run(
    program: &Program,
    statement_gas_info: &HashMap<StatementIdx, i64>,
    function_id: &FunctionId,
    inputs: Vec<CoreValue>,
) -> Result<Vec<CoreValue>, SimulationError>
Expand description

Runs a function from the program with the given inputs.