@@ -14,14 +14,6 @@ use dusk_vm::Error as VMError;
14
14
15
15
#[ derive( Debug , thiserror:: Error ) ]
16
16
pub enum Error {
17
- #[ error( "Failed to register a backend for persistence" ) ]
18
- BackendRegistrationFailed ,
19
- /// Failed to restore a network state from disk
20
- #[ error( "Failed to restore a network state" ) ]
21
- RestoreFailed ,
22
- /// Proof verification failure
23
- #[ error( "Proof verification failure" ) ]
24
- ProofVerification ,
25
17
/// Out of gas in block execution
26
18
#[ error( "Out of gas" ) ]
27
19
OutOfGas ,
@@ -37,15 +29,9 @@ pub enum Error {
37
29
/// Wrong inputs and/or outputs in the transaction verification
38
30
#[ error( "Expected: 0 < (inputs: {0}) < 5, 0 ≤ (outputs: {1}) < 3" ) ]
39
31
InvalidCircuitArguments ( usize , usize ) ,
40
- /// Failed to build a Rusk instance
41
- #[ error( "Failed to build a Rusk instance" ) ]
42
- BuilderInvalidState ,
43
32
/// Failed to fetch opening
44
33
#[ error( "Failed to fetch opening of position {0}" ) ]
45
34
OpeningPositionNotFound ( u64 ) ,
46
- /// Failed to fetch opening due to undefined Note
47
- #[ error( "Note {0} not found, opening of position" ) ]
48
- OpeningNoteUndefined ( u64 ) ,
49
35
/// Bytes Serialization Errors
50
36
#[ error( "Serialization Error: {0:?}" ) ]
51
37
Serialization ( dusk_bytes:: Error ) ,
0 commit comments