cairo-vm is a Rust implementation of the Cairo VM. Cairo (CPU Algebraic Intermediate Representation) is a programming language for writing provable programs, where one party can prove to another that a certain computation was executed correctly without the need for this party to re-execute the same program.
Remove duplicate function get_val from Cairo1HintProcessor
Description
The function get_val is a duplicate of res_operand_get_val, both only used in the Cairo1HintProcessor to fetch values from hint parameters. get_val is only used in the hints u256_inv_mod_n and uint256_div_mod and should be replaced by res_operand_get_val.
Remove duplicate function
get_val
from Cairo1HintProcessorDescription
The function
get_val
is a duplicate ofres_operand_get_val
, both only used in theCairo1HintProcessor
to fetch values from hint parameters.get_val
is only used in the hintsu256_inv_mod_n
anduint256_div_mod
and should be replaced byres_operand_get_val
.