Skip to content

Commit

Permalink
dup const
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy committed Nov 19, 2024
1 parent 1eda3c8 commit 56d202d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/zkvm/lib/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ pub const FD_HINT: u32 = 4;
/// The file descriptor for the `ecreover` hook.
pub const FD_ECRECOVER_HOOK: u32 = 5;

/// The file descriptor through which to access `hook_ecrecover_2`.
pub const FD_ECRECOVER_HOOK_2: u32 = 7;

/// A writer that writes to a file descriptor inside the zkVM.
struct SyscallWriter {
fd: u32,
Expand Down

0 comments on commit 56d202d

Please sign in to comment.