github risc0/risc0 v0.14.0

latest releases: v1.0.0-rc.3, v0.21.0, v0.21.0-rc.2...
13 months ago

As with all our pre-1.0 versions, our codebase and APIs remain under heavy development. Take a look at the "Breaking Changes" section below for the changes we think are likely to affect your projects. That said, we've probably missed some things. If you run into problems, we invite you to open an issue or reach out to us on Discord.

We've created a cargo risczero tool for creating, managing, and testing RISC Zero projects. Check out cargo risczero new the next time you start a new project!

Thanks to community members @kubaplas, @KaiGeffen, and @justinFrevert for their contributions to this release!

Breaking Changes

  • risc0_zkvm::Prover no longer takes an image_id parameter. The Image ID is instead calculated from the supplied ELF binary.
  • We have moved the examples and starter template into our main repository. You can now find the examples in the examples directory. You can generate a starter project from our template using our cargo risczero tool. The standalone risc0-rust-examples and risc0-rust-starter repositories are deprecated.
  • The backend for host-guest communication has been updated. There have been some corresponding changes to the API for host-guest communication, including some breaking changes, although the most commonly used functions like env::read will generally still work without adjustment. Check out the new env::stderr, env::stdin, and env::stdout! See the guest::env documentation and the prove::io documentation for more details.
  • Replaced risc0_zkvm::MemoryImage::root with risc0_zkvm::MemoryImage::get_root().
  • Dropped VerificationError::SealJournalLengthMismatch and renamed VerificationError::JournalSealRootMismatch to VerificationError::JournalDigestMismatch.

Changelog

New Contributors

Full Changelog: v0.13.0...v0.14.0

Don't miss a new risc0 release

NewReleases is sending notifications on new releases.