Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 98245d1

Browse files
committedMar 15, 2025··
add syscalls
1 parent acfd66c commit 98245d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎sdk/pinocchio/src/syscalls.rs

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ define_syscall!(fn sol_get_epoch_rewards_sysvar(addr: *mut u8) -> u64);
7575
define_syscall!(fn sol_poseidon(parameters: u64, endianness: u64, vals: *const u8, val_len: u64, hash_result: *mut u8) -> u64);
7676
define_syscall!(fn sol_remaining_compute_units() -> u64);
7777
define_syscall!(fn sol_alt_bn128_compression(op: u64, input: *const u8, input_size: u64, result: *mut u8) -> u64);
78+
define_syscall!(fn abort() -> !);
79+
define_syscall!(fn sol_panic_(filename: *const u8, filename_len: u64, line: u64, column: u64) -> !);
7880

7981
#[cfg(target_feature = "static-syscalls")]
8082
pub const fn sys_hash(name: &str) -> usize {

0 commit comments

Comments
 (0)
Please sign in to comment.