You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Future reminder: When we implement the errors, we definitely should specify in which case we return none.
Also, it could be useful to explain the difference between returning an empty proof or none in the docs.
## Content
The lottery parameters does not check that the computed proof size
`proof_size > lower_bound` or even `proof_size > set_size`.
This PR returns proof_size=lower_bound if the lower bound is lower than
the computed u.
## Pre-submit checklist
- Branch
- [ ] Tests are provided (if possible)
- [x] Commit sequence broadly makes sense
- [x] Key commits have useful messages
- PR
- [x] No clippy warnings in the CI
- [x] Self-reviewed the diff
- [x] Useful pull request description
- [x] Reviewer requested
- Documentation
- [ ] Update README file (if relevant)
- [ ] Update documentation website (if relevant)
## Comments
We will chech that lower_bound < set_size in issue #6
## Issue(s)
<!-- The issue(s) this PR relates to or closes -->
Relates to #104
Implement proper error handling for the necessary cases.
Add error when nf> np
The text was updated successfully, but these errors were encountered: