pub fn add_precompile_event(
        &mut self,
        syscall_code: SyscallCode,
        syscall_event: SyscallEvent,
        event: PrecompileEvent,
    ) {
        if self.rt.executor_mode == ExecutorMode::Trace {
            self.record_mut().precompile_events.add_event(syscall_code, syscall_event, event);
        }
    }
Add a precompile event to the execution record.
crates/core/executor/src/syscalls/context.rs