diff --git a/.changelog/unreleased/breaking-changes/1660-msrv-1.57.md b/.changelog/v0.10.0/breaking-changes/1660-msrv-1.57.md similarity index 100% rename from .changelog/unreleased/breaking-changes/1660-msrv-1.57.md rename to .changelog/v0.10.0/breaking-changes/1660-msrv-1.57.md diff --git a/.changelog/unreleased/breaking-changes/1665-tendermint-0.23.2.md b/.changelog/v0.10.0/breaking-changes/1665-tendermint-0.23.2.md similarity index 100% rename from .changelog/unreleased/breaking-changes/1665-tendermint-0.23.2.md rename to .changelog/v0.10.0/breaking-changes/1665-tendermint-0.23.2.md diff --git a/.changelog/v0.10.0/breaking-changes/ibc-relayer/1656-supervisor-spawn.md b/.changelog/v0.10.0/breaking-changes/ibc-relayer/1656-supervisor-spawn.md new file mode 100644 index 0000000000..aab7c64a3e --- /dev/null +++ b/.changelog/v0.10.0/breaking-changes/ibc-relayer/1656-supervisor-spawn.md @@ -0,0 +1,3 @@ +- Improve spawning of supervisor worker tasks ([#1656](https://github.com/informalsystems/ibc-rs/issues/1656)) + - The `Supervisor` struct is removed. + - Supervisor is now spawned using the `spawn_supervisor` function. diff --git a/.changelog/unreleased/breaking-changes/ibc/1618-get-frozen-height.md b/.changelog/v0.10.0/breaking-changes/ibc/1618-get-frozen-height.md similarity index 100% rename from .changelog/unreleased/breaking-changes/ibc/1618-get-frozen-height.md rename to .changelog/v0.10.0/breaking-changes/ibc/1618-get-frozen-height.md diff --git a/.changelog/unreleased/breaking-changes/ibc/1665-remove-chrono.md b/.changelog/v0.10.0/breaking-changes/ibc/1665-remove-chrono.md similarity index 100% rename from .changelog/unreleased/breaking-changes/ibc/1665-remove-chrono.md rename to .changelog/v0.10.0/breaking-changes/ibc/1665-remove-chrono.md diff --git a/.changelog/unreleased/bug-fixes/1264-recover-acct-seq.md b/.changelog/v0.10.0/bug-fixes/1264-recover-acct-seq.md similarity index 82% rename from .changelog/unreleased/bug-fixes/1264-recover-acct-seq.md rename to .changelog/v0.10.0/bug-fixes/1264-recover-acct-seq.md index 850ce5b86e..6a7bf3d093 100644 --- a/.changelog/unreleased/bug-fixes/1264-recover-acct-seq.md +++ b/.changelog/v0.10.0/bug-fixes/1264-recover-acct-seq.md @@ -1,3 +1,2 @@ - Added a recovery mechanism to automatically retry or drop tx upon account - sequence mismatch errors ([#1264](https://github.com/informalsystems/ibc- - rs/issues/1264)) \ No newline at end of file + sequence mismatch errors ([#1264](https://github.com/informalsystems/ibc-rs/issues/1264)) diff --git a/.changelog/unreleased/bug/1634-update-unclog-instructions.md b/.changelog/v0.10.0/bug-fixes/1634-update-unclog-instructions.md similarity index 100% rename from .changelog/unreleased/bug/1634-update-unclog-instructions.md rename to .changelog/v0.10.0/bug-fixes/1634-update-unclog-instructions.md diff --git a/.changelog/unreleased/bug-fixes/ibc-relayer/1664-handle-expired-client.md b/.changelog/v0.10.0/bug-fixes/ibc-relayer/1664-handle-expired-client.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc-relayer/1664-handle-expired-client.md rename to .changelog/v0.10.0/bug-fixes/ibc-relayer/1664-handle-expired-client.md diff --git a/.changelog/unreleased/bug-fixes/ibc-relayer/1715-execute-schedule-after-packet-cmd.md b/.changelog/v0.10.0/bug-fixes/ibc-relayer/1715-execute-schedule-after-packet-cmd.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc-relayer/1715-execute-schedule-after-packet-cmd.md rename to .changelog/v0.10.0/bug-fixes/ibc-relayer/1715-execute-schedule-after-packet-cmd.md diff --git a/.changelog/unreleased/bug-fixes/ibc-relayer/1750-misbehavior-config.md b/.changelog/v0.10.0/bug-fixes/ibc-relayer/1750-misbehavior-config.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc-relayer/1750-misbehavior-config.md rename to .changelog/v0.10.0/bug-fixes/ibc-relayer/1750-misbehavior-config.md diff --git a/.changelog/unreleased/bug-fixes/ibc/1573-delete-commitment-in-acknowledgePacket.md b/.changelog/v0.10.0/bug-fixes/ibc/1573-delete-commitment-in-acknowledgePacket.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc/1573-delete-commitment-in-acknowledgePacket.md rename to .changelog/v0.10.0/bug-fixes/ibc/1573-delete-commitment-in-acknowledgePacket.md diff --git a/.changelog/unreleased/bug-fixes/ibc/1649-fix-chan-open-ack-verify.md b/.changelog/v0.10.0/bug-fixes/ibc/1649-fix-chan-open-ack-verify.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc/1649-fix-chan-open-ack-verify.md rename to .changelog/v0.10.0/bug-fixes/ibc/1649-fix-chan-open-ack-verify.md diff --git a/.changelog/unreleased/bug-fixes/ibc/1697-assert-non-zero-trust-level.md b/.changelog/v0.10.0/bug-fixes/ibc/1697-assert-non-zero-trust-level.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc/1697-assert-non-zero-trust-level.md rename to .changelog/v0.10.0/bug-fixes/ibc/1697-assert-non-zero-trust-level.md diff --git a/.changelog/unreleased/bug-fixes/ibc/1710-fix-frozen-height-proto-conv.md b/.changelog/v0.10.0/bug-fixes/ibc/1710-fix-frozen-height-proto-conv.md similarity index 100% rename from .changelog/unreleased/bug-fixes/ibc/1710-fix-frozen-height-proto-conv.md rename to .changelog/v0.10.0/bug-fixes/ibc/1710-fix-frozen-height-proto-conv.md diff --git a/.changelog/unreleased/feature/1410-dynamic-version.md b/.changelog/v0.10.0/features/1410-dynamic-version.md similarity index 100% rename from .changelog/unreleased/feature/1410-dynamic-version.md rename to .changelog/v0.10.0/features/1410-dynamic-version.md diff --git a/.changelog/unreleased/features/1550-ci-gaiav6.md b/.changelog/v0.10.0/features/1550-ci-gaiav6.md similarity index 100% rename from .changelog/unreleased/features/1550-ci-gaiav6.md rename to .changelog/v0.10.0/features/1550-ci-gaiav6.md diff --git a/.changelog/unreleased/features/1606.md b/.changelog/v0.10.0/features/1606.md similarity index 100% rename from .changelog/unreleased/features/1606.md rename to .changelog/v0.10.0/features/1606.md diff --git a/.changelog/unreleased/features/1633-allow-fee-granters.md b/.changelog/v0.10.0/features/1633-allow-fee-granters.md similarity index 100% rename from .changelog/unreleased/features/1633-allow-fee-granters.md rename to .changelog/v0.10.0/features/1633-allow-fee-granters.md diff --git a/.changelog/unreleased/features/ibc-relayer/1561-config-proof-specs.md b/.changelog/v0.10.0/features/ibc-relayer/1561-config-proof-specs.md similarity index 100% rename from .changelog/unreleased/features/ibc-relayer/1561-config-proof-specs.md rename to .changelog/v0.10.0/features/ibc-relayer/1561-config-proof-specs.md diff --git a/.changelog/unreleased/features/ibc/1583-module-verification-ICS07.md b/.changelog/v0.10.0/features/ibc/1583-module-verification-ICS07.md similarity index 100% rename from .changelog/unreleased/features/ibc/1583-module-verification-ICS07.md rename to .changelog/v0.10.0/features/ibc/1583-module-verification-ICS07.md diff --git a/.changelog/unreleased/improvements/ibc-relayer-cli/1063-event-monitor-on-demand.md b/.changelog/v0.10.0/improvements/ibc-relayer-cli/1063-event-monitor-on-demand.md similarity index 100% rename from .changelog/unreleased/improvements/ibc-relayer-cli/1063-event-monitor-on-demand.md rename to .changelog/v0.10.0/improvements/ibc-relayer-cli/1063-event-monitor-on-demand.md diff --git a/.changelog/unreleased/improvements/ibc-relayer-cli/1636.md b/.changelog/v0.10.0/improvements/ibc-relayer-cli/1636.md similarity index 100% rename from .changelog/unreleased/improvements/ibc-relayer-cli/1636.md rename to .changelog/v0.10.0/improvements/ibc-relayer-cli/1636.md diff --git a/.changelog/unreleased/improvements/ibc-relayer/1576-update-abscissa.md b/.changelog/v0.10.0/improvements/ibc-relayer/1576-update-abscissa.md similarity index 100% rename from .changelog/unreleased/improvements/ibc-relayer/1576-update-abscissa.md rename to .changelog/v0.10.0/improvements/ibc-relayer/1576-update-abscissa.md diff --git a/.changelog/unreleased/improvements/ibc/1665-remove-chrono.md b/.changelog/v0.10.0/improvements/ibc/1665-remove-chrono.md similarity index 100% rename from .changelog/unreleased/improvements/ibc/1665-remove-chrono.md rename to .changelog/v0.10.0/improvements/ibc/1665-remove-chrono.md diff --git a/.changelog/v0.10.0/summary.md b/.changelog/v0.10.0/summary.md new file mode 100644 index 0000000000..7d8ccc26c6 --- /dev/null +++ b/.changelog/v0.10.0/summary.md @@ -0,0 +1,16 @@ +*January 13th, 2021* + +This release notably updates the underlying CLI framework (`abscissa`) to version 0.6.0-beta.1, +which now uses `clap` for parsing command line arguments. This substantially improves the UX of the CLI, +by adding support for `--help` flags in subcommands and improving help and usage printouts. + +The `--version` option of the `create channel` subcommand has been renamed +to `--channel-version`, with the old name still supported as an alias. +Additionally, the `-h` short flag on many commands is now `-H` to avoid +clashes with the clap-provided short flag for help. + +This release also improves the handling of account sequence mismatch errors, +with a recovery mechanism to automatically retry or drop tx upon such errors. + +The relayer now also supports dynamic versions in channel open handshake (which is needed by Interchain Accounts), and enables full support for IBC v2. + diff --git a/CHANGELOG.md b/CHANGELOG.md index 442066b7c7..fcdfe699c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,101 @@ # CHANGELOG +## v0.10.0 +*January 13th, 2021* + +This release notably updates the underlying CLI framework (`abscissa`) to version 0.6.0-beta.1, +which now uses `clap` for parsing command line arguments. This substantially improves the UX of the CLI, +by adding support for `--help` flags in subcommands and improving help and usage printouts. + +The `--version` option of the `create channel` subcommand has been renamed +to `--channel-version`, with the old name still supported as an alias. +Additionally, the `-h` short flag on many commands is now `-H` to avoid +clashes with the clap-provided short flag for help. + +This release also improves the handling of account sequence mismatch errors, +with a recovery mechanism to automatically retry or drop tx upon such errors. + +The relayer now also supports dynamic versions in channel open handshake (which is needed by Interchain Accounts), and enables full support for IBC v2. + +### BREAKING CHANGES + +- General + - Update MSRV to Rust 1.57 + ([#1660](https://github.com/informalsystems/ibc-rs/issues/1660)) + - Pin tendermint-rs dependencies to =0.23.2 + ([#1665](https://github.com/informalsystems/ibc-rs/pull/1665)) +- [IBC Modules](modules) + - Add the `frozen_height()` method to the `ClientState` trait (includes breaking changes to the Tendermint `ClientState` API). + ([#1618](https://github.com/informalsystems/ibc-rs/issues/1618)) + - Remove `Timestamp` API that depended on the `chrono` crate: + ([#1665](https://github.com/informalsystems/ibc-rs/pull/1665)): + - `Timestamp::from_datetime`; use `From` + - `Timestamp::as_datetime`, superseded by `Timestamp::into_datetime` +- [Relayer Library](relayer) + - Improve spawning of supervisor worker tasks ([#1656](https://github.com/informalsystems/ibc-rs/issues/1656)) + - The `Supervisor` struct is removed. + - Supervisor is now spawned using the `spawn_supervisor` function. +- [Relayer CLI](relayer-cli) + - Update to abscissa framework version 0.6.0-beta.1, adding support for + `--help` flags in subcommands and improving help and usage printouts. + The `--version` option of the `create channel` subcommand has been renamed + to `--channel-version`, with the old name still supported as an alias. + Additionally, the `-h` short flag on many commands is now `-H` to avoid + clashes with the clap-provided short flag for help. + ([#1576](https://github.com/informalsystems/ibc-rs/pull/1576), + [#1743](https://github.com/informalsystems/ibc-rs/pull/1743)) + +### BUG FIXES + +- [IBC Modules](modules) + - Delete packet commitment instead of acknowledgement in acknowledgePacket + [#1573](https://github.com/informalsystems/ibc-rs/issues/1573) + - Set the `counterparty_channel_id` correctly to fix ICS04 [`chanOpenAck` handler verification](https://github.com/informalsystems/ibc-rs/blob/master/modules/src/core/ics04_channel/handler/chan_open_ack.rs) + ([#1649](https://github.com/informalsystems/ibc-rs/issues/1649)) + - Add missing assertion for non-zero trust-level in Tendermint client initialization. + ([#1697](https://github.com/informalsystems/ibc-rs/issues/1697)) + - Fix conversion to Protocol Buffers of `ClientState`'s `frozen_height` field. + ([#1710](https://github.com/informalsystems/ibc-rs/issues/1710)) +- [Relayer Library](relayer) + - Handle expired client errors in workers ([#1543](https://github.com/informalsystems/ibc-rs/issues/1543)) + - Perform `execute_schedule` after handling packet commands in packet worker ([#1715](https://github.com/informalsystems/ibc-rs/issues/1715)) + - Do not spawn detect misbehavior task if it is disabled in config [#1750](https://github.com/informalsystems/ibc-rs/issues/1750) + +### FEATURES + +- General + - Extend CI test suite to include E2E tests using Gaia v6.0.0 [#1550](https://github.com/informalsystems/ibc-rs/issues/1550) + - Added the `extra_wallets` parameter to `gm` to create additional funded wallets. + - Added the possibility of JSON output to `gm` by setting the environment variable `OUTPUT=json`. + - Added support for fee granters through config file + ([#1633](https://github.com/informalsystems/ibc-rs/issues/1633)) +- [IBC Modules](modules) + - Implement proof verification for Tendermint client (ICS07). + ([#1583](https://github.com/informalsystems/ibc-rs/pull/1583)) +- [Relayer Library](relayer) + - Added a recovery mechanism to automatically retry or drop tx upon account + sequence mismatch errors ([#1264](https://github.com/informalsystems/ibc-rs/issues/1264)) + - Support dynamic versions in channel open handshake & enable full support for + ibc-go v2 ([#1410](https://github.com/informalsystems/ibc-rs/issues/1410)) + - Allow custom proof-specs in chain config + ([#1561](https://github.com/informalsystems/ibc-rs/issues/1561)) + +### IMPROVEMENTS + +- General + - Update `CONTRIBUTING.md` for latest version of unclog + ([#1634](https://github.com/informalsystems/ibc-rs/issues/1634)) +- [IBC Modules](modules) + - More conventional ad-hoc conversion methods on `Timestamp` + ([#1665](https://github.com/informalsystems/ibc-rs/pull/1665)): + - `Timestamp::nanoseconds` replaces `Timestamp::as_nanoseconds` + - `Timestamp::into_datetime` substitutes `Timestamp::as_datetime` +- [Relayer CLI](relayer-cli) + - Improve performance of standalone commands by starting the event monitor on-demand + ([#1063](https://github.com/informalsystems/ibc-rs/issues/1063)) + - Increase the default for `max_gas` from `300_000` to `400_000` + ([#1636](https://github.com/informalsystems/ibc-rs/pull/1636)) + ## v0.9.0, the “Zamfir” release *November 23rd, 2021* diff --git a/Cargo.lock b/Cargo.lock index 2ff3803d81..2400afaaec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1379,7 +1379,7 @@ dependencies = [ [[package]] name = "ibc" -version = "0.9.0" +version = "0.10.0" dependencies = [ "bytes", "env_logger", @@ -1409,7 +1409,7 @@ dependencies = [ [[package]] name = "ibc-integration-test" -version = "0.8.0" +version = "0.10.0" dependencies = [ "color-eyre", "crossbeam-channel 0.5.2", @@ -1441,7 +1441,7 @@ dependencies = [ [[package]] name = "ibc-proto" -version = "0.13.0" +version = "0.14.0" dependencies = [ "bytes", "getrandom 0.2.3", @@ -1454,7 +1454,7 @@ dependencies = [ [[package]] name = "ibc-relayer" -version = "0.9.0" +version = "0.10.0" dependencies = [ "anyhow", "async-stream", @@ -1509,7 +1509,7 @@ dependencies = [ [[package]] name = "ibc-relayer-cli" -version = "0.9.0" +version = "0.10.0" dependencies = [ "abscissa_core", "atty", @@ -1549,7 +1549,7 @@ dependencies = [ [[package]] name = "ibc-relayer-rest" -version = "0.9.0" +version = "0.10.0" dependencies = [ "crossbeam-channel 0.5.2", "ibc", @@ -1564,7 +1564,7 @@ dependencies = [ [[package]] name = "ibc-telemetry" -version = "0.9.0" +version = "0.10.0" dependencies = [ "crossbeam-channel 0.5.2", "ibc", diff --git a/guide/README.md b/guide/README.md index 9194922a88..4dd5170585 100644 --- a/guide/README.md +++ b/guide/README.md @@ -1,6 +1,6 @@ # Hermes Guide -Hermes is the name of the binary that comes packaged with +Hermes is the name of the binary that comes packaged with [IBC Relayer CLI](https://crates.io/crates/ibc-relayer-cli) crate. This directory comprises a comprehensive guide to Hermes. @@ -8,10 +8,10 @@ In order to build and view this guide you need to install [`mdBook`] (https://github.com/rust-lang/mdBook). mdBook is a utility to create modern online books from Markdown files. -This guide should be permanently deployed at its latest stable version at +This guide should be permanently deployed at its latest stable version at [hermes.informal.systems](https://hermes.informal.systems). -Current version: `0.9.0`. +Current version: `0.10.0`. The version of this guide is aligned with the [versioning of the ibc crates](../README.md). @@ -64,7 +64,7 @@ http://localhost:3000 ## Adding or editing new content to the guide -Please check the [mdBook documentation](https://rust-lang.github.io/mdBook/index.html) for additional information on how to add new content to the guide. +Please check the [mdBook documentation](https://rust-lang.github.io/mdBook/index.html) for additional information on how to add new content to the guide. Basically if you want to add new content to the guide, just add an entry to the `SUMMARY.md` Markdown file which is the TOC page. Then create a page for the entry you've added to the `SUMMARY.md` page. If you don't create the page, but save the `SUMMARY.md` file and build again, `mdBook` will create the page automatically for you. diff --git a/guide/src/SUMMARY.md b/guide/src/SUMMARY.md index cd779335b9..8bfe3ffb74 100644 --- a/guide/src/SUMMARY.md +++ b/guide/src/SUMMARY.md @@ -1,6 +1,6 @@ # Summary -# Hermes (v0.9.0) +# Hermes (v0.10.0) --- - [Introduction](./index.md) @@ -29,7 +29,7 @@ - [Commands Reference](./commands/index.md) - [Global options and JSON output](./commands/global.md) - [Keys](./commands/keys/index.md) - - [Config](./commands/config.md) + - [Config](./commands/config.md) - [Path setup](./commands/path-setup/index.md) - [Clients](./commands/path-setup/clients.md) - [Connections](./commands/path-setup/connections.md) diff --git a/guide/src/commands/global.md b/guide/src/commands/global.md index 11a12faa0a..4bae012db2 100644 --- a/guide/src/commands/global.md +++ b/guide/src/commands/global.md @@ -3,7 +3,7 @@ Hermes accepts global options which affect all commands. ```shell -hermes 0.9.0 +hermes 0.10.0 Informal Systems Implementation of `hermes`, an IBC Relayer developed in Rust. diff --git a/guide/src/commands/path-setup/channels.md b/guide/src/commands/path-setup/channels.md index 0f96e8ab17..4b44dd9e8f 100644 --- a/guide/src/commands/path-setup/channels.md +++ b/guide/src/commands/path-setup/channels.md @@ -24,7 +24,7 @@ FLAGS: --port-a PORT-A identifier of the side `a` port for the new channel --port-b PORT-B identifier of the side `b` port for the new channel -o, --order ORDER the channel ordering, valid options 'unordered' (default) and 'ordered' - -v, --version VERSION the version for the new channel + -v, --channel-version VERSION the version for the new channel ``` ## Examples diff --git a/guide/src/config.md b/guide/src/config.md index 266ce99d94..2f1c4b3e70 100644 --- a/guide/src/config.md +++ b/guide/src/config.md @@ -25,7 +25,7 @@ hermes [-c CONFIG_FILE] COMMAND The configuration file must have one `global` section, and one `chains` section for each chain. > **Note:** As of 0.6.0, the Hermes configuration file is self-documented. -> Please read the configuration file [`config.toml`](https://github.com/informalsystems/ibc-rs/blob/v0.9.0/config.toml) +> Please read the configuration file [`config.toml`](https://github.com/informalsystems/ibc-rs/blob/v0.10.0/config.toml) > itself for the most up-to-date documentation of parameters. By default, Hermes will relay on all channels available between all the configured chains. @@ -36,7 +36,7 @@ For example, if there are only two chains configured, then Hermes will only rela i.e. the two chains will serve as a source for each other, and likewise as a destination for each other's relevant events. Hermes will ignore all events that pertain to chains which are unknown (ie. not present in config.toml). -To restrict relaying on specific channels, or uni-directionally, you can use [packet filtering policies](https://github.com/informalsystems/ibc-rs/blob/v0.9.0/config.toml#L156-L173). +To restrict relaying on specific channels, or uni-directionally, you can use [packet filtering policies](https://github.com/informalsystems/ibc-rs/blob/v0.10.0/config.toml#L207-L224). ## Adding private keys diff --git a/guide/src/help.md b/guide/src/help.md index 7147969495..a228816b8b 100644 --- a/guide/src/help.md +++ b/guide/src/help.md @@ -74,10 +74,11 @@ FLAGS: --port-a PORT-A identifier of the side `a` port for the new channel --port-b PORT-B identifier of the side `b` port for the new channel -o, --order ORDER the channel ordering, valid options 'unordered' (default) and 'ordered' - -v, --version VERSION the version for the new channel + -v, --channel-version VERSION the version for the new channel ``` -The `help` command is a replacement of the familiar `-h`/ `--help` flag typical for CLI applications. +Additionally, the `-h`/`--help` flags typical for CLI applications work on +all commands. ## Parametrizing the log output level diff --git a/guide/src/index.md b/guide/src/index.md index 5f5d208c4f..ae3786cd45 100644 --- a/guide/src/index.md +++ b/guide/src/index.md @@ -1,4 +1,4 @@ -# Hermes Guide (v0.9.0) +# Hermes Guide (v0.10.0) Hermes is a an open-source Rust implementation of a relayer for the @@ -51,4 +51,3 @@ packets between two or more IBC-enabled chains. ## Disclaimer This project is undergoing heavy development, use at your own risk. - diff --git a/guide/src/installation.md b/guide/src/installation.md index 0649666533..5e7b8a16f4 100644 --- a/guide/src/installation.md +++ b/guide/src/installation.md @@ -14,11 +14,11 @@ There are two main approaches for obtaining Hermes: Simply head to the GitHub [Releases][releases] page and download the latest version of Hermes binary matching your platform: -- MacOS: `hermes-v0.9.0-x86_64-apple-darwin.tar.gz` (or .zip), -- Linux: `hermes-v0.9.0-x86_64-unknown-linux-gnu.tar.gz` (or .zip). +- MacOS: `hermes-v0.10.0-x86_64-apple-darwin.tar.gz` (or .zip), +- Linux: `hermes-v0.10.0-x86_64-unknown-linux-gnu.tar.gz` (or .zip). The step-by-step instruction below should carry you through the whole process: - + 1. Make the directory where we'll place the binary: ```shell mkdir -p $HOME/.hermes/bin @@ -47,7 +47,7 @@ hermes version ``` ``` -hermes 0.9.0 +hermes 0.10.0 ``` ## Install via Cargo @@ -62,7 +62,7 @@ To install the latest release of Hermes, run the following command in a terminal cargo install ibc-relayer-cli --bin hermes --locked ``` -This will download and build the crate `ibc-relayer-cli`, and install the +This will download and build the crate `ibc-relayer-cli`, and install the `hermes` binary in `$HOME/.cargo/bin`. > If you have not installed Rust and Cargo via [rustup.rs](https://rustup.rs), you may need to @@ -81,7 +81,7 @@ hermes version ``` ``` -hermes 0.9.0 +hermes 0.10.0 ``` ## Build from source @@ -103,10 +103,10 @@ cd ibc-rs Go to the [ibc-rs releases](https://github.com/informalsystems/ibc-rs/releases) page to see what is the most recent release. -Then checkout the release, for example if the most recent release is `v0.9.0` then execute the command: +Then checkout the release, for example if the most recent release is `v0.10.0` then execute the command: ```shell -git checkout v0.9.0 +git checkout v0.10.0 ``` ### Building with `cargo build` @@ -151,7 +151,7 @@ If you run the `hermes` without any additional parameters you should see the usa ``` ``` -hermes 0.9.0 +hermes 0.10.0 Informal Systems USAGE: diff --git a/guide/src/rest-api.md b/guide/src/rest-api.md index 0dc084498d..7d31159e02 100644 --- a/guide/src/rest-api.md +++ b/guide/src/rest-api.md @@ -39,7 +39,7 @@ as the version of the REST server itself (under the `ibc-relayer-rest` key). [ { "name": "ibc-relayer", - "version": "0.9.0" + "version": "0.10.0" }, { "name": "ibc-relayer-rest", @@ -175,4 +175,3 @@ of all the workers which are currently active. } } ``` - diff --git a/guide/src/tutorials/local-chains/start.md b/guide/src/tutorials/local-chains/start.md index 62d67344c3..b555a14038 100644 --- a/guide/src/tutorials/local-chains/start.md +++ b/guide/src/tutorials/local-chains/start.md @@ -8,7 +8,7 @@ To this end, clone the `ibc-rs` repository and check out the current version: ```bash git clone git@github.com:informalsystems/ibc-rs.git cd ibc-rs -git checkout v0.9.0 +git checkout v0.10.0 ``` ### Stop existing `gaiad` processes diff --git a/modules/Cargo.toml b/modules/Cargo.toml index ee64ae3191..054671561c 100644 --- a/modules/Cargo.toml +++ b/modules/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc" -version = "0.9.0" +version = "0.10.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -25,7 +25,7 @@ mocks = ["tendermint-testgen"] [dependencies] # Proto definitions for all IBC-related interfaces, e.g., connections or channels. -ibc-proto = { version = "0.13.0", path = "../proto" } +ibc-proto = { version = "0.14.0", path = "../proto" } ics23 = { version = "0.6.7", default-features = false } time = { version = "0.3", default-features = false } thiserror = { version = "1.0.30", default-features = false } diff --git a/proto/Cargo.toml b/proto/Cargo.toml index e7a1b4e213..5839dd0f0f 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-proto" -version = "0.13.0" +version = "0.14.0" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" diff --git a/proto/src/lib.rs b/proto/src/lib.rs index 0baed4e934..7bb1d4a61b 100644 --- a/proto/src/lib.rs +++ b/proto/src/lib.rs @@ -8,7 +8,7 @@ #![allow(clippy::large_enum_variant)] #![allow(rustdoc::bare_urls)] #![forbid(unsafe_code)] -#![doc(html_root_url = "https://docs.rs/ibc-proto/0.13.0")] +#![doc(html_root_url = "https://docs.rs/ibc-proto/0.14.0")] extern crate alloc; extern crate core as std; diff --git a/relayer-cli/Cargo.toml b/relayer-cli/Cargo.toml index 5b8603af1b..64e58acab8 100644 --- a/relayer-cli/Cargo.toml +++ b/relayer-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-relayer-cli" -version = "0.9.0" +version = "0.10.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -26,11 +26,11 @@ telemetry = ["ibc-relayer/telemetry", "ibc-telemetry"] rest-server = ["ibc-relayer-rest"] [dependencies] -ibc = { version = "0.9.0", path = "../modules" } -ibc-relayer = { version = "0.9.0", path = "../relayer" } -ibc-proto = { version = "0.13.0", path = "../proto" } -ibc-telemetry = { version = "0.9.0", path = "../telemetry", optional = true } -ibc-relayer-rest = { version = "0.9.0", path = "../relayer-rest", optional = true } +ibc = { version = "0.10.0", path = "../modules" } +ibc-relayer = { version = "0.10.0", path = "../relayer" } +ibc-proto = { version = "0.14.0", path = "../proto" } +ibc-telemetry = { version = "0.10.0", path = "../telemetry", optional = true } +ibc-relayer-rest = { version = "0.10.0", path = "../relayer-rest", optional = true } clap = { version = "=3.0.0-beta.5" } serde = { version = "1.0", features = ["serde_derive"] } diff --git a/relayer-rest/Cargo.toml b/relayer-rest/Cargo.toml index 761c67a616..0d93b0b195 100644 --- a/relayer-rest/Cargo.toml +++ b/relayer-rest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-relayer-rest" -version = "0.9.0" +version = "0.10.0" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" @@ -14,8 +14,8 @@ description = """ """ [dependencies] -ibc = { version = "0.9.0", path = "../modules" } -ibc-relayer = { version = "0.9.0", path = "../relayer" } +ibc = { version = "0.10.0", path = "../modules" } +ibc-relayer = { version = "0.10.0", path = "../relayer" } crossbeam-channel = "0.5" rouille = "3.5" diff --git a/relayer-rest/tests/mock.rs b/relayer-rest/tests/mock.rs index 4e1b9e519a..5b792cc329 100644 --- a/relayer-rest/tests/mock.rs +++ b/relayer-rest/tests/mock.rs @@ -63,7 +63,7 @@ fn version() { let rest_api_version = VersionInfo { name: "ibc-relayer-rest".to_string(), - version: "0.9.0".to_string(), + version: "0.10.0".to_string(), }; let result = vec![version.clone(), rest_api_version]; diff --git a/relayer/Cargo.toml b/relayer/Cargo.toml index a72256a02d..b340204465 100644 --- a/relayer/Cargo.toml +++ b/relayer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-relayer" -version = "0.9.0" +version = "0.10.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -21,9 +21,9 @@ profiling = [] telemetry = ["ibc-telemetry"] [dependencies] -ibc = { version = "0.9.0", path = "../modules" } -ibc-proto = { version = "0.13.0", path = "../proto" } -ibc-telemetry = { version = "0.9.0", path = "../telemetry", optional = true } +ibc = { version = "0.10.0", path = "../modules" } +ibc-proto = { version = "0.14.0", path = "../proto" } +ibc-telemetry = { version = "0.10.0", path = "../telemetry", optional = true } subtle-encoding = "0.5" humantime-serde = "1.0.0" @@ -86,7 +86,7 @@ features = ["rpc-client", "secp256k1", "unstable"] version = "=0.23.2" [dev-dependencies] -ibc = { version = "0.9.0", path = "../modules", features = ["mocks"] } +ibc = { version = "0.10.0", path = "../modules", features = ["mocks"] } serial_test = "0.5.0" env_logger = "0.9.0" tracing-subscriber = { version = "0.3.5", features = ["fmt", "env-filter", "json"] } diff --git a/telemetry/Cargo.toml b/telemetry/Cargo.toml index f847e61061..d5594e5630 100644 --- a/telemetry/Cargo.toml +++ b/telemetry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-telemetry" -version = "0.9.0" +version = "0.10.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -13,7 +13,7 @@ description = """ """ [dependencies] -ibc = { version = "0.9.0", path = "../modules" } +ibc = { version = "0.10.0", path = "../modules" } crossbeam-channel = "0.5.2" once_cell = "1.9.0" diff --git a/tools/integration-test/Cargo.toml b/tools/integration-test/Cargo.toml index 1cec79da8e..30fa0c10ed 100644 --- a/tools/integration-test/Cargo.toml +++ b/tools/integration-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-integration-test" -version = "0.8.0" +version = "0.10.0" edition = "2021" license = "Apache-2.0" readme = "README.md"