-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
I do not have exact inputs, but overall the number of panics I was getting from this library is concerning, there is too many .unwrap()s without proofs.
Here is one that user caught:
Dec 06 07:10:36 alpha bash[111042]: thread 'tokio-runtime-worker' panicked at /root/.cargo/git/checkouts/rust-kzg-b3b2ba43d312a1eb/6c8fcc6/blst/src/recovery.rs:106:79:
Dec 06 07:10:36 alpha bash[111042]: called `Result::unwrap()` on an `Err` value: "A list with power-of-two length expected"
Consider replacing countless .unwrap() with .expect() that have proofs and add fuzzing to catch panics like this.
Metadata
Metadata
Assignees
Labels
No labels