This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Should preprocess
be two functions: generate_proving_key
and generate_verification_key
?
#256
Closed
1 task done
Labels
enhancement
New feature or request
Problem
Currently, we require a
preprocess
function on the ProofSystem trait that needs to return the proving key and verification key; however the verifier might only need a verification key. Alternatively, backends such as https://github.com/TomAFrench/acvm-backend-groth16 generate the pk and vk at the same time.Proposed solution
Figure out if we want to split these or if it would cause too much friction when implementing various backends.
Alternatives considered
Leave it as is.
Additional context
See thread at #231 (comment) for more discussion
Submission Checklist
The text was updated successfully, but these errors were encountered: