-
Notifications
You must be signed in to change notification settings - Fork 3.9k
randomness #2: real dkg from randomnet #12127
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
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #12127 +/- ##
=========================================
- Coverage 70.2% 69.9% -0.4%
=========================================
Files 2231 2234 +3
Lines 419874 420434 +560
=========================================
- Hits 295085 294009 -1076
- Misses 124789 126425 +1636 ☔ View full report in Codecov by Sentry. |
| let dkg_rounding = | ||
| DKGRounding::new(&validator_stakes, SECRECY_THRESHOLD, RECONSTRUCT_THRESHOLD); | ||
|
|
||
| println!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move some parts to other places so we can properly add logs / alert.
| Ok((sk, pk)) | ||
| } | ||
|
|
||
| fn reconstruct_secret_from_shares( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should only be used for testing?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
| } | ||
|
|
||
| #[derive(Debug)] | ||
| pub struct RealDKG {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not call it RealDKG, how about wDKG or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will rename later!
Description
Test Plan