@@ -162,7 +162,6 @@ impl<T> CheatStatus<T> {
162
162
/// Tree structure representing trace of a call.
163
163
#[ derive( Debug ) ]
164
164
pub struct CallTrace {
165
- pub run_with_call_header : bool ,
166
165
// only these are serialized
167
166
pub entry_point : CallEntryPoint ,
168
167
pub nested_calls : Vec < CallTraceNode > ,
@@ -196,7 +195,6 @@ impl CairoSerialize for CallTrace {
196
195
impl CallTrace {
197
196
fn default_successful_call ( ) -> Self {
198
197
Self {
199
- run_with_call_header : false ,
200
198
entry_point : CallEntryPoint :: default ( ) ,
201
199
used_execution_resources : ExecutionResources :: default ( ) ,
202
200
used_l1_resources : L1Resources :: default ( ) ,
@@ -343,8 +341,6 @@ impl Default for CheatnetState {
343
341
ClassHash ( TryFromHexStr :: try_from_hex_str ( TEST_CONTRACT_CLASS_HASH ) . unwrap ( ) ) ;
344
342
let test_call = Rc :: new ( RefCell :: new ( CallTrace {
345
343
entry_point : test_code_entry_point. into ( ) ,
346
- // TODO this field could be removed entirely
347
- run_with_call_header : false ,
348
344
..CallTrace :: default_successful_call ( )
349
345
} ) ) ;
350
346
Self {
@@ -480,7 +476,6 @@ impl TraceData {
480
476
pub fn enter_nested_call ( & mut self , entry_point : CallEntryPoint , cheated_data : CheatedData ) {
481
477
let new_call = Rc :: new ( RefCell :: new ( CallTrace {
482
478
entry_point,
483
- run_with_call_header : false ,
484
479
..CallTrace :: default_successful_call ( )
485
480
} ) ) ;
486
481
let current_call = self . current_call_stack . top ( ) ;
0 commit comments