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

Merged
merged 6 commits into from
Oct 15, 2024

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.

o1js-bindings PR is up! o1-labs/o1js-bindings#307

@mitschabaude
Copy link
Collaborator

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
Collaborator

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

@45930 45930 merged commit f15293a into main Oct 15, 2024
25 checks passed
@45930 45930 deleted the feature/fix-compilation-of-main branch October 15, 2024 13:08
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
4 participants