-
Notifications
You must be signed in to change notification settings - Fork 68
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
bump to 0.20 #73
Conversation
There was a problem hiding this 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.
.github/workflows/test.yml
Outdated
@@ -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 |
There was a problem hiding this comment.
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" } |
There was a problem hiding this comment.
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
relay/src/main.rs
Outdated
@@ -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 = |
There was a problem hiding this comment.
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
relay/src/main.rs
Outdated
} => { | ||
let relayer = Relayer { | ||
rest_api: true, | ||
dev_mode, | ||
dev_mode: dev_mode, |
There was a problem hiding this comment.
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?
11b4447
to
8a58c2f
Compare
TODO: