cairo_lang_sierra_to_casm::metadata

Function calc_metadata

Source
pub fn calc_metadata(
    program: &Program,
    config: MetadataComputationConfig,
) -> Result<Metadata, MetadataError>
Expand description

Calculates the metadata for a Sierra program.

no_eq_solver uses a linear-time algorithm for calculating the gas, instead of solving equations.