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

Clarify missing messages are Fork Choice #8441

Merged
merged 3 commits into from
Mar 31, 2025
Merged

Clarify missing messages are Fork Choice #8441

merged 3 commits into from
Mar 31, 2025

Conversation

benaadams
Copy link
Member

Contributes to #7575

Changes

  • Clarify that the missing messages are ForkChoice, as may be receiving blocks, which makes this message confusingly ambiguous

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)

Testing

Requires testing

  • No

@benaadams benaadams changed the title Messages Clarify missing messages are Fork Choice Mar 29, 2025
@benaadams benaadams requested a review from Copilot March 29, 2025 22:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates a health check log message to clarify that missing messages are related to ForkChoice rather than generic messages from the consensus client.

  • Updated log message wording for clarity.
  • Improved alignment with domain terminology regarding block sync.
Comments suppressed due to low confidence (1)

src/Nethermind/Nethermind.HealthChecks/HealthChecksPlugin.cs:215

  • [nitpick] Consider using the term 'ForkChoice' without a space to better match domain terminology, and change 'which' to 'that' for improved clarity.
_logger.Warn("Not receiving Fork Choices from the consensus client which are required to sync.");

@benaadams benaadams requested a review from Copilot March 29, 2025 22:25
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to clarify the ambiguity in the health check warning message by specifying that the missing messages are ForkChoices.

  • Updated the logger warning message to specify "ForkChoices" instead of a generic message.

@benaadams benaadams merged commit f16ebbc into master Mar 31, 2025
80 checks passed
@benaadams benaadams deleted the messages branch March 31, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants