Skip to content

Commit

Permalink
Fix range_check96 builtin selector.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalesokhin-starkware committed Jul 3, 2024
1 parent a454b32 commit 5481067
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/cairo-lang-starknet-classes/src/casm_contract_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,9 @@ impl CasmContractClass {

let builtins = builtins
.iter()
.map(|type_id| {
type_resolver.get_generic_id(type_id).0.as_str().to_case(Case::Snake)
.map(|type_id| match type_resolver.get_generic_id(type_id).0.as_str() {
"RangeCheck96" => "range_check96".to_string(),
name => name.to_case(Case::Snake),
})
.collect_vec();

Expand Down

0 comments on commit 5481067

Please sign in to comment.