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

Prove Optimized Code #155

Open
sjudson opened this issue May 1, 2024 · 0 comments
Open

Prove Optimized Code #155

sjudson opened this issue May 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sjudson
Copy link
Contributor

sjudson commented May 1, 2024

In #138 we set opt-level = 0 for the default proving profile (release-unoptimized, as opposed to opt-level = 3 for release). This was due to the appearance of PANICs when trying to prove some programs at higher optimization levels, such as https://github.com/nexus-xyz/nexus-zkvm/blob/main/examples/src/bin/galeshapley.rs.

It would be good to explore the root causes of these PANICs, and try to improve the compilation pipeline so that we can successfully prove optimized programs (which should require fewer instructions and therefore be faster).

@sjudson sjudson added the enhancement New feature or request label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant