@@ -71,36 +71,36 @@ pub enum SignatureError {
7171 SerializationError ,
7272}
7373
74- /// Error types for aggregation.
75- #[ derive( Debug , Clone , thiserror:: Error ) ]
76- pub enum AggregationError {
77- /// Not enough signatures were collected, got this many instead.
78- #[ error( "Not enough signatures. Got only {0} out of {1}." ) ]
79- NotEnoughSignatures ( u64 , u64 ) ,
74+ // // / Error types for aggregation.
75+ // #[derive(Debug, Clone, thiserror::Error)]
76+ // pub enum AggregationError {
77+ // /// Not enough signatures were collected, got this many instead.
78+ // #[error("Not enough signatures. Got only {0} out of {1}.")]
79+ // NotEnoughSignatures(u64, u64),
8080
81- #[ error( "Unsupported proof system: {0}" ) ]
82- UnsupportedProofSystem ( AggregateSignatureType ) ,
81+ // #[error("Unsupported proof system: {0}")]
82+ // UnsupportedProofSystem(AggregateSignatureType),
8383
84- /// There is a duplicate index
85- #[ error( "Indices are not unique." ) ]
86- IndexNotUnique ,
87- }
84+ // /// There is a duplicate index
85+ // #[error("Indices are not unique.")]
86+ // IndexNotUnique,
87+ // }
8888
89- /// Errors which can be output by Mithril aggregate verification.
90- #[ derive( Debug , Clone , thiserror:: Error ) ]
91- pub enum AggregateSignatureError {
92- /// This error occurs when the the serialization of the raw bytes failed
93- #[ error( "Invalid bytes" ) ]
94- SerializationError ,
89+ // // / Errors which can be output by Mithril aggregate verification.
90+ // #[derive(Debug, Clone, thiserror::Error)]
91+ // pub enum AggregateSignatureError {
92+ // /// This error occurs when the the serialization of the raw bytes failed
93+ // #[error("Invalid bytes")]
94+ // SerializationError,
9595
96- /// Batch verification of STM aggregate signatures failed
97- #[ error( "Batch verification of STM aggregate signatures failed" ) ]
98- BatchInvalid ,
96+ // /// Batch verification of STM aggregate signatures failed
97+ // #[error("Batch verification of STM aggregate signatures failed")]
98+ // BatchInvalid,
9999
100- /// The proof system used in the aggregate signature is not supported
101- #[ error( "Unsupported proof system: {0}" ) ]
102- UnsupportedProofSystem ( AggregateSignatureType ) ,
103- }
100+ // /// The proof system used in the aggregate signature is not supported
101+ // #[error("Unsupported proof system: {0}")]
102+ // UnsupportedProofSystem(AggregateSignatureType),
103+ // }
104104
105105/// Errors which can be outputted by key registration.
106106#[ derive( Debug , Clone , thiserror:: Error , PartialEq , Eq ) ]
0 commit comments