Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return Option in more places #147

Merged
merged 82 commits into from
Oct 18, 2024
Merged

Return Option in more places #147

merged 82 commits into from
Oct 18, 2024

Conversation

dvdplm
Copy link
Contributor

@dvdplm dvdplm commented Sep 12, 2024

Sorting out some places where we unwrap.

Partially fixes #76

Builds upon #120, hence the noise and why it's kept as draft.

dvdplm added 30 commits May 21, 2024 09:43
 (blanket impl is enough).
 Move the from_xoff impl to a new `misc` module.
 Revert the `bound_bits` arg to be usize
Impl ToMod for some U<…> (512-4096)
Adding the from_xoff code to a `misc` module
Dummy impl of HasWide for U8192
Cleanup and low-hanging fruit
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 90.38462% with 5 lines in your changes missing coverage. Please review.

Project coverage is 93.14%. Comparing base (9e24b37) to head (da35145).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
synedrion/src/cggmp21/protocols/presigning.rs 70.58% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
- Coverage   93.16%   93.14%   -0.02%     
==========================================
  Files          43       43              
  Lines        8101     8113      +12     
==========================================
+ Hits         7547     7557      +10     
- Misses        554      556       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dvdplm dvdplm marked this pull request as ready for review September 24, 2024 11:45
@dvdplm dvdplm self-assigned this Oct 15, 2024
@fjarri fjarri force-pushed the dp-error-handling branch from 70b072d to 0b03b43 Compare October 18, 2024 00:19
@fjarri fjarri merged commit 9f4a687 into master Oct 18, 2024
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
@fjarri fjarri deleted the dp-error-handling branch October 18, 2024 00:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle .unwrap()s gracefully
2 participants