Skip to content

Commit

Permalink
fix: Assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
vadorovsky committed Jun 25, 2024
1 parent b94e701 commit 9f4fa22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ mod tests {
let max_input = [u8::MAX; 32];
let (hashed_value, bump) = hash_to_bn254_field_size_be(max_input.as_slice())
.expect("Failed to find a hash within BN254 field size");
assert_eq!(bump, 255, "Bump seed should be 0");
assert_eq!(bump, 255, "Bump seed should be 255");
assert!(
is_smaller_than_bn254_field_size_be(&hashed_value),
"Hashed value should be within BN254 field size"
Expand Down

0 comments on commit 9f4fa22

Please sign in to comment.