pub fn add_event(
        &mut self,
        syscall_code: SyscallCode,
        syscall_event: SyscallEvent,
        event: PrecompileEvent,
    ) {
        assert!(syscall_code.should_send() == 1);
        self.events.entry(syscall_code).or_default().push((syscall_event, event));
    }
Add a precompile event for a given syscall code.
crates/core/executor/src/events/precompiles/mod.rs