You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Circuit::verify_proof takes &mut self. That implies in some cases the circuit may need to instantiate default implementations to be able to verify proofs.
That is not applicable because no concrete data from the circuit is required for the proof verification.
Proposed change
Remove &mut self from Circuit::verify_proof signature
The text was updated successfully, but these errors were encountered:
Since these two functions didn't need `Self` or `self` and also
were independent, we've been able to remove them from the trait.
This closes#396 and also allows us to have a generic method that
can verify Proofs of any `Circuit` without needing to have access to the
type of it.
Since these two functions didn't need `Self` or `self` and also
were independent, we've been able to remove them from the trait.
This closes#396 and also allows us to have a generic method that
can verify Proofs of any `Circuit` without needing to have access to the
type of it.
Currently, the
Circuit::verify_proof
takes&mut self
. That implies in some cases the circuit may need to instantiate default implementations to be able to verify proofs.That is not applicable because no concrete data from the circuit is required for the proof verification.
Proposed change
&mut self
fromCircuit::verify_proof
signatureThe text was updated successfully, but these errors were encountered: