-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare for release v0.17.0 #786
Conversation
Benchmark for Linux-cuda 517f965Click to hide benchmark
Benchmark for Linux-default
Benchmark for macOS-default
Benchmark for macOS-metal 517f965Click to hide benchmark
|
Should we also include the crate |
zkVM applications are organized into a [host program] and a [guest program]. | ||
The host program can be found in [`src/main.rs`] and the guest program can be found in [`methods/guest/src/main.rs`]. | ||
|
||
The [host] first [executes] the guest program and then [proves the execution] to construct a [receipt]. | ||
The receipt can be passed to a third party, who can examine the [journal] to check the program's outputs and can [verify] the [receipt] to ensure the integrity of the [guest program]'s execution. | ||
|
||
[`src/main.rs`]: https://github.com/risc0/risc0/tree/v0.16.1/examples/bevy/src/main.rs | ||
[`methods/guest/src/main.rs`]: https://github.com/risc0/risc0/tree/v0.16.1/examples/bevy/methods/guest/src/main.rs | ||
[`src/main.rs`]: src/main.rs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tzerrell and I have recently been expressing some uncertainty about whether the relative paths or full url paths are preferable in this context
@@ -2,7 +2,7 @@ | |||
|
|||
## Quick Start | |||
|
|||
First, make sure [rustup](https://rustup.rs) is installed. This project uses a [nightly](https://doc.rust-lang.org/book/appendix-07-nightly-rust.html) version of [Rust](https://doc.rust-lang.org/book/ch01-01-installation.html). The [`rust-toolchain`](rust-toolchain) file will be used by `cargo` to automatically install the correct version. | |||
First, make sure [rustup](https://rustup.rs) is installed. This project uses a [nightly](https://doc.rust-lang.org/book/appendix-07-nightly-rust.html) version of [Rust](https://doc.rust-lang.org/book/ch01-01-installation.html). The [`rust-toolchain.toml`](../../rust-toolchain.toml) file will be used by `cargo` to automatically install the correct version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we align the recommendations here with the other examples?
First, make sure [rustup](https://rustup.rs) is installed. This project uses a [nightly](https://doc.rust-lang.org/book/appendix-07-nightly-rust.html) version of [Rust](https://doc.rust-lang.org/book/ch01-01-installation.html). The [`rust-toolchain.toml`](../../rust-toolchain.toml) file will be used by `cargo` to automatically install the correct version. | |
First, [install Rust] if you don't already have it. | |
Next, install the `cargo-risczero` tool and install the toolchain with: | |
```bash | |
cargo install risczero | |
cargo risczero install |
Then, run the example with:
cargo run --release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM. I've already published this PR so we'll need to do this in a follow-up PR
Benchmark for Linux-cuda
Benchmark for Linux-default
Benchmark for macOS-default
Benchmark for macOS-metal ba97d6cClick to hide benchmark
|
It's not necessary since Foundry uses submodules for dependency management. It does mean that the |
The following crates require a newer version of rust, so these will be deferred until a later release:
bonsai-ethereum-contracts
bonsai-ethereum-relay
bonsai-rest-api-mock