@@ -60,17 +60,17 @@ use arbitrary::{Arbitrary, Unstructured};
6060// failures.
6161// Fields in `Program` (other than `SharedProgramData` itself) are used by the main logic.
6262#[ derive( Clone , Default , Debug , PartialEq , Eq ) ]
63- pub ( crate ) struct SharedProgramData {
63+ pub struct SharedProgramData {
6464 pub ( crate ) data : Vec < MaybeRelocatable > ,
65- pub ( crate ) hints_collection : HintsCollection ,
65+ pub hints_collection : HintsCollection ,
6666 pub ( crate ) main : Option < usize > ,
6767 //start and end labels will only be used in proof-mode
6868 pub ( crate ) start : Option < usize > ,
6969 pub ( crate ) end : Option < usize > ,
7070 pub ( crate ) error_message_attributes : Vec < Attribute > ,
7171 pub ( crate ) instruction_locations : Option < HashMap < usize , InstructionLocation > > ,
7272 pub ( crate ) identifiers : HashMap < String , Identifier > ,
73- pub ( crate ) reference_manager : Vec < HintReference > ,
73+ pub reference_manager : Vec < HintReference > ,
7474}
7575
7676#[ cfg( feature = "test_utils" ) ]
@@ -107,13 +107,13 @@ impl<'a> Arbitrary<'a> for SharedProgramData {
107107}
108108
109109#[ derive( Clone , Default , Debug , PartialEq , Eq ) ]
110- pub ( crate ) struct HintsCollection {
111- hints : Vec < HintParams > ,
110+ pub struct HintsCollection {
111+ pub hints : Vec < HintParams > ,
112112 /// This maps a PC to the range of hints in `hints` that correspond to it.
113113 #[ cfg( not( feature = "extensive_hints" ) ) ]
114114 pub ( crate ) hints_ranges : Vec < HintRange > ,
115115 #[ cfg( feature = "extensive_hints" ) ]
116- pub ( crate ) hints_ranges : HashMap < Relocatable , HintRange > ,
116+ pub hints_ranges : HashMap < Relocatable , HintRange > ,
117117}
118118
119119impl HintsCollection {
@@ -200,8 +200,8 @@ pub type HintRange = (usize, NonZeroUsize);
200200#[ cfg_attr( feature = "test_utils" , derive( Arbitrary ) ) ]
201201#[ derive( Clone , Debug , PartialEq , Eq ) ]
202202pub struct Program {
203- pub ( crate ) shared_program_data : Arc < SharedProgramData > ,
204- pub ( crate ) constants : HashMap < String , Felt252 > ,
203+ pub shared_program_data : Arc < SharedProgramData > ,
204+ pub constants : HashMap < String , Felt252 > ,
205205 pub ( crate ) builtins : Vec < BuiltinName > ,
206206}
207207
0 commit comments