Expand description
Sierra gas computation.
This crate provides the gas computation for the Cairo programs.
Modules§
Enums§
- Cost
Error - Error occurring while calculating the costing of a program’s variables.
Functions§
- calc_
gas_ postcost_ info - Calculates gas postcost information for a given program - the gas costs of step token.
- calc_
gas_ precost_ info - Calculates gas pre-cost information for a given program - the gas costs of non-step tokens.
- compute_
postcost_ info - Calculates gas postcost information for a given program.
- compute_
precost_ info - Calculates gas pre-cost information for a given program - the gas costs of non-step tokens.