File tree 1 file changed +0
-28
lines changed
1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -450,31 +450,3 @@ pub fn get_entrypoint_builtins(entrypoint: &ExecutableEntryPoint) -> Vec<Builtin
450
450
451
451
builtins
452
452
}
453
-
454
- /// TODO: Determine if we receive the hint collection or build it ourselves
455
- /// This function was adapted from cairo-lang-runner
456
- pub fn build_hint_collection (
457
- hints : & [ ( usize , Vec < Hint > ) ] ,
458
- program_length : usize ,
459
- ) -> HintsCollection {
460
- let mut hint_map: BTreeMap < usize , Vec < HintParams > > = BTreeMap :: new ( ) ;
461
-
462
- for ( offset, offset_hints) in hints {
463
- hint_map. insert (
464
- * offset,
465
- offset_hints
466
- . iter ( )
467
- . map ( |_| HintParams {
468
- code : format ! ( "{offset}" ) ,
469
- accessible_scopes : vec ! [ ] ,
470
- flow_tracking_data : FlowTrackingData {
471
- ap_tracking : ApTracking :: new ( ) ,
472
- reference_ids : HashMap :: new ( ) ,
473
- } ,
474
- } )
475
- . collect ( ) ,
476
- ) ;
477
- }
478
-
479
- HintsCollection :: new ( & hint_map, program_length) . expect ( "failed to build hint collection" )
480
- }
You can’t perform that action at this time.
0 commit comments