Skip to content

Commit

Permalink
Update to risc0 0.21 (#38)
Browse files Browse the repository at this point in the history
- Update risc0 to 0.21
- Harmonize crates naming, they all start with `risc0-ethereum`. This is
useful when automatising the patch on cross-repo CI.
- Update solidity verifier to risc0 0.21
- Move `bonsai-rest-api-mock` from `risc0`

Closes #39
  • Loading branch information
capossele authored Mar 20, 2024
1 parent 16d5e5b commit 2a96704
Show file tree
Hide file tree
Showing 23 changed files with 1,507 additions and 485 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ permissions:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RISC0_TOOLCHAIN_VERSION: v2024-01-31.1
RISC0_CRATE_VERSION: "^0.20"
RISC0_TOOLCHAIN_VERSION: v2024-02-08.1
RISC0_CRATE_VERSION: "^0.21"

jobs:
# see: https://github.com/orgs/community/discussions/26822
Expand All @@ -44,7 +44,7 @@ jobs:
# Full history is required by license-check.py
fetch-depth: 0
submodules: recursive
- uses: risc0/risc0/.github/actions/rustup@release-0.20
- uses: risc0/risc0/.github/actions/rustup@release-0.21
- name: Install cargo-sort
uses: risc0/cargo-install@b9307573043522ab0d3e3be64a51763b765b52a4
with:
Expand Down Expand Up @@ -94,9 +94,9 @@ jobs:
with:
submodules: recursive
- if: matrix.feature == 'cuda'
uses: risc0/risc0/.github/actions/cuda@release-0.20
- uses: risc0/risc0/.github/actions/rustup@release-0.20
- uses: risc0/risc0/.github/actions/sccache@release-0.20
uses: risc0/risc0/.github/actions/cuda@release-0.21
- uses: risc0/risc0/.github/actions/rustup@release-0.21
- uses: risc0/risc0/.github/actions/sccache@release-0.21
with:
key: ${{ matrix.os }}-${{ matrix.feature }}
- run: cargo install --force --locked cargo-risczero@$RISC0_CRATE_VERSION -F $FEATURE
Expand Down Expand Up @@ -125,11 +125,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: risc0/risc0/.github/actions/rustup@release-0.20
- uses: risc0/risc0/.github/actions/rustup@release-0.21
- uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f
with:
version: nightly-09fe3e041369a816365a020f715ad6f94dbce9f2
- uses: risc0/risc0/.github/actions/sccache@release-0.20
- uses: risc0/risc0/.github/actions/sccache@release-0.21
with:
key: macOS-default
- run: cargo install --force --locked cargo-risczero@$RISC0_CRATE_VERSION
Expand Down
Loading

0 comments on commit 2a96704

Please sign in to comment.