-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Move Gossip values added for wen_retart into restart_crds_values. #34128
Move Gossip values added for wen_retart into restart_crds_values. #34128
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #34128 +/- ##
==========================================
Coverage 81.8% 81.9%
==========================================
Files 766 819 +53
Lines 209158 220019 +10861
==========================================
+ Hits 171210 180281 +9071
- Misses 37948 39738 +1790 |
gossip/src/wen_restart_values.rs
Outdated
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.
Can we name this file restart_crds_values.rs
?
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.
Done.
gossip/src/wen_restart_values.rs
Outdated
LastVotedForkEmpty, | ||
} | ||
|
||
impl RestartLastVotedForkSlots { |
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.
Can you please move all enum/struct
type definitions first in the file, and then followed by impl
?
Also please put more prominent types first, then the inner/private types; e.g. RestartLastVotedForkSlots
should go first.
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.
Done.
Problem
Group Gossip values added for wen_restart into one single file.
Summary of Changes
Move RestartLastVotedForkSlots into wen_restart_values