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

Update proof-systems for safe lagrange-basis tracking #1857

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mrmr1993
Copy link
Member

@mrmr1993 mrmr1993 commented Oct 8, 2024

This PR fixes #1411.

This PR also includes some auxiliary changes in a separate commit, without which I could not make main compile.

The bulk of the fix is here, forcing an API which forces us to generate a lagrange basis if one is not present, and as such removing all opportunity for the panics that halt the WASM interpreter.

@mitschabaude
Copy link
Contributor

Nice!

I think the auxiliary changes might not be necessary with the TS version that o1js uses (there were significant improvements to type inference from conditionals in recent versions).
To install the version that matches CI, you can just do

npm i

@45930
Copy link
Contributor

45930 commented Oct 9, 2024

Looks like these changes are good. I merged the proof systems PR and will get the mina, bindings, and o1js PRs merged this week.

@mitschabaude
Copy link
Contributor

@45930 you should revert all the unrelated type "fixes" that @mrmr1993 did, they were only necessary because of an outdated TS version

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.

process hangs when verifying proof read&deserialized from file
3 participants