sp1_core_executor/events/syscall.rs
use serde::{Deserialize, Serialize};
use super::LookupId;
/// Syscall Event.
///
/// This object encapsulated the information needed to prove a syscall invocation from the CPU table.
/// This includes its shard, clk, syscall id, arguments, other relevant information.
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct SyscallEvent {
/// The shard number.
pub shard: u32,
/// The clock cycle.
pub clk: u32,
/// The lookup id.
pub lookup_id: LookupId,
/// The syscall id.
pub syscall_id: u32,
/// The first argument.
pub arg1: u32,
/// The second operand.
pub arg2: u32,
/// The nonce for the syscall.
pub nonce: u32,
}