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 @@ -589,12 +589,12 @@ impl TraceData {
589589 current_call. borrow_mut ( ) . vm_trace = Some ( vm_trace) ;
590590 }
591591
592- pub fn update_call_result ( & mut self , result : CallResult ) {
592+ pub fn update_current_call_result ( & mut self , result : CallResult ) {
593593 let current_call = self . current_call_stack . top ( ) ;
594594 current_call. borrow_mut ( ) . result = result;
595595 }
596596
597- pub fn clear_events_and_messages ( & mut self ) {
597+ pub fn clear_current_call_events_and_messages ( & mut self ) {
598598 let current_call = self . current_call_stack . top ( ) ;
599599 current_call. borrow_mut ( ) . events . clear ( ) ;
600600 current_call
You can’t perform that action at this time.
0 commit comments