These instructions assume that you are running Hermes v1.0.0-rc.2. If you are running an older version, please refer to the upgrading instructions for the older release candidates in reverse chronological order to update to v1.0.0-rc.2 first and then follow these instructions.
This release includes multiple changes related to telemetry:
- Renamed the following metrics:
ibc_client_updatestoclient_updates_submittedibc_client_misbehaviourstoclient_misbehaviours_submittedibc_receive_packetstoreceive_packets_confirmedibc_acknowledgment_packetstoacknowledgment_packets_confirmedibc_timeout_packetstotimeout_packets_confirmedcache_hitstoqueries_cache_hitsmsg_numtototal_messages_submittedsend_packet_counttosend_packet_eventsacknowledgement_counttoacknowledgement_eventscleared_send_packet_counttocleared_send_packet_eventscleared_acknowledgment_counttocleared_acknowledgment_events
- Added the following metric:
timeout_events
For more details, please check out the new section that was added to guide, which describes how the new metrics can be used to observe both the current state of the relayer and the networks it is connected to.
This release is backward compatible with Hermes v1.0.0-rc.1 🎉
These instructions assume that you are running Hermes v1.0.0-rc.0. If you are running an older version, please refer the corresponding in reverse chronological order to update to v1.0.0-rc.0 first and then follow these instructions.
The default value of the configuration tx_confirmation
in Hermes config.toml has been changed from true to false.
If you previously did not specify a value for this setting, you will
have to set tx_confirmation = true in config.toml under
the [mode.packets] section.
The raw prefix was removed from all the commands listed below,
they are now available directly under the tx namespace:
hermes tx chan-close-confirmhermes tx chan-close-inithermes tx chan-open-ackhermes tx chan-open-confirmhermes tx chan-open-inithermes tx chan-open-tryhermes tx conn-ackhermes tx conn-confirmhermes tx conn-inithermes tx conn-tryhermes tx create-clienthermes tx ft-transferhermes tx packet-ackhermes tx packet-recvhermes tx update-clienthermes tx upgrade-chainhermes tx upgrade-clienthermes tx upgrade-clients
All commands under the tx namespace, with the exception of tx upgrade-chain, now use
--src- and --dst prefix for flags names instead of --a- and --b-.
The tx upgrade-chain command now uses --reference- and --host- prefixes.
Please check the commands help or ADR 010 for the full updated list of commands.
These instructions assume that you are running Hermes v0.15.0. If you are running an older version, please refer the corresponding in reverse chronological order to update to v0.15.0 first and then follow these instructions.
From this version forward, all Hermes commands now use flags exclusively instead of positional arguments.
For example, in version 0.15.0 the create client command would be invoked
as follows to create a client on host chain ibc-0 which tracks reference chain ibc-1:
$ hermes create client ibc-0 ibc-1
As of version 1.0.0-rc.0, the command must now be invoked as follows, using flags instead of positional arguments:
$ hermes create client --host-chain ibc-0 --reference-chain ibc-1
Please consult the ADR which describes the new CLI flags for all commands.
The keys restore command has been merged into the existing keys add command.
Restoring a key now takes a file containing the mnemonic as input instead of directly taking the mnemonic.
Additionally, the flag to specify the key name for the CLI command keys add has been changed from --nname to --key-name.
As of version 1.0.0-rc.0, one must use the keys add command as follows in order
to restore a key from a mnemonic file instead of the keys restore command:
$ hermes keys add -chain <CHAIN_ID> --mnemonic-file <MNEMONIC_FILE>
The gas_adjustment setting has been deprecated in favor of new gas_multiplier setting.
If you were using the gas_adjustment setting, please remove it from the
chain configurations and use the gas_multiplier setting instead.
Whereas the gas_adjustment setting would specify a percentage by which to increase
the estimated gas amount before broadcasting a transaction (eg. a value of 0.1
would increase the gas by 10%), the gas_multiplier simply specifies by
which amount to multiply the estimated gas before sending a transaction.
For example, if the chain configuration used gas_adjustment = 0.1 to increase
the estimated gas amount by 10%, you must now use gas_multiplier = 1.1.
The query packet unreceived-packets has been renamed to query packet pending-sends to better
reflect its behavior.
The query packet unreceived-acks has been renamed to query packet pending-acks for consistency.
No breaking changes from v0.14.1.
No breaking changes from v0.14.0.
This release notably features a new query packet pending command to
list outstanding packet commitments that are either unreceived or pending
acknowledgement at both ends of a channel.
The create channel command now requires an existing client and connection,
unless the --new-client-connection flag is provided.
Please refer to the guide for more information.
Please refer to the CHANGELOG for older versions.