-
Notifications
You must be signed in to change notification settings - Fork 74
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
Remove R1CS_constraint_system from snark_intf #674
base: master
Are you sure you want to change the base?
Conversation
|
||
val digest : t -> Md5.t | ||
|
||
val get_public_input_size : t -> int Core_kernel.Set_once.t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arguably snarky should also be able to return the public input size right? I guess we never have a snarky type that stores the circuit and the constraint system, but I think it'd be a good idea to have these at some point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh okay, it's removed because it's actually unused. I see that this is not a very useful feature in general
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh and there's still get_primary_input_size
, we should be rename primary -> public
Stale pull request message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense
This PR removes an unused function, and drops the
R1CS_constraint_system
module from theSnark_intf.*
interfaces.