Skip to content

Commit

Permalink
docs: change docs for updated function call (#1732)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhat1308 authored Nov 5, 2024
1 parent 8067db6 commit 432b4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/writing-programs/proof-aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Note that by itself, SP1 can already prove arbitrarily large programs by chunkin

## Verifying Proofs inside the zkVM

To verify a proof inside the zkVM, you can use the `sp1_zkvm::lib::verify::verify_proof` function.
To verify a proof inside the zkVM, you can use the `sp1_zkvm::lib::verify::verify_sp1_proof` function.

```rust,noplayground
sp1_zkvm::lib::verify::verify_proof(vkey, public_values_digest);
sp1_zkvm::lib::verify::verify_sp1_proof(vkey, public_values_digest);
```

**You do not need to pass in the proof as input into the syscall, as the proof will automatically be read for the proof input stream by the prover.**
Expand Down

0 comments on commit 432b4a4

Please sign in to comment.