From 57d47fd594e786be61249d4ebb3fd206a15fa555 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 16 Dec 2024 18:17:31 -0300 Subject: [PATCH] Fix syscall name and header flag --- proposals/0178-static-syscalls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proposals/0178-static-syscalls.md b/proposals/0178-static-syscalls.md index eb1cf3a5..6f443da1 100644 --- a/proposals/0178-static-syscalls.md +++ b/proposals/0178-static-syscalls.md @@ -37,7 +37,7 @@ None. ## Detailed Design The following must go into effect if and only if a program indicates the SBPF -version XX or higher in its ELF header e_flags field, according to the +version `0x03` or higher in its ELF header e_flags field, according to the specification of SIMD-0161. ### New syscall instruction @@ -124,7 +124,7 @@ syscalls must strictly follow the numbering below. | sol_get_clock_sysvar | 36 | | sol_get_epoch_schedule_sysvar | 37 | | sol_get_last_restart_slot | 38 | -| sol_get_epoch_rewards_slot | 39 | +| sol_get_epoch_rewards_sysvar | 39 | | sol_get_fees_sysvar | 40 | | sol_get_rent_sysvar | 41 | |------------------------------------------|----------|