-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
This is a regression introduced in #302.
The following code
let secrets_len = 15;
let (s1, s2, s3) = generate_trusted_setup(secrets_len, [0; 32]);
panics due to
thread 'commitment::tests::test_prove' panicked at /home/marcin/.cargo/git/checkouts/rust-kzg-f9d605f513aae74b/21670cd/blst/src/utils.rs:34:66:
called `Result::unwrap()` on an `Err` value: "Supplied list is longer than the available max width"```
You likely need to use the ceiling of the log, because the tests succeeds with secrets_len = 16
Metadata
Metadata
Assignees
Labels
No labels