Skip to content

Commit

Permalink
Fix a typo in guest-code-101.md regarding journal (risc0#1106)
Browse files Browse the repository at this point in the history
It seems that journal is where we put the public outputs, rather than
the private outputs, based on the contexts?

This is an edit to guest-code-101.md.
  • Loading branch information
weikengchen authored Nov 7, 2023
1 parent d5d7e85 commit 4a0bba4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/api/zkvm/developer-guide/guest-code-101.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To support various use cases, there are a number of functions that can be called
[`env::stdout`]: https://docs.rs/risc0-zkvm/*/risc0_zkvm/guest/env/fn.stdout.html
[`env::stderr`]: https://docs.rs/risc0-zkvm/*/risc0_zkvm/guest/env/fn.stderr.html

- **Committing private outputs [journal]**<br/>
- **Committing public outputs to [journal]**<br/>
`env::commit`, `env::commit_slice`

[`env::commit`]: https://docs.rs/risc0-zkvm/*/risc0_zkvm/guest/env/fn.commit.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To support various use cases, there are a number of functions that can be called
[`env::stdout`]: https://docs.rs/risc0-zkvm/0.18.0/risc0_zkvm/guest/env/fn.stdout.html
[`env::stderr`]: https://docs.rs/risc0-zkvm/0.18.0/risc0_zkvm/guest/env/fn.stderr.html

- **Committing private outputs [journal]**<br/>
- **Committing public outputs to [journal]**<br/>
`env::commit`, `env::commit_slice`

[`env::commit`]: https://docs.rs/risc0-zkvm/0.18.0/risc0_zkvm/guest/env/fn.commit.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To support various use cases, there are a number of functions that can be called
[`env::stdout`]: https://docs.rs/risc0-zkvm/0.19/risc0_zkvm/guest/env/fn.stdout.html
[`env::stderr`]: https://docs.rs/risc0-zkvm/0.19/risc0_zkvm/guest/env/fn.stderr.html

- **Committing private outputs [journal]**<br/>
- **Committing public outputs to [journal]**<br/>
`env::commit`, `env::commit_slice`

[`env::commit`]: https://docs.rs/risc0-zkvm/0.19/risc0_zkvm/guest/env/fn.commit.html
Expand Down

0 comments on commit 4a0bba4

Please sign in to comment.