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

bump to 0.20 #73

Merged
merged 13 commits into from
Feb 15, 2024
Merged

bump to 0.20 #73

merged 13 commits into from
Feb 15, 2024

Conversation

capossele
Copy link
Contributor

@capossele capossele commented Jan 24, 2024

TODO:

  • Pin final 0.20 version once it gets released

@capossele capossele marked this pull request as draft January 25, 2024 13:14
Copy link
Contributor

@mothran mothran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few small notes, might be worth running a clippy pass on it.

@@ -42,7 +44,7 @@ jobs:
version: "1.4"

- name: Cargo binstall cargo-risczero
run: cargo binstall -y --force cargo-risczero@0.19.1
run: cargo binstall -y --force cargo-risczero@0.20.0-rc.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently bonsai staging is at rc3, so might be worth bumping up to that for testing.

Cargo.toml Outdated
bonsai-ethereum-relay = { version = "0.5.1" }
risc0-build = { version = "0.20.0-rc.2" }
risc0-zkvm = { version = "0.20.0-rc.2", default-features = false }
bonsai-sdk = { version = "0.6.0-rc.1" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bump to 0.6.0-rc.3

@@ -27,7 +27,14 @@ use methods::GUEST_LIST;
use risc0_zkvm::sha::Digest;

/// Index 0 private key generated by default in Anvil.
const ANVIL_DEFAULT_KEY: &str = "ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80";
const ANVIL_DEFAULT_KEY: &'static str =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a clippy error but: you shouldn't need &'static for const &str's because its implied

} => {
let relayer = Relayer {
rest_api: true,
dev_mode,
dev_mode: dev_mode,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think clippy would suggest keeping this just dev_mode, any reason to not use the alias assignment?

@capossele capossele self-assigned this Feb 15, 2024
@capossele capossele marked this pull request as ready for review February 15, 2024 17:28
@capossele capossele requested a review from nategraf February 15, 2024 17:28
@capossele capossele merged commit bb242d8 into main Feb 15, 2024
3 checks passed
@capossele capossele deleted the capossele/bump-0.20 branch February 15, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants