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

fix: document consensus #4270

Merged
merged 1 commit into from
Feb 8, 2024
Merged

fix: document consensus #4270

merged 1 commit into from
Feb 8, 2024

Conversation

joschisan
Copy link
Contributor

No description provided.

@joschisan joschisan requested a review from a team as a code owner February 8, 2024 11:09
Copy link

codecov bot commented Feb 8, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (7245b06) 58.06% compared to head (0591d65) 58.04%.
Report is 12 commits behind head on master.

Files Patch % Lines
fedimint-server/src/consensus/server.rs 62.50% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4270      +/-   ##
==========================================
- Coverage   58.06%   58.04%   -0.03%     
==========================================
  Files         197      197              
  Lines       43700    43704       +4     
==========================================
- Hits        25376    25366      -10     
- Misses      18324    18338      +14     

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

let (processed, unprocessed) = signed_session_outcome
.session_outcome
.items
.split_at(pending_accepted_items.len());

assert!(processed.iter().eq(pending_accepted_items.iter()));
Copy link
Contributor

Choose a reason for hiding this comment

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

I think a message in that assert (that gets shown in the panic if it fails) would also be nice

@justinmoon
Copy link
Contributor

I took one note in our call today that complete_signed_session_outcome could use a doc string

@dpc dpc added this pull request to the merge queue Feb 8, 2024
Merged via the queue into fedimint:master with commit 776c7b0 Feb 8, 2024
24 checks passed
@joschisan joschisan deleted the comments branch April 20, 2024 07:59
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

4 participants