File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
runtime_extensions/call_to_blockifier_runtime_extension/execution Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ pub(crate) fn exit_error_call(
7575 CallType :: Delegate => AddressOrClassHash :: ClassHash ( entry_point. class_hash ) ,
7676 } ;
7777 let trace_data = & mut cheatnet_state. trace_data ;
78- trace_data. clear_events_and_messages ( ) ;
79- trace_data. update_call_result ( CallResult :: from_err ( error, & identifier) ) ;
78+ trace_data. clear_current_call_events_and_messages ( ) ;
79+ trace_data. update_current_call_result ( CallResult :: from_err ( error, & identifier) ) ;
8080 trace_data. exit_nested_call ( ) ;
8181}
Original file line number Diff line number Diff line change @@ -588,12 +588,12 @@ impl TraceData {
588588 current_call. borrow_mut ( ) . vm_trace = Some ( vm_trace) ;
589589 }
590590
591- pub fn update_call_result ( & mut self , result : CallResult ) {
591+ pub fn update_current_call_result ( & mut self , result : CallResult ) {
592592 let current_call = self . current_call_stack . top ( ) ;
593593 current_call. borrow_mut ( ) . result = result;
594594 }
595595
596- pub fn clear_events_and_messages ( & mut self ) {
596+ pub fn clear_current_call_events_and_messages ( & mut self ) {
597597 let current_call = self . current_call_stack . top ( ) ;
598598 current_call. borrow_mut ( ) . events . clear ( ) ;
599599 current_call
You can’t perform that action at this time.
0 commit comments