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

go/keymanager/churp: Allow nodes to confirm handoff completion #5628

Merged
merged 11 commits into from
Apr 5, 2024

Conversation

peternose
Copy link
Contributor

No description provided.

Adds the checksum of the last verification matrix to the churp
status and reorders some fields. The checksum is needed so that
the new nodes can verify switch points in handoffs.
Copy link

netlify bot commented Apr 5, 2024

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit 7d649f9
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/660ff985e0c29c00082a7b03

@peternose peternose force-pushed the peternose/feature/churp-confirm branch from 46bc9d8 to 3f71e2a Compare April 5, 2024 06:31
@peternose peternose force-pushed the peternose/feature/churp-confirm branch from 3f71e2a to 9cd8840 Compare April 5, 2024 07:04
go/keymanager/churp/status.go Show resolved Hide resolved
go/consensus/cometbft/apps/keymanager/churp/txs.go Outdated Show resolved Hide resolved
go/consensus/cometbft/apps/keymanager/churp/txs.go Outdated Show resolved Hide resolved
secret-sharing/src/vss/scalar.rs Outdated Show resolved Hide resolved
secret-sharing/src/churp/player.rs Outdated Show resolved Hide resolved
Copy link

codecov bot commented Apr 5, 2024

Codecov Report

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

Project coverage is 65.29%. Comparing base (7fdb248) to head (7d649f9).
Report is 1 commits behind head on master.

Files Patch % Lines
go/consensus/cometbft/apps/keymanager/churp/txs.go 65.90% 26 Missing and 19 partials ⚠️
.../consensus/cometbft/apps/keymanager/secrets/txs.go 33.33% 7 Missing and 7 partials ⚠️
go/consensus/cometbft/apps/keymanager/churp/ext.go 0.00% 5 Missing ⚠️
...bft/apps/keymanager/churp/state/interop/interop.go 0.00% 5 Missing ⚠️
go/keymanager/churp/api.go 0.00% 2 Missing ⚠️
.../consensus/cometbft/apps/keymanager/churp/epoch.go 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5628      +/-   ##
==========================================
- Coverage   65.34%   65.29%   -0.05%     
==========================================
  Files         593      593              
  Lines       60844    60952     +108     
==========================================
+ Hits        39758    39799      +41     
- Misses      16404    16463      +59     
- Partials     4682     4690       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@peternose peternose force-pushed the peternose/feature/churp-confirm branch from 9cd8840 to 1706d0d Compare April 5, 2024 13:14
Finalize handoffs at the end of an epoch if a threshold number
of applicants (plus a few extra) have confirmed the secret share
reconstruction.
@peternose peternose force-pushed the peternose/feature/churp-confirm branch from 1706d0d to 7d649f9 Compare April 5, 2024 13:15
@peternose peternose merged commit a16fc33 into master Apr 5, 2024
3 of 7 checks passed
@peternose peternose deleted the peternose/feature/churp-confirm branch April 5, 2024 14:54
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.

2 participants