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

Set CompatMode fallback to v0.34 when the version query fails #3663

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

ljoss17
Copy link
Contributor

@ljoss17 ljoss17 commented Oct 18, 2023

Closes: #3666

Description

The node information is retrieved with the /status query and the version is used to define the CompatMode. If the version retrieved by the query isn't v0.34 or v0.37, the previous fallback value was v0.37.

This PR update the fallback value to v0.34 in order to allow relaying for chains such as Celestia.
This is temporary as there will be a new configuration to specify the CompatMode version #3623


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

@ljoss17 ljoss17 requested a review from romac October 18, 2023 16:06
Signed-off-by: Romain Ruetschi <github@romac.me>
@romac romac merged commit 7bce263 into master Oct 19, 2023
@romac romac deleted the luca_joss/set-default-compat-mode-34 branch October 19, 2023 07:45
@rootulp
Copy link
Contributor

rootulp commented Oct 20, 2023

Thanks for this @ljoss17 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change fallback compat version of CometBFT from v0.37 to v0.34
3 participants