-
Rust MSRV 1.82.0
rustup toolchain install 1.82.0 -
sp1 toolchain
curl -L https://risczero.com/install | bash rzup install --version 1.2.5
Since each proving game should have its own entrypoint, it lives as its own crate (currently colocated within the host crate).
We have fuel-proving-games-risc0 which aims to aggregate these and provides the following features -
- If imported as a library, you may access helpers to generate and verify proofs for the associated proving game.
- If executed as a binary, you may run proof generation & verification via CLI (upcoming).
cargo test -p fuel-proving-games-risc0 prove_all_fixtures_and_collect_report
Make sure you use the correct env vars for the specific prover.
For CUDA proving, use the following feature flag:
cargo test -p fuel-proving-games-risc0 prove_all_fixtures_and_collect_report --features cuda
see here for installation instructions for the drivers.
cargo test -p fuel-proving-games-risc0 run_all_fixtures_and_collect_report