File tree Expand file tree Collapse file tree 6 files changed +8
-14
lines changed Expand file tree Collapse file tree 6 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " mithril-stm"
3- version = " 0.5.6 "
3+ version = " 0.6.0 "
44edition = { workspace = true }
55authors = { workspace = true }
66homepage = { workspace = true }
Original file line number Diff line number Diff line change @@ -141,9 +141,7 @@ match msig {
141141 println! (" Not enough signatures" );
142142 assert! (n < & params . k && k == & params . k)
143143 },
144- // Some(AggregationError::UsizeConversionInvalid) => {
145- // println!("Invalid usize conversion");
146- // },
144+
147145 Some (AggregationError :: UnsupportedProofSystem (aggregate_signature_type )) => {
148146 println! (" Unsupported proof system: {:?}" , aggregate_signature_type );
149147 },
Original file line number Diff line number Diff line change @@ -267,9 +267,7 @@ mod tests {
267267 println!( "Not enough signatures" ) ;
268268 assert!( n < & params. k && k == & params. k)
269269 } ,
270- // Some(AggregationError::UsizeConversionInvalid) => {
271- // println!("Invalid usize conversion");
272- // },
270+
273271 Some ( AggregationError :: UnsupportedProofSystem ( aggregate_signature_type) ) => {
274272 println!( "Unsupported proof system: {:?}" , aggregate_signature_type) ;
275273 } ,
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ mod tests {
141141 assert_eq!( fake_it, 0 ) ;
142142 assert!( a. verify_proof_of_possession( ) . is_err( ) ) ;
143143 } ,
144- _ => { println !( "Unexpected error: {error}" ) }
144+ _ => { panic !( "Unexpected error: {error}" ) }
145145 }
146146 }
147147 }
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ fn test_core_verifier() {
6969 assert ! ( ( nr_indices) < & params. k)
7070 }
7171 _ => {
72- println ! ( "Unexpected error: {:?}" , error) ;
72+ panic ! ( "Unexpected error: {:?}" , error) ;
7373 }
7474 } ,
7575 }
Original file line number Diff line number Diff line change @@ -39,14 +39,12 @@ fn test_full_protocol() {
3939 println ! ( "Not enough signatures" ) ;
4040 assert ! ( n < & params. k && k == & params. k)
4141 }
42- // Some(AggregationError::UsizeConversionInvalid) => {
43- // println!("Invalid usize conversion");
44- // }
42+
4543 Some ( AggregationError :: UnsupportedProofSystem ( aggregate_signature_type) ) => {
46- println ! ( "Unsupported proof system: {:?}" , aggregate_signature_type) ;
44+ panic ! ( "Unsupported proof system: {:?}" , aggregate_signature_type) ;
4745 }
4846 _ => {
49- println ! ( "Unexpected error during aggregation: {:?}" , error) ;
47+ panic ! ( "Unexpected error during aggregation: {:?}" , error) ;
5048 }
5149 } ,
5250 }
You can’t perform that action at this time.
0 commit comments