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

[Consensus] Log warnings if server module is not enabled #679

Merged
merged 4 commits into from
Apr 17, 2023

Conversation

gokutheengineer
Copy link
Contributor

@gokutheengineer gokutheengineer commented Apr 14, 2023

Description

Log a warning if the server module is not enabled rather than an error.

Issue

Type of change

Please mark the relevant option(s):

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Major breaking change
  • Documentation
  • Other

List of changes

  • Update handleStateSyncMessage() to log warnings

Testing

  • make develop_test; if any code changes were made
  • Docker Compose LocalNet; if any major functionality was changed or introduced
  • k8s LocalNet; if any infrastructure or configuration changes were made

Required Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added, or updated, godoc format comments on touched members (see: tip.golang.org/doc/comment)
  • I have tested my changes using the available tooling
  • I have updated the corresponding CHANGELOG

If Applicable Checklist

  • I have updated the corresponding README(s); local and/or global
  • I have added tests that prove my fix is effective or that my feature works
  • I have added, or updated, mermaid.js diagrams in the corresponding README(s)
  • I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@reviewpad reviewpad bot added the small label Apr 14, 2023
@gokutheengineer gokutheengineer changed the title fix consensus/ log warnings not errors Apr 14, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

The changelog validation failed with the following output:
Latest version in consensus/doc/CHANGELOG.md is incorrect.
Latest: [0.0.0.44], Previous: [0.0.0.46]

Changelog verification failed. See error messages for more detail.

Please update the relevant CHANGELOG.md files and ensure they follow the correct format.

@gokutheengineer gokutheengineer self-assigned this Apr 14, 2023
@gokutheengineer gokutheengineer changed the title consensus/ log warnings not errors [Consensus] Log warnings if server module is not enabled Apr 14, 2023
@github-actions github-actions bot dismissed their stale review April 14, 2023 13:55

The check succeeded, dismissing the review comment.

@gokutheengineer gokutheengineer marked this pull request as ready for review April 14, 2023 13:56
@gokutheengineer gokutheengineer merged commit a7fd2a6 into main Apr 17, 2023
bryanchriswhite added a commit that referenced this pull request Apr 17, 2023
…p-modules

* pokt/main:
  [Consensus] Log warnings if server module is not enabled (#679)
bryanchriswhite added a commit that referenced this pull request Apr 17, 2023
* refactor/consolidate-p2p-modules:
  chore: update changelog
  switch to new dns introduced with helm charts
  [Consensus] Log warnings if server module is not enabled (#679)
  chore: update changelog
  add generated helm docs
  chore: update validator chart P2P hostname config
  chore: remove `use_libp2p` from validator chart
  [Peristence] Fix `TxIndexer` to index sender and recipient transactions with height and index suffixes (#677)
  Update e2e/docs/CHANGELOG.md (#681)
  Update devlog5.md (#672)
  [Infra] validator helm chart for LocalNet (#658)
  Update issue.md
bryanchriswhite added a commit that referenced this pull request Apr 17, 2023
* refactor/consolidate-p2p-modules:
  chore: update changelog
  switch to new dns introduced with helm charts
  [Consensus] Log warnings if server module is not enabled (#679)
  chore: update changelog
  add generated helm docs
  chore: update validator chart P2P hostname config
  chore: remove `use_libp2p` from validator chart
  [Peristence] Fix `TxIndexer` to index sender and recipient transactions with height and index suffixes (#677)
  Update e2e/docs/CHANGELOG.md (#681)
  Update devlog5.md (#672)
  [Infra] validator helm chart for LocalNet (#658)
  Update issue.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants