-
Notifications
You must be signed in to change notification settings - Fork 26
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 metric for sync in consensus and update the simulation script #490
feat(consensus): add metric for sync in consensus and update the simulation script #490
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #490 +/- ##
==========================================
+ Coverage 76.66% 76.71% +0.04%
==========================================
Files 348 348
Lines 36345 36366 +21
Branches 36345 36366 +21
==========================================
+ Hits 27863 27897 +34
+ Misses 6160 6147 -13
Partials 2322 2322 ☔ View full report in Codecov by Sentry. |
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 5 of 5 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @matan-starkware)
crates/sequencing/papyrus_consensus/src/manager.rs
line 71 at r1 (raw file):
current_height = current_height.unchecked_next(); }, sync_height = sync_height(current_height, &mut sync_receiver) => {
I think this will set the count to 1, not increment it by one, is it your intention?
29733c5
to
cdcd9f8
Compare
9edafbe
to
b9e1a5e
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: all files reviewed, 1 unresolved discussion (waiting on @asmaastarkware and @DvirYo-starkware)
crates/sequencing/papyrus_consensus/src/manager.rs
line 71 at r1 (raw file):
Previously, DvirYo-starkware wrote…
I think this will set the count to 1, not increment it by one, is it your intention?
Not my intention. I ran simulations where the counter seems to increase as expected (it definitely was above 1).
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 all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @DvirYo-starkware)
Previously, matan-starkware wrote…
consider using |
cdcd9f8
to
c45b4e5
Compare
b9e1a5e
to
2db1588
Compare
2db1588
to
0c2254f
Compare
0c2254f
to
c1d9ec6
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: all files reviewed, 1 unresolved discussion (waiting on @DvirYo-starkware)
crates/sequencing/papyrus_consensus/src/manager.rs
line 71 at r1 (raw file):
Previously, DvirYo-starkware wrote…
consider using
increment_counter!
instead
Done.
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 r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)
Merge activity
|
This change is