Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Fix big in RunResources propagation
Browse files Browse the repository at this point in the history
Signed-off-by: Dori Medini <dori@starkware.co>
  • Loading branch information
dorimedini-starkware committed Jun 28, 2023
1 parent df4129c commit 06552a8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ impl HintProcessor for DeprecatedSyscallHintProcessor<'_> {
self.context.vm_run_resources = run_resources.clone();
let hint = hint_data.downcast_ref::<HintProcessorData>().ok_or(HintError::WrongHintData)?;
if hint_code::SYSCALL_HINTS.contains(hint.code.as_str()) {
return self.execute_next_syscall(vm, &hint.ids_data, &hint.ap_tracking);
let result = self.execute_next_syscall(vm, &hint.ids_data, &hint.ap_tracking);
*run_resources = self.context.vm_run_resources.clone();
return result;
}

let result = self.builtin_hint_processor.execute_hint(
Expand Down

0 comments on commit 06552a8

Please sign in to comment.