@@ -13,16 +13,16 @@ pub use crate::prover::nova::error::ProofError as NovaProofError;
13
13
/// Errors related to proof generation
14
14
#[ derive( Debug ) ]
15
15
pub enum ProofError {
16
- /// An error occured loading or executing program
16
+ /// An error occurred while loading or executing the program
17
17
NexusVMError ( NexusVMError ) ,
18
18
19
- /// An error occurred reading file system
19
+ /// An error occurred reading the file system
20
20
IOError ( std:: io:: Error ) ,
21
21
22
- /// An error occured during circuit synthesis
22
+ /// An error occurred during circuit synthesis
23
23
CircuitError ( SynthesisError ) ,
24
24
25
- /// An error occured serializing to disk
25
+ /// An error occurred serializing to disk
26
26
SerError ( SerializationError ) ,
27
27
28
28
/// The witness does not satisfy the constraints as R1CS
@@ -34,13 +34,13 @@ pub enum ProofError {
34
34
/// Invalid folding step index
35
35
InvalidIndex ( usize ) ,
36
36
37
- /// Public Parameters do not match circuit
37
+ /// Public Parameters do not match the circuit
38
38
InvalidPP ,
39
39
40
- /// An error occured while computing the HyperNova folding
40
+ /// An error occurred while computing the HyperNova folding
41
41
FoldingError ( HNFoldingError ) ,
42
42
43
- /// An error occured while setting up a polynomial commitment
43
+ /// An error occurred while setting up a polynomial commitment
44
44
PolyCommitmentError ,
45
45
46
46
/// The HyperNova prover produced an invalid proof
@@ -95,8 +95,8 @@ impl From<NovaProofError> for ProofError {
95
95
NovaProofError :: IOError ( e) => IOError ( e) ,
96
96
NovaProofError :: CircuitError ( e) => CircuitError ( e) ,
97
97
NovaProofError :: SerError ( e) => SerError ( e) ,
98
- // The above error conversions allow reusing convienence functions
99
- // from the nova implemementation in this crate.
98
+ // The above error conversions allow reusing convenience functions
99
+ // from the nova implementation in this crate.
100
100
//
101
101
// The remaining errors are thrown by functions that are specific to
102
102
// a proof system, and so shouldn't be shared across the definitions
0 commit comments