-
Notifications
You must be signed in to change notification settings - Fork 15
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(consensus): add locked_value to sm #733
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #733 +/- ##
==========================================
- Coverage 74.18% 8.34% -65.85%
==========================================
Files 359 71 -288
Lines 36240 8690 -27550
Branches 36240 8690 -27550
==========================================
- Hits 26886 725 -26161
- Misses 7220 7929 +709
+ Partials 2134 36 -2098
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
bb3e732
to
f0b06ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 11 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware)
-- commits
line 2 at r1:
Split this into 2 separate PRs please.
Code quote:
- f0b06ce: feat(consensus): add locked_value to sm and valid_round to proposal
f0b06ce
to
0ef6a31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 11 files at r1, 8 of 8 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @asmaastarkware)
crates/sequencing/papyrus_consensus/src/state_machine_test.rs
line 367 at r2 (raw file):
wrapper.send_precommit(None, ROUND); assert_eq!(wrapper.next_event().unwrap(), StateMachineEvent::TimeoutPrecommit(ROUND));
We don't need to send a pure NIL quorum. A mixed quorum is enough.
Suggestion:
assert_eq!(wrapper.next_event().unwrap(), StateMachineEvent::TimeoutPrecommit(ROUND));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @matan-starkware)
crates/sequencing/papyrus_consensus/src/state_machine_test.rs
line 367 at r2 (raw file):
Previously, matan-starkware wrote…
We don't need to send a pure NIL quorum. A mixed quorum is enough.
we want NIL quorum to advance to the next round
0ef6a31
to
ef62f0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @asmaastarkware)
a2a6e97
to
0cb7bd9
Compare
ef62f0b
to
36cff14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @asmaastarkware)
8088364
to
66d8c6a
Compare
36cff14
to
cee7d1d
Compare
cee7d1d
to
593bb05
Compare
This change is