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

Move Gossip values added for wen_retart into restart_crds_values. #34128

Merged

Conversation

wen-coding
Copy link
Contributor

Problem

Group Gossip values added for wen_restart into one single file.

Summary of Changes

Move RestartLastVotedForkSlots into wen_restart_values

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #34128 (6fcbae6) into master (6c62ad7) will increase coverage by 0.0%.
Report is 1374 commits behind head on master.
The diff coverage is 90.9%.

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     

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

LastVotedForkEmpty,
}

impl RestartLastVotedForkSlots {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

behzadnouri
behzadnouri previously approved these changes Nov 17, 2023
behzadnouri
behzadnouri previously approved these changes Nov 17, 2023
@wen-coding wen-coding changed the title Move Gossip values added for wen_retart into wen_restart_values. Move Gossip values added for wen_retart into restart_crds_values. Nov 17, 2023
@wen-coding wen-coding merged commit ae4b62c into solana-labs:master Nov 17, 2023
32 checks passed
@wen-coding wen-coding deleted the move_wen_restart_gossip_values branch November 17, 2023 18:13
@wen-coding wen-coding self-assigned this Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants