-
Notifications
You must be signed in to change notification settings - Fork 332
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
Use CometBFT 0.37 compatibility mode for unsupported Tendermint versions (eg. Tendermint 0.35 and 0.36) #3404
Conversation
Hey. This is their diff: sei-protocol/sei-tendermint@46d0a59...v0.2.21 Not sure which version they forked from. Update:
|
Just to be clear, your concern is that this branch of Hermes doesn't work with Sei's forked version of Tendermint, right? It's not to do with whether this branch is able to relay to/from Sei chains. |
Yes. Built Hermes from |
* Add mechanism to remove idle workers * Add integration test for worker cleanup mechanism * Add idle channel worker integration test * Fix CI job * Improve worker cleanup test logs. Add changelog entry * Update crates/relayer/src/worker/handle.rs Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Update crates/relayer/src/worker/map.rs Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Update crates/relayer/src/worker/map.rs Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Apply github suggestions and fix error * Reduce idle worker cleanup frequency * Increase time between idle worker cleanup checks * Use CometBFT 0.37 compatibility mode for unsupported Tendermint versions (eg. Tendermint 0.35 and 0.36) (#3404) * Use CompatMode::V0_34 when unsupported Tendermint version is detected * Use CompatMode::V0_37 when unsupported Tendermint version is detected * Fix warning when using fallback v0.37 CompatMode for Tendermint * Fix typo Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> --------- Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Luca Joss <luca@informal.systems> Co-authored-by: Romain Ruetschi <romain@informal.systems> * Small cleanup * Fix issue which spawned 2 supervisors in clean_workers tests * Remove assert which can cause 'test_clean_channel_workers' to fail wrongly * Update .changelog/unreleased/improvements/ibc-relayer/10-cleanup-idle-workers.md Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> --------- Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Sean Chen <seanchen11235@gmail.com>
…bled and `clear_on_start = false` (#3365) * Only scan chains if 'clear_on_start=true' * Add supervisor tests when scanning is enabled and disabled * Add fees to ibc-transfer, required by Osmosis * Improve supervisor tests with and without chain scan * Add packet clearing test when scan is disabled * Fix clearing without scan test * Only scan when clear_on_start option is enabled, or client refresh or misbehavior workers are enabled, or the --full-scan argument is enabled * Update no scan tests * Disable channel and connection workers as well * Add mechanism to remove idle workers (#3370) * Add mechanism to remove idle workers * Add integration test for worker cleanup mechanism * Add idle channel worker integration test * Fix CI job * Improve worker cleanup test logs. Add changelog entry * Update crates/relayer/src/worker/handle.rs Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Update crates/relayer/src/worker/map.rs Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Update crates/relayer/src/worker/map.rs Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Apply github suggestions and fix error * Reduce idle worker cleanup frequency * Increase time between idle worker cleanup checks * Use CometBFT 0.37 compatibility mode for unsupported Tendermint versions (eg. Tendermint 0.35 and 0.36) (#3404) * Use CompatMode::V0_34 when unsupported Tendermint version is detected * Use CompatMode::V0_37 when unsupported Tendermint version is detected * Fix warning when using fallback v0.37 CompatMode for Tendermint * Fix typo * Small cleanup * Fix issue which spawned 2 supervisors in clean_workers tests * Remove assert which can cause 'test_clean_channel_workers' to fail wrongly * Update .changelog/unreleased/improvements/ibc-relayer/10-cleanup-idle-workers.md * Add documentation on no scan startup * Add changelog entry --------- Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Sean Chen <seasn@informal.systems> Co-authored-by: Luca Joss <luca@informal.systems>
@epanchee Can you please re-run Hermes with the flag This will output the JSON-RPC response that failed to parse right before the error. Can you then paste this here in this thread? |
@romac I ran with
Switching to private Astroport infra solved this issue. |
No worries! |
Closes: #XXX
Description
Downgrades the Tendermint version check to a warning instead of an error.
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.