Skip to content

Conversation

@han0110
Copy link
Collaborator

@han0110 han0110 commented Dec 30, 2025

Update zkVMs (all patch version bumped so I put them in the same PR):

Misc:

  • Fix fetch_zkvm_version.sh (previously failed for miden)
  • Enables the aot feature of OpenVM
  • Fix nexus SDK installation script (need to pin some crate manually because missing of Cargo.lock)
  • Bump ere version to 0.0.16

@han0110 han0110 marked this pull request as ready for review December 30, 2025 06:34
@han0110 han0110 requested a review from jsign December 30, 2025 06:34
@han0110 han0110 mentioned this pull request Dec 30, 2025
Copy link
Collaborator

@jsign jsign left a 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.
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@han0110 han0110 merged commit fd985bf into master Dec 30, 2025
50 checks passed
@han0110 han0110 deleted the han/feature/update-zkvm-3 branch December 30, 2025 12:02
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.

Update pico to v1.2.2 Update airbender to v0.5.2 Update sp1 to v5.2.4

3 participants