Skip to content

Commit

Permalink
update risc0
Browse files Browse the repository at this point in the history
  • Loading branch information
capossele committed Feb 15, 2024
1 parent cbaca0d commit 11b4447
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 52 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Install Foundry
uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f
with:
version: nightly-09fe3e041369a816365a020f715ad6f94dbce9f2

- name: lint methods rust code
run: cargo fmt --all -- --check
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:

- name: Install Foundry
uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f
with:
version: nightly-09fe3e041369a816365a020f715ad6f94dbce9f2

- name: Install cargo-install
uses: risc0/cargo-install@v1
Expand All @@ -44,7 +42,7 @@ jobs:
version: "1.4"

- name: Cargo binstall cargo-risczero
run: cargo binstall -y --force cargo-risczero@0.20.0-rc.4
run: cargo binstall -y --force cargo-risczero@0.20.1

- name: risczero toolchain install
run: cargo risczero install
Expand Down Expand Up @@ -76,8 +74,6 @@ jobs:

- name: Install Foundry
uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f
with:
version: nightly-09fe3e041369a816365a020f715ad6f94dbce9f2

- name: Install cargo-install
uses: risc0/cargo-install@v1
Expand All @@ -86,7 +82,7 @@ jobs:
version: "1.4"

- name: Cargo binstall cargo-risczero
run: cargo binstall -y --force cargo-risczero@0.20.0-rc.4
run: cargo binstall -y --force cargo-risczero@0.20.1

- name: risczero toolchain install
run: cargo risczero install
Expand Down
48 changes: 24 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ members = ["methods", "relay"]
resolver = "2"

[workspace.dependencies]
bonsai-ethereum-relay = { version = "0.6.0-rc.4" }
bonsai-sdk = { version = "0.6.0-rc.4" }
bonsai-ethereum-relay = { version = "0.6.1" }
bonsai-sdk = { version = "0.6.1" }
methods = { path = "./methods", package = "bonsai-starter-methods" }
risc0-build = { version = "0.20.0-rc.4" }
risc0-zkvm = { version = "0.20.0-rc.4", default-features = false }
risc0-build = { version = "0.20" }
risc0-zkvm = { version = "0.20", default-features = false }

# Always optimize; building and running the guest takes much longer without optimization.
[profile.dev]
Expand Down
2 changes: 1 addition & 1 deletion lib/risc0
Submodule risc0 updated 59 files
+1 −1 .github/workflows/bench_applications.yml
+1 −1 .github/workflows/bench_datasheet.yml
+1 −1 .github/workflows/bench_pr.yml
+1 −1 .github/workflows/bench_trends.yml
+2 −2 .github/workflows/bonsai.yml
+10 −1 .github/workflows/main.yml
+1 −1 .github/workflows/nightly.yml
+3 −3 .github/workflows/release.yml
+1 −1 .github/workflows/website-test.yml
+18 −18 Cargo.toml
+14 −14 benchmarks/Cargo.lock
+7 −7 benchmarks/methods/guest/Cargo.lock
+22 −17 bonsai/Cargo.lock
+6 −6 bonsai/Cargo.toml
+1 −1 bonsai/ethereum-relay/Cargo.toml
+4 −1 bonsai/ethereum/Cargo.toml
+16 −16 bonsai/examples/governance/Cargo.lock
+7 −7 bonsai/examples/governance/methods/guest/Cargo.lock
+1 −1 bonsai/rest-api-mock/Cargo.toml
+6 −5 bonsai/sdk/Cargo.toml
+19 −10 bonsai/sdk/README.md
+3 −3 bonsai/sdk/src/alpha.rs
+117 −1 bonsai/sdk/src/lib.rs
+14 −14 examples/Cargo.lock
+7 −7 examples/bevy/methods/guest/Cargo.lock
+7 −7 examples/chess/methods/guest/Cargo.lock
+8 −8 examples/composition/methods/guest/Cargo.lock
+7 −7 examples/digital-signature/methods/guest/Cargo.lock
+7 −7 examples/ecdsa/methods/guest/Cargo.lock
+7 −7 examples/groth16-verifier/methods/guest/Cargo.lock
+7 −7 examples/hello-world/methods/guest/Cargo.lock
+7 −7 examples/json/methods/guest/Cargo.lock
+7 −7 examples/jwt-validator/methods/guest/Cargo.lock
+7 −7 examples/password-checker/methods/guest/Cargo.lock
+7 −7 examples/profiling/methods/guest/Cargo.lock
+7 −7 examples/prorata/methods/guest/Cargo.lock
+7 −7 examples/sha/methods/guest/Cargo.lock
+7 −7 examples/smartcore-ml/methods/guest/Cargo.lock
+7 −7 examples/voting-machine/methods/guest/Cargo.lock
+7 −7 examples/waldo/methods/guest/Cargo.lock
+7 −7 examples/wasm/methods/guest/Cargo.lock
+7 −7 examples/wordle/methods/guest/Cargo.lock
+7 −7 examples/xgboost/methods/guest/Cargo.lock
+7 −7 examples/zkevm-demo/methods/guest/Cargo.lock
+3 −3 risc0/build/src/docker.rs
+2 −0 risc0/cargo-risczero/Cargo.toml
+5 −1 risc0/r0vm/tests/standard_lib.rs
+44 −33 risc0/zkvm/README.md
+4 −5 risc0/zkvm/examples/fib.rs
+19 −10 risc0/zkvm/examples/loop.rs
+9 −9 risc0/zkvm/methods/guest/Cargo.lock
+7 −7 risc0/zkvm/methods/rand/Cargo.lock
+9 −9 risc0/zkvm/methods/std/Cargo.lock
+18 −17 risc0/zkvm/src/host/recursion/tests.rs
+1 −8 risc0/zkvm/src/host/server/prove/prover_impl.rs
+53 −1 risc0/zkvm/src/lib.rs
+1 −1 tools/smoke-test/Cargo.toml
+1 −1 tools/smoke-test/methods/Cargo.toml
+1 −1 tools/smoke-test/methods/guest/Cargo.toml
1 change: 1 addition & 0 deletions lib/risc0-ethereum
Submodule risc0-ethereum added at 3be9ef
28 changes: 14 additions & 14 deletions methods/guest/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion methods/guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ path = "src/bin/fibonacci.rs"
ethabi = { version = "18.0", default-features = false }
# Directly import radium to silence warning about unused patch. See https://github.com/risc0/risc0/issues/549
radium = "=0.7.1"
risc0-zkvm = { version = "0.20.0-rc.4", default-features = false, features = ["std"] }
risc0-zkvm = { version = "0.20", default-features = false, features = ["std"] }

[patch.crates-io]
radium = { git = "https://github.com/bitvecto-rs/radium", rev = "723bed5abd75994ee4b7221b8b12c9f4e77ce408" }
Expand Down

0 comments on commit 11b4447

Please sign in to comment.