cairo_vm::cairo_run

Function cairo_run_pie

Source
pub fn cairo_run_pie(
    pie: &CairoPie,
    cairo_run_config: &CairoRunConfig<'_>,
    hint_processor: &mut dyn HintProcessor,
) -> Result<CairoRunner, CairoRunError>
Expand description

Runs a Cairo PIE generated by a previous cairo execution To generate a cairo pie use the runner’s method get_cairo_pie Note: Cairo PIEs cannot be ran in proof_mode WARNING: As the RunResources are part of the HintProcessor trait, the caller should make sure that the number of steps in the RunResources matches that of the ExecutionResources in the CairoPie. An error will be returned if this doesn’t hold.