Repository navigation
Conversation
IvcCircuit::Error is now IvcCircuitError instead of plonk::Error, with a Backend(String) catch-all and a From<plonk::Error> conversion, like the certificate circuit.
… and gadgets The witness assignments, the byte combination gadget and the protocol message hash gadget now return IvcCircuitError, so their guard errors are no longer flattened into a synthesis error string. Removed the to_synthesis_error adapter.
The IVC prover now recovers the typed IvcCircuitError of a failed synthesis from the circuit, as zk::prove does for the certificate circuit, so callers can downcast it. Removed IvcProofError::ProofGenerationFailed, replaced by IvcCircuitError::Backend.
Test Results 5 files ± 0 211 suites ±0 1h 40m 26s ⏱️ - 12m 7s Results for commit 82e27a5. ± Comparison against base commit 736297b. This pull request removes 42 and adds 1 tests. Note that renamed tests count towards both. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content
This PR includes a refactor of the IVC circuit errors to match the error handling of the non-recursive circuit, using a conversion from midnight errors to our own error type
IvcCircuitError.Pre-submit checklist
Comments
Issue(s)
Closes #3592