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

tbls: cleanup to remove verifiers #611

Merged
merged 2 commits into from
May 25, 2022
Merged

tbls: cleanup to remove verifiers #611

merged 2 commits into from
May 25, 2022

Conversation

dB2510
Copy link
Contributor

@dB2510 dB2510 commented May 25, 2022

Remaining cleanup to replace verifiers with public shares based on the comments on #604

category: refactor
ticket: none

@codecov
Copy link

codecov bot commented May 25, 2022

Codecov Report

Merging #611 (9e75526) into main (27414e7) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #611      +/-   ##
==========================================
+ Coverage   56.39%   56.40%   +0.01%     
==========================================
  Files          96       96              
  Lines        9106     9105       -1     
==========================================
+ Hits         5135     5136       +1     
+ Misses       3234     3232       -2     
  Partials      737      737              
Impacted Files Coverage Δ
cluster/distvalidator.go 70.00% <ø> (+17.61%) ⬆️
tbls/tss.go 50.59% <ø> (ø)
dkg/keycast.go 66.89% <100.00%> (ø)
core/qbft/qbft.go 82.13% <0.00%> (-0.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27414e7...9e75526. Read the comment docs.

Copy link
Contributor

@xenowits xenowits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now!

@@ -51,7 +51,7 @@ The `cluster-lock.json` has the following schema:
"distributed_validators": [ // Length equaled to num_validators.
{
"distributed_public_key": "0x123..abfc", // DV root pubkey
"threshold_verifiers": [ "oA8Z...2XyT", "g1q...icu"], // length of threshold
"public_shares": [ "oA8Z...2XyT", "g1q...icu"], // length of threshold
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not length of threshold anymore, instead equal to length of num_operators

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, fix comment on line 51: // Length equal to num_validators

@dB2510 dB2510 added the merge when ready Indicates bulldozer bot may merge when all checks pass label May 25, 2022
@obol-bulldozer obol-bulldozer bot merged commit 6b16692 into main May 25, 2022
@obol-bulldozer obol-bulldozer bot deleted the dhruv/refactortbls branch May 25, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants