Releases: informalsystems/hermes
v1.10.5
December 13rd, 2024
This release addresses an issue with pull-mode event collection. The functionality has been enhanced to accurately retrieve events from finalized_block_events
, ensuring more reliable event processing.
IMPROVEMENTS
- Relayer Library
- Collect events from
finalized_block_events
when usingpull
mode
(#4263)
- Collect events from
- Integration Test Framework
- Update the version of Juno running the integration tests in the CI from
v24.0.0
tov25.0.0
(#4203)
- Update the version of Juno running the integration tests in the CI from
v1.10.4
November 19th, 2024
This release introduces compatibility with the new Consumer ID for Permissionless ICS, improves detection of Tendermint/CometBFT versions for non-standard chains, and enhances IPv6 support for gRPC connections. Log messages have been refined for better clarity, including adjusting redundant packet broadcasts to INFO.
BUG FIXES
FEATURES
- Integration Test Framework
- Disable TLS configuration when using IPv6 for the gRPC endpoint.
(#4224)
- Disable TLS configuration when using IPv6 for the gRPC endpoint.
IMPROVEMENTS
- General
- Improve detection of Tendermint/CometBFT compatibility
mode when a chain runs a non-standard version
(#4178)
- Improve detection of Tendermint/CometBFT compatibility
- Relayer Library
- Integration Test Framework
- Update the versions of the following
simd
running the integration tests in the CI:
-
From
v6.3.0
tov6.3.1
-
From
v7.4.0
tov7.8.0
-
From
v8.3.1
tov8.5.1
-
From
v9.0.0-beta.1
tov9.0.0-rc.0
(#4202)
- Update the version of Gaia running the integration tests in the CI from
v18.1.0
tov20.0.0
(#4204)
- Update the versions of the following
v1.10.3
September 2nd, 2024
This release fixes an issue where Hermes could not connect to gRPC servers over TLS. Additionally, this release also fixes a bug in the clear packet
CLI where the excluded_sequences
configuration option was not always taken into account.
Furthermore, Hermes now uses abci_query
instead of gRPC for some queries, for instance for querying staking parameters and service configuration during health checks, and when retrieving version information.
v1.10.2
August 14th, 2024
This release brings significant performance improvements and introduces a new configuration options for better control over packet clearing. Enhancements include faster startup times through optimized queries and the introduction of a clear_limit
setting for packet clearing. Additionally, bug fixes and updates to the integration test framework ensure greater stability and compatibility across various environments.
BUG FIXES
- Relayer Library
- Fix the
memo_overwrite
configuration to correctly apply the
overwrite if it is configured.
(#4104)
- Fix the
- Telemetry & Metrics
- Fix the
dynamic_gas_queried_success_fees
Prometheus metric name.
(#4104)
- Fix the
IMPROVEMENTS
- Relayer Library
- Add a new configuration
clear_limit
to specify the maximum number
of packets cleared every time packet clearing is triggered.
Defaults to 50.
(#4071) - Paginate results of
query_packet_commitments
andquery_packet_acknowledgements
queries to speed up the scanning phase.
(#4101) - Use the
ibc.core.connection.v1.ConnectionParams
gRPC query to retrievemaxExpectedTimePerBlock
and check it against the configuredmax_block_time
instead of using the/genesis
endpoint.
This improves both startup times and reliability for most chains.
(#4143)
- Add a new configuration
- Integration Test Framework
- Update the version of Gaia running the integration tests in the CI from
v17.2.1
tov18.1.0
(#4114) - Update the version of Provenance running the integration tests in the CI from
v1.17.0
tov1.19.1
(#4115) - Update the version of Osmosis running the integration tests in the CI from
v25.0.0
tov25.2.0
(#4116) - Update the version of Juno running the integration tests in the CI from
v22.0.0
tov23.0.0
(#4117) - Update the version of Migaloo Chain running the integration tests in the CI from
v4.1.3
tov4.2.0
(#4118) - Update the version of
wasmd
running the integration tests in the CI fromv0.51.0
tov0.52.0
(#4120) - Update the version of Stride running the integration tests in the CI from
v21.0.0
tov23.0.1
(#4121) - Update the version of Neutron running the integration tests in the CI from
v3.0.5
tov4.1.0
(#4122)
- Update the version of Gaia running the integration tests in the CI from
v1.10.1
July 23th, 2024
In this release tendermint-rs
has been updated to the latest version, addressing issues with the /block_results
response. This ensures compatibility with CometBFT v0.38.10.
And enhancements have been made to the logs regarding packet clearing, providing better insights and warnings for users.
BREAKING CHANGES
- Bump version of
ibc-proto
fromv0.46.0
tov0.47.0
and
version oftendermint-rs
fromv0.37.0
tov0.38.1
.
(#4093)
IMPROVEMENTS
- Integration Test Framework
- Add the features
packet-forward
andica
to enable
Packet Forward Middleware and ICA when running tests with Osmosis
(#3195)
- Add the features
- Relayer Library
- Improve logs when clearing packet.
- When Hermes doesn't pull packet data it will now warn the user
instead of loggingpulled packet data for 0 events out of X
- When ICS20 packets are filtered due to having a receiver or memo
field too big, the log will be atwarn
level instead ofdebug
.
(#4072)
v1.10.0
June 24th, 2024
This release enhances filter configurations and includes the following updates:
excluded_sequences
supports sequence ranges in addition to exact values, e.g.[1, 2, "5-10", 13]
is now valid and would exclude packet with sequences 1, 2, 5, 6, 7, 8, 9, 10, 13.packet_filter
now ignores unintended whitespace.- A new
allow_ccq
per-chain configuration has been added to skip the relaying of ICS31 Cross Chain Queries.
Additionally, various improvements to testing and bug fixes have been implemented.
-
General
- Fix a bug where in some cases, Hermes would drop all events in a
batch that came after an event rejected by the filtering policy
(#4034)
- Fix a bug where in some cases, Hermes would drop all events in a
-
- Discard CrossChain queries intended for unconfigured chains.
(#4021)
- Discard CrossChain queries intended for unconfigured chains.
-
- Add tests to ensure that Hermes correctly relays transfer messages
from a grantee address with granted authorisation usingauthz
module.
(#4046)
- Add tests to ensure that Hermes correctly relays transfer messages
-
- Add a new per-chain configuration
allow_ccq
to enable or disable
relaying of ICS31 Cross Chain Query packets.
(#4040)
- Add a new per-chain configuration
-
- Update the version of Gaia running the integration tests in the CI from
v15.2.0
tov17.2.0
(#4023) - Update the version of Osmosis running the integration tests in the CI from
v24.0.1
tov25.0.0
(#4024) - Update the version of Juno running the integration tests in the CI from
v21.0.0
tov22.0.0
(#4025) - Update the version of Neutron running the integration tests in the CI from
v3.0.2
tov3.0.5
(#4026) - Update the version of Celestia app running the integration tests in the CI from
v1.4.0
tov1.11.0
(#4027) - Update the version of
wasmd
running the integration tests in the CI fromv0.50.0
tov0.51.0
(#4029) - Reduce run time for ICS29 tests by immediately verifying if either
the legacy fees,recv_fee + ack_fee + timeout_fee
or current
fees,max(recv_fee + ack_fee, timeout_fee)
have been escrowed.
(#4053) - Refactored the test-framework bootstrapping for n-ary chain tests
to utilize the specified topology.
- Currently, only linear, cyclic and fully connected topologies are supported.
(#4038)
- Update the version of Gaia running the integration tests in the CI from
-
- Use custom User-Agent for Hermes queries
(#3979) - Updated the channel and port filter parsing to ignore whitespaces.
This will prevent unintended channel scanning due to accidental
whitespaces when exact matches are specified in thepacket_filter
configuration.
(#4045) - Improve the
excluded_sequences
configuration so that it now accepts
ranges of sequence values in addition to exact values.
Accepted format:
-
Exact sequence, e.g. [1, 2, 3]
-
"-" separator, e.g. ["1-3"]
These can be combined making the following configurations equivalent:
-
excluded_sequences = { 'channel-0' = [1, "3-5", 7, "9-12"] }
-
excluded_sequences = { 'channel-0' = [1, 3, 4, 5, 7, 9, 10, 11, 12] }
(#4047)
- Use custom User-Agent for Hermes queries
v1.9.0
May 30th, 2024
This v1.9.0 release introduces new features and improvements to Hermes.
Major Features:
- Channel Upgrades: Hermes now handles channel upgrade events introduced in ibc-go v8, helping chains opting-in to new functionality on existing channels.
- Dynamic Gas Fees Compatibility: Hermes is now compatible with Skip's
x/feemarket
module for dynamic gas fees, in addition to Osmosis' implementation, providing more flexibility in gas fee management.
Additionally, this release includes various bug fixes enhancing the stability and performance of Hermes. These fixes address issues with channel and connection creation on older ibc-go versions, event extraction, health-check messages, and more.
BREAKING CHANGES
- Telemetry & Metrics
- Remove the
telemetry
andrest-server
feature flags, ensuring Hermes is always built with telemetry and REST support. (#3878)
Both servers can still be disabled in the configuration file, by settingtelemetry.enabled = false
andrest.enabled = false
, respectively.
- Remove the
FEATURES
- Relayer Library
- Add support for upgrading channels, as per the ICS 004 specification (#3228)
This feature allows chains to upgrade an existing channel to take advantage of new features without having to create a new channel, thus preserving all existing packet state processed on the channel. For example, a channel could now be upgraded to enable the ICS 029 fee middleware, allowing relayer operators on that channel to receive fees each time they relay an incentivized packet. - Improve reliability of event source in
pull
mode by proceeding to next block even if Hermes cannot parse the current block (#3894)
Add new configuration option toevent_source
setting:max_retries
defines how many times Hermes should attempt to pull a block over RPC.event_source = { mode = 'pull', interval = '1s', max_retries = 4 }
- Add support for upgrading channels, as per the ICS 004 specification (#3228)
IMPROVEMENTS
- Integration Test Framework
- Update the version of Juno running the integration tests in the CI from
v17.1.1
tov21.0.0
(#3959) - Update the version of Migaloo Chain running the integration tests in the CI from
v3.0.2
tov4.1.3
(#3960) - Update the version of
wasmd
running the integration tests in the CI fromv0.30.0
tov0.50.0
(#3961) - Update the version of ibc-go simapp running the integration tests in the CI from
v8.2.0
tov8.3.1
(#4009)
- Update the version of Juno running the integration tests in the CI from
- Relayer Library
- Update to tendermint-rs v0.36.0 (#3966)
- Use
packet_ack_hex
event attribute instead of deprecatedpacket_ack
attribute to decodeWriteAck
event (#3921) - Add support for dynamic gas fee for chains using Skip's
x/feemarket
module, while keeping compatibility with Osmosis' bespoke implementation (#4000)
- Relayer CLI
- Use RPC (pull) event source instead of WebSocket (push) when generating configuration with
hermes config auto
(#3913)
- Use RPC (pull) event source instead of WebSocket (push) when generating configuration with
BUG FIXES
v1.8.3
May 28th, 2024
This patch release fixes a bug that may happen prevent the relayer from submitting the evidence for a duplicate vote in some cases.
Bug Fixes
- Relayer CLI
- Fix the trusted height consensus state query when submitting the double vote evidence (#3999)
v1.8.2
March 12th, 2024
This release fixes the two following bugs and improves the connection and channel handshake retry mechanism:
- Fix erroneous warnings for incompatible version of IBC-Go during health checks, ensuring accurate compatibility reporting
- Fix a bug in the
clear packets
command which caused packet clearing to fail with an "counterparty channel not found" error
BUG FIXES
- Correctly use the counterparty channel and port IDs when clearing the packets from the destination chain to the source chain in the
packet clear
command (#3889) - Fix parsing of IBC-Go version in health check and improve health check reporting (#3880)
FEATURES
- Add Injective chain to the chains running the integration tests in the CI (#3887)
IMPROVEMENTS
- Change connection and channel handshake retry strategy to retry at most 10 times (5 times per block max) (#3864)
v1.8.1
March 7th, 2024
This v1.8.1 release brings better reliability when relaying, more enhanced configuration and improved monitoring.
Reliability has been improved:
- It is now possible to relay ICS-04 packets with non-UTF-8 payloads
- Packet sequences are now verified for ordered channels before trying to relay
Additional per-chain configurations have been added:
excluded_sequences
used to skip problematic packets when clearingmemo_overwrite
allowing users to overwrite the relayer memo when chains have a strict limit for the size of the memo.
Monitoring issues improvements:
- A new metric
simulate_errors
which counts the number of failed simulated transactions - Out of gas error diagnostic gives more information and a dedicated entry to the guide has been added
- Failed gas simulation will not be considered as unrecoverable for legacy chains.
- The compatibility check during the health-check has been improved will assess more correctly the versions for Ibc-Go and Cosmos SDK
Special thanks to our contributors for their valuable additions to this release:
- Sergey (@freak12techno) for adding the
simulate_errors
metric (#3845) - Martin Dyring-Andersen (@mdyring) for adding recovery from failed gas simulation for legacy chains (#3792)
BUG FIXES
- Allow relaying ICS-04 packets with non-UTF-8 payloads (#3770)
Hermes does not assume anymore that an ICS-04 packet data is valid UTF-8,
by using thepacket_data_hex
attribute when assembling a packet from events, instead of the deprecatedpacket_data
attribute.
Relying on thepacket_data
attribute enforces a UTF-8 encoded payload (eg. JSON), disallowing eg. Protobuf-encoded payloads.
Thepacket_data
attribute has been deprecated in favor ofpacket_data_hex
since IBC-Go v1.0.0. - Improve reliability of compatibility check and fix parsing of expected modules versions (#3831)
FEATURES
- Add a per-chain configuration
excluded_sequences
allowing users to specify a list of packet sequences which will not be cleared.
This configuration has no impact on standard packet relaying. (#3754) - Add a per-chain configuration
memo_overwrite
allowing users to overwrite the relayer memo used for each transaction (#3811) - Added a new Prometheus metric
simulate_errors
for tracking when a transaction simulation fails, with the following labels: (#3845)-
recoverable
(can the execution continue if this happened?) -
account
(account from which the tx was sent) -
error_description
(description of the error)# HELP simulate_errors_total Number of errors observed by Hermes when simulating a Tx # TYPE simulate_errors_total counter simulate_errors_total{account="osmo17ndx5qfku28ymxgmq6zq4a6d02dvpfjjul0hyh",error_description="Unknown error",recoverable="false",service_name="unknown_service",otel_scope_name="hermes",otel_scope_version=""} 4
-
IMPROVEMENTS
- Use the consensus state at client latest height in status CLI (#3814)
- Add syncing check for gRPC node (#3814)
- Improve the log diagnostic when an out of gas error is thrown. A new entry related to gas error has been added to the Hermes guide. (#3530)
- Improve resilience when relaying on ordered channels.
When relaying packets on an ordered channel, Hermes will now attempt to detect whether the next message to send has the sequence number expected on that channel. If there is a mismatch, then Hermes will trigger a packet clear on the channel to unblock it before resuming operations on that channel. (#3540) - Recover from gas simulation failures on legacy chains. (#3792)