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

Fixup deserialization of proof-systems JSON format #975

Merged
merged 3 commits into from
Jun 8, 2023

Conversation

mrmr1993
Copy link
Member

@mrmr1993 mrmr1993 commented Jun 7, 2023

This PR is associated with the bindings changes in o1-labs/o1js-bindings#37.

As well as updating the bindings, this PR fixes the gatesFromJson helper: the JSON format emitted from the rust side now represents the coefficients as hex strings. This fix uses the helper function introduced in o1-labs/o1js-bindings#37, which handles the endianness mismatch between the rust Field serialization and the JS Bigint's.

@mitschabaude
Copy link
Collaborator

manually triggered a CI run: https://github.com/o1-labs/snarkyjs/actions/runs/5203561513 (not sure why it sometimes doesn't start)

@mitschabaude
Copy link
Collaborator

Copy link
Collaborator

@mitschabaude mitschabaude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@mitschabaude mitschabaude merged commit 796c55f into develop Jun 8, 2023
@mitschabaude mitschabaude deleted the feature/update-proof-systems branch June 8, 2023 06:04
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.

2 participants