@@ -60,17 +60,17 @@ use arbitrary::{Arbitrary, Unstructured};
60
60
// failures.
61
61
// Fields in `Program` (other than `SharedProgramData` itself) are used by the main logic.
62
62
#[ derive( Clone , Default , Debug , PartialEq , Eq ) ]
63
- pub ( crate ) struct SharedProgramData {
63
+ pub struct SharedProgramData {
64
64
pub ( crate ) data : Vec < MaybeRelocatable > ,
65
- pub ( crate ) hints_collection : HintsCollection ,
65
+ pub hints_collection : HintsCollection ,
66
66
pub ( crate ) main : Option < usize > ,
67
67
//start and end labels will only be used in proof-mode
68
68
pub ( crate ) start : Option < usize > ,
69
69
pub ( crate ) end : Option < usize > ,
70
70
pub ( crate ) error_message_attributes : Vec < Attribute > ,
71
71
pub ( crate ) instruction_locations : Option < HashMap < usize , InstructionLocation > > ,
72
72
pub ( crate ) identifiers : HashMap < String , Identifier > ,
73
- pub ( crate ) reference_manager : Vec < HintReference > ,
73
+ pub reference_manager : Vec < HintReference > ,
74
74
}
75
75
76
76
#[ cfg( feature = "test_utils" ) ]
@@ -107,13 +107,13 @@ impl<'a> Arbitrary<'a> for SharedProgramData {
107
107
}
108
108
109
109
#[ derive( Clone , Default , Debug , PartialEq , Eq ) ]
110
- pub ( crate ) struct HintsCollection {
111
- hints : Vec < HintParams > ,
110
+ pub struct HintsCollection {
111
+ pub hints : Vec < HintParams > ,
112
112
/// This maps a PC to the range of hints in `hints` that correspond to it.
113
113
#[ cfg( not( feature = "extensive_hints" ) ) ]
114
114
pub ( crate ) hints_ranges : Vec < HintRange > ,
115
115
#[ cfg( feature = "extensive_hints" ) ]
116
- pub ( crate ) hints_ranges : HashMap < Relocatable , HintRange > ,
116
+ pub hints_ranges : HashMap < Relocatable , HintRange > ,
117
117
}
118
118
119
119
impl HintsCollection {
@@ -200,8 +200,8 @@ pub type HintRange = (usize, NonZeroUsize);
200
200
#[ cfg_attr( feature = "test_utils" , derive( Arbitrary ) ) ]
201
201
#[ derive( Clone , Debug , PartialEq , Eq ) ]
202
202
pub 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 > ,
205
205
pub ( crate ) builtins : Vec < BuiltinName > ,
206
206
}
207
207
0 commit comments