-
Notifications
You must be signed in to change notification settings - Fork 16
Update zkVMs #259
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 zkVMs #259
Conversation
jsign
left a comment
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.
LGTM!
| }); | ||
| } | ||
|
|
||
| // FIXME: Remove this if the `sdk.prove()` above checks exit code. |
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.
Which "exit code" this refers to?
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.
Ah it's about the execution exit code, I found that when proving with AOT execution, the exit code is not checked after execution (which is checked without AOT), so the sdk.prove doesn't return error even the guest panics (exits w non-zero code). So here we use the sdk.verify to help check the exit code is zero.
Discussed with Jonathan offline and he said they'd try to make the API more consistent, if it's updated and we can remove this line.
Update zkVMs (all patch version bumped so I put them in the same PR):
v5.2.3→v5.2.4(resolves Updatesp1tov5.2.4#249 )v1.2.0→v1.2.2(resolves Updatepicotov1.2.2#257 )v0.5.1→v0.5.2(resolves Updateairbendertov0.5.2#256 )v0.20.0→v0.20.1(issue not created because the script failed before, but fixed as well in this PR)Misc:
fetch_zkvm_version.sh(previously failed for miden)aotfeature of OpenVMnexusSDK installation script (need to pin some crate manually because missing ofCargo.lock)ereversion to0.0.16