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

feat: add DKG verification window #1317

Merged
merged 122 commits into from
Feb 7, 2025
Merged

feat: add DKG verification window #1317

merged 122 commits into from
Feb 7, 2025

Conversation

matteojug
Copy link
Collaborator

@matteojug matteojug commented Feb 6, 2025

Description

Part of #1300

Changes

Add dkg_verification_window, after which the signer mark the unverified dkg as failed. Also exclude failed shares from get_encrypted_dkg_shares_count.

Testing Information

Add a test to check that the shares are marked as failed and excluded from the count.

Checklist:

  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Base automatically changed from 1313-validate-rotate-keys-contract-calls-with-validated-shares to feat/mock-signing February 7, 2025 09:10
Copy link
Member

@cylewitruk cylewitruk left a comment

Choose a reason for hiding this comment

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

LGTM 👍

signer/src/storage/mod.rs Outdated Show resolved Hide resolved
signer/src/storage/postgres.rs Outdated Show resolved Hide resolved
@djordon djordon added this to the sBTC: Deposits milestone Feb 7, 2025
@matteojug matteojug changed the base branch from feat/mock-signing to main February 7, 2025 21:17
@matteojug matteojug merged commit 3564b70 into main Feb 7, 2025
8 checks passed
@matteojug matteojug deleted the feat/dkg-validity-window branch February 7, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants