Skip to content
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

Update to zkVM 0.18 #33

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: risc0/risc0/.github/actions/rustup@release-0.17
- uses: risc0/risc0/.github/actions/sccache@release-0.17
- uses: risc0/risc0/.github/actions/rustup@release-0.18
- uses: risc0/risc0/.github/actions/sccache@release-0.18
- run: cargo install cargo-risczero && cargo risczero install
- run: cargo test --workspace --all-targets --all-features

Expand All @@ -34,8 +34,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: risc0/risc0/.github/actions/rustup@release-0.17
- uses: risc0/risc0/.github/actions/sccache@release-0.17
- uses: risc0/risc0/.github/actions/rustup@release-0.18
- uses: risc0/risc0/.github/actions/sccache@release-0.18
- uses: risc0/clippy-action@main
with:
reporter: 'github-pr-check'
Expand All @@ -49,5 +49,5 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: risc0/risc0/.github/actions/rustup@release-0.17
- uses: risc0/risc0/.github/actions/rustup@release-0.18
- run: cargo fmt --all --check
74 changes: 38 additions & 36 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ lto = true
opt-level = 3

[workspace.dependencies]
bonsai-sdk = "0.3"
risc0-build = "0.17"
risc0-zkvm = { version = "0.17", default-features = false }
bonsai-sdk = "0.4"
risc0-build = "0.18"
risc0-zkvm = { version = "0.18", default-features = false }
25 changes: 13 additions & 12 deletions guests/eth-block/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 guests/eth-block/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
k256 = { version = "=0.13.1", features = ["std", "ecdsa"], default_features = false }
risc0-zkvm = { version = "0.17", default-features = false, features = ['std'] }
risc0-zkvm = { version = "0.18", default-features = false, features = ['std'] }
zeth-lib = { path = "../../lib", default-features = false }

[patch.crates-io]
Expand Down
1 change: 0 additions & 1 deletion host/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ async fn main() -> Result<()> {

match client.upload_img(&image_id, image) {
intoverflow marked this conversation as resolved.
Show resolved Hide resolved
Ok(_) => (),
Err(bonsai_sdk::SdkErr::ImageIdExists) => (),
Err(err) => panic!("Could not upload ELF: {}", err),
};
image_id
Expand Down