Skip to content

Adding signature safety margin on DKG result#1603

Merged
pdyraga merged 8 commits intomasterfrom
minimal-number-of-supporting-signatures
Apr 17, 2020
Merged

Adding signature safety margin on DKG result#1603
pdyraga merged 8 commits intomasterfrom
minimal-number-of-supporting-signatures

Conversation

@dimpar
Copy link
Copy Markdown
Contributor

@dimpar dimpar commented Apr 14, 2020

Close #1585

In this PR we are increasing the DKG nofail signature threshold to 75%. It gives us a 25% safety margin for relay entry signing.

@dimpar dimpar changed the title Increasing signatureThreshold by adding a safety margin of 22 members Adding signature safety margin on DKG result Apr 14, 2020
@dimpar dimpar force-pushed the minimal-number-of-supporting-signatures branch from 5dfef4e to c7c1e48 Compare April 16, 2020 18:13
@dimpar dimpar marked this pull request as ready for review April 16, 2020 18:17
pdyraga added 5 commits April 17, 2020 02:31
We do not need more than 5 members in a group there.
We now require 75% of group members to sign the result. It gives us 25%
safety margin for relay entry signing. This test had to be updated with
the new margin values.
It does not make sense to submit result with less signatures than the
on-chain contract expects. And the on-chain contract expects 25% safety
margin.
Mistakenly ommitted in the previous commit.
Chain expects 75% of signatures on DKG result so that we have 25% safety
margin for relay entry signing. It does not make sense to submit result
not having enough signatures. The appropriate change has been applied to
DKG result submitter. Here, we update tests to respect this change.
@pdyraga pdyraga requested review from eth-r and ngrinkevich April 17, 2020 01:41
@pdyraga
Copy link
Copy Markdown
Member

pdyraga commented Apr 17, 2020

@eth-r @ngrinkevich would love to have your 👀 on this one.

Comment thread pkg/beacon/relay/dkg/result/submission.go
@eth-r
Copy link
Copy Markdown
Contributor

eth-r commented Apr 17, 2020

The solidity side looks good to me

@pdyraga
Copy link
Copy Markdown
Member

pdyraga commented Apr 17, 2020

And everything else looks good to me too. Let's merge.

@pdyraga pdyraga merged commit d7dd6f7 into master Apr 17, 2020
@pdyraga pdyraga deleted the minimal-number-of-supporting-signatures branch April 17, 2020 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not publish DKG result with minimal number of supporting signatures

3 participants