Skip to content

Commit

Permalink
feat(starknet_os): fix enter_syscall hints
Browse files Browse the repository at this point in the history
  • Loading branch information
dorimedini-starkware committed Feb 12, 2025
1 parent 663c180 commit a12c921
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/starknet_os/src/hints/enum_definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,11 +970,11 @@ segments.write_arg(ids.sha256_ptr_end, padding)"#}
)
# Prepare a short callable to save code duplication.
exit_syscall = lambda selector: execution_helper.os_logger.exit_syscall(
exit_syscall = lambda: execution_helper.os_logger.exit_syscall(
n_steps=current_step,
builtin_ptrs=ids.builtin_ptrs,
range_check_ptr=ids.range_check_ptr,
selector=selector,
selector=ids.selector,
)"#
}
),
Expand Down Expand Up @@ -1488,11 +1488,11 @@ memory[ap] = 1 if case != 'both' else 0"#
)
# Prepare a short callable to save code duplication.
exit_syscall = lambda selector: execution_helper.os_logger.exit_syscall(
exit_syscall = lambda: execution_helper.os_logger.exit_syscall(
n_steps=current_step,
builtin_ptrs=ids.builtin_ptrs,
range_check_ptr=ids.range_check_ptr,
selector=selector,
selector=ids.selector,
)"#
}
),
Expand Down

0 comments on commit a12c921

Please sign in to comment.