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/signers get round info and use it to determine if a vote has failed #4569

Merged
merged 3 commits into from Apr 2, 2024

Conversation

jferrant
Copy link
Collaborator

Trigger a new DKG vote if a vote round has failed based on threshold being exceeded in the contract. Still need some sort of timeout logic in place for signers but this is a bigger question as we still haven't figure dout timeout logic for the coordinator itself.

Closes: #4419

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 86.50794% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 82.43%. Comparing base (284945b) to head (b3f503d).
Report is 187 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #4569      +/-   ##
==========================================
- Coverage   83.36%   82.43%   -0.94%     
==========================================
  Files         456      470      +14     
  Lines      330480   332245    +1765     
  Branches      323      317       -6     
==========================================
- Hits       275513   273871    -1642     
- Misses      54959    58366    +3407     
  Partials        8        8              
Files Coverage Δ
stacks-signer/src/client/mod.rs 98.92% <100.00%> (-0.23%) ⬇️
stacks-signer/src/client/stacks_client.rs 85.92% <100.00%> (-1.50%) ⬇️
stacks-signer/src/signer.rs 71.13% <62.22%> (-1.37%) ⬇️

... and 368 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

…rent vote weight consumed

Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
…if it has

Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
@jferrant jferrant force-pushed the feat/signers-get-round-info branch from eae2f6e to ec500ba Compare March 21, 2024 16:06
obycode
obycode previously approved these changes Mar 26, 2024
Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

This looks good to me.

stacks-signer/src/signer.rs Outdated Show resolved Hide resolved
hstove
hstove previously approved these changes Mar 27, 2024
Copy link
Contributor

@hstove hstove left a comment

Choose a reason for hiding this comment

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

LGTM! Just a wording suggestion

stacks-signer/src/client/stacks_client.rs Show resolved Hide resolved
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
@jferrant jferrant dismissed stale reviews from hstove and obycode via b3f503d March 28, 2024 12:53
@jferrant jferrant requested review from hstove and obycode March 28, 2024 12:54
@jferrant jferrant added this pull request to the merge queue Apr 2, 2024
Merged via the queue into next with commit e797c04 Apr 2, 2024
93 checks passed
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.

None yet

5 participants