-
Notifications
You must be signed in to change notification settings - Fork 369
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
refactor: expose all typed backends in gnark/backend (moved from internal/) #561
Conversation
Probably, the big ugly type switches we have in |
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.
Two no-op duplicate directory make, but otherwise good.
plonkFriDir := filepath.Join(d.RootPath, "plonkfri") | ||
groth16Dir := filepath.Join(d.RootPath, "groth16") | ||
plonkDir := filepath.Join(d.RootPath, "plonk") | ||
|
||
if err := os.MkdirAll(groth16Dir, 0700); err != nil { |
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.
Duplicate make
plonkFriDir := filepath.Join(d.RootPath, "plonkfri") | ||
groth16Dir := filepath.Join(d.RootPath, "groth16") | ||
plonkDir := filepath.Join(d.RootPath, "plonk") | ||
|
||
if err := os.MkdirAll(groth16Dir, 0700); err != nil { | ||
panic(err) | ||
} |
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.
Next line duplicate make.
Now when the methods are not internal anymore it would be good if the package documentation would be a bit more thorough, but I would keep it as a future work as part of a bigger documentation overhaul. |
Makes third party workflow and integration easier, for groth16 things are relatively stable now, may have couple of changes in PlonK in the future releases.