From 949144e575da302ee7c4f830dd9901be7aaf4346 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Mon, 22 Aug 2022 12:45:02 +0200 Subject: [PATCH] Release Hermes v1.0.0 (#2577) * Bump relayer-cli crate to v1.0.0 and update guide * Bump crates to 0.19.0, and protos to 0.20.1 * Update lockfiles * Release changelog * Update UPGRADING instructions * Update lockfile * Link to upgrading doc for gas_multiplier change * Apply suggestions fro review Thanks @seanchen1991 and @adizere! Co-authored-by: Sean Chen Co-authored-by: Adi Seredinschi Co-authored-by: Sean Chen Co-authored-by: Adi Seredinschi --- .../improvements/2542-remove-ibcevent-height | 1 - .../2479-refactored-metric-names.md | 0 .../ibc/2542-remove-ibcevent-height.md | 2 + .../ibc}/2534-fix-timeout-on-close.md | 0 .../ibc-relayer/2479-metric_discovery.md | 0 .../ibc-relayer/2548-runtime-light-client.md | 0 .changelog/v1.0.0/summary.md | 52 ++++++ CHANGELOG.md | 166 +++++++++++++++++- Cargo.lock | 109 +++++++----- UPGRADING.md | 30 ++++ ci/no-std-check/Cargo.lock | 117 +++++++----- guide/README.md | 2 +- guide/src/SUMMARY.md | 2 +- guide/src/commands/global.md | 2 +- guide/src/config.md | 4 +- guide/src/index.md | 2 +- guide/src/installation.md | 16 +- guide/src/rest-api.md | 2 +- modules/Cargo.toml | 4 +- proto-compiler/Cargo.lock | 56 +++--- proto/Cargo.toml | 2 +- proto/src/lib.rs | 2 +- relayer-cli/Cargo.toml | 12 +- relayer-rest/Cargo.toml | 6 +- relayer-rest/tests/mock.rs | 2 +- relayer/Cargo.toml | 10 +- telemetry/Cargo.toml | 4 +- tools/integration-test/Cargo.toml | 2 +- tools/test-framework/Cargo.toml | 10 +- 29 files changed, 449 insertions(+), 168 deletions(-) delete mode 100644 .changelog/unreleased/improvements/2542-remove-ibcevent-height rename .changelog/{unreleased => v1.0.0}/breaking-changes/ibc-telemetry/2479-refactored-metric-names.md (100%) create mode 100644 .changelog/v1.0.0/breaking-changes/ibc/2542-remove-ibcevent-height.md rename .changelog/{unreleased/bug => v1.0.0/bug-fixes/ibc}/2534-fix-timeout-on-close.md (100%) rename .changelog/{unreleased => v1.0.0}/features/ibc-relayer/2479-metric_discovery.md (100%) rename .changelog/{unreleased => v1.0.0}/improvements/ibc-relayer/2548-runtime-light-client.md (100%) create mode 100644 .changelog/v1.0.0/summary.md diff --git a/.changelog/unreleased/improvements/2542-remove-ibcevent-height b/.changelog/unreleased/improvements/2542-remove-ibcevent-height deleted file mode 100644 index 1d0c60765a..0000000000 --- a/.changelog/unreleased/improvements/2542-remove-ibcevent-height +++ /dev/null @@ -1 +0,0 @@ -- Remove height attribute from `IbcEvent` and its variants ([#2542](https://github.com/informalsystems/ibc-rs/issues/2542)) diff --git a/.changelog/unreleased/breaking-changes/ibc-telemetry/2479-refactored-metric-names.md b/.changelog/v1.0.0/breaking-changes/ibc-telemetry/2479-refactored-metric-names.md similarity index 100% rename from .changelog/unreleased/breaking-changes/ibc-telemetry/2479-refactored-metric-names.md rename to .changelog/v1.0.0/breaking-changes/ibc-telemetry/2479-refactored-metric-names.md diff --git a/.changelog/v1.0.0/breaking-changes/ibc/2542-remove-ibcevent-height.md b/.changelog/v1.0.0/breaking-changes/ibc/2542-remove-ibcevent-height.md new file mode 100644 index 0000000000..37196c22f2 --- /dev/null +++ b/.changelog/v1.0.0/breaking-changes/ibc/2542-remove-ibcevent-height.md @@ -0,0 +1,2 @@ +- Remove `height` attribute from `IbcEvent` and its variants + ([#2542](https://github.com/informalsystems/ibc-rs/issues/2542)) diff --git a/.changelog/unreleased/bug/2534-fix-timeout-on-close.md b/.changelog/v1.0.0/bug-fixes/ibc/2534-fix-timeout-on-close.md similarity index 100% rename from .changelog/unreleased/bug/2534-fix-timeout-on-close.md rename to .changelog/v1.0.0/bug-fixes/ibc/2534-fix-timeout-on-close.md diff --git a/.changelog/unreleased/features/ibc-relayer/2479-metric_discovery.md b/.changelog/v1.0.0/features/ibc-relayer/2479-metric_discovery.md similarity index 100% rename from .changelog/unreleased/features/ibc-relayer/2479-metric_discovery.md rename to .changelog/v1.0.0/features/ibc-relayer/2479-metric_discovery.md diff --git a/.changelog/unreleased/improvements/ibc-relayer/2548-runtime-light-client.md b/.changelog/v1.0.0/improvements/ibc-relayer/2548-runtime-light-client.md similarity index 100% rename from .changelog/unreleased/improvements/ibc-relayer/2548-runtime-light-client.md rename to .changelog/v1.0.0/improvements/ibc-relayer/2548-runtime-light-client.md diff --git a/.changelog/v1.0.0/summary.md b/.changelog/v1.0.0/summary.md new file mode 100644 index 0000000000..a389552c6d --- /dev/null +++ b/.changelog/v1.0.0/summary.md @@ -0,0 +1,52 @@ +*August 22nd, 2022* + +After more than 2 years in the works, this is the first stable release of the Hermes relayer! 🎉 + +### Note for operators + +> ⚠️ If upgrading from Hermes v0.15.0, be aware that this release contains multiple breaking +> ⚠️ changes to the Hermes command-line interface and configuration. +> ⚠️ Please consult the [UPGRADING document for instructions](UPGRADING.md) ) for a more detadetails. + +### Highlights + +- The performance and reliability of the relayer has been greatly improved +- Merged commands `keys add` and `keys restore` into single command `keys add` + The flag to specify the key name for the CLI command `keys add` has been changed + from `-n` to `-k`. Restoring a key now takes a file containing the mnemonic as + input instead of directly taking the mnemonic +- Deprecated `gas_adjustment` setting in favor of new `gas_multiplier` setting +- Updated all CLI commands to take flags instead of positional arguments +- Renamed `query packet unreceived-packets` to `query packet pending-sends` + and `query packet unreceived-acks` to `query packet pending-acks` +- Added CLI command `keys balance` which outputs the balance of an account associated with a key +- Added CLI command `query channel client` which outputs the channel's client state +- Added CLI command `query transfer denom-trace` which outputs the base denomination and path of a given trace hash +- Dropped the `raw` prefix from all the `tx raw` commands +- Remove the four duplicate commands: + * `tx raw update-client`, which is the same as `update client` + * `tx raw upgrade-client`, which is the same as `upgrade client` + * `tx raw upgrade-clients`, which is the same as `upgrade clients` + * `tx raw create-client`, which is the same as `create client` +- [A new section was added to the guide][telemetry-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 +- Added many new metrics to the telemetry API. The full list can be found in new the guide section linked above + +### Change to the versioning scheme + +As of v1.0.0-rc.0, the Hermes CLI is now versioned separately from +the other crates in the project. As such, the top-level version +designates the version of the Hermes CLI, but the other crates in +the repository do not necessarily match this version. For example, +the `ibc` and `ibc-relayer` crates are released under version 0.19.0 +for Hermes v1.0.0. + +The structure of this changelog has therefore changed as well. +Changes are now grouped first by crate and then by the type of change, +eg. feature, bug fix, etc. + +### Full release notes + +The release notes below only contain the changes introduced since v1.0.0-rc.2. +For the full list of changes since v0.15.0, please consult the sections below for +v1.0.0-rc.2, v1.0.0-rc.1 and v1.0.0-rc.0. diff --git a/CHANGELOG.md b/CHANGELOG.md index 466a0678b7..27b107768e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,157 @@ # CHANGELOG +## v1.0.0 +*August 22nd, 2022* + +After more than 2 years in the works, this is the first stable release of the Hermes relayer! 🎉 + +For reaching this milestone, we thank the valuable contributions of over 50 individuals, spread across more than 800 documented & resolved issues. Beside Cosmos-SDK and Tendermint, we are fortunate to maintain some of the most active and intense repository in the Cosmos ecosystem. Most importantly, we thank the relentless work of relayer operators that have already relayed billions worth of value in IBC production networks, and have provided us with invaluable feedback on improving Hermes and raising the overall stability of IBC. Kudos to everyone! + +### Note for operators + +> ⚠️ If upgrading from Hermes v0.15.0, be aware that this release contains multiple breaking +> ⚠️ changes to the Hermes command-line interface and configuration. +> ⚠️ Please consult the [UPGRADING document for instructions](UPGRADING.md) ) for a more detadetails. + +### Highlights + +- The performance and reliability of the relayer has been greatly improved +- Merged commands `keys add` and `keys restore` into single command `keys add` + The flag to specify the key name for the CLI command `keys add` has been changed + from `-n` to `-k`. Restoring a key now takes a file containing the mnemonic as + input instead of directly taking the mnemonic +- Deprecated `gas_adjustment` setting in favor of new `gas_multiplier` setting. + Check out the [upgrading instructions][gas-mul] for more details about the new setting. +- Updated all CLI commands to take flags instead of positional arguments +- Renamed `query packet unreceived-packets` to `query packet pending-sends` + and `query packet unreceived-acks` to `query packet pending-acks` +- Added CLI command `keys balance` which outputs the balance of an account associated with a key +- Added CLI command `query channel client` which outputs the channel's client state +- Added CLI command `query transfer denom-trace` which outputs the base denomination and path of a given trace hash +- Dropped the `raw` prefix from all the `tx raw` commands +- Remove the four duplicate commands: + * `tx raw update-client`, which is the same as `update client` + * `tx raw upgrade-client`, which is the same as `upgrade client` + * `tx raw upgrade-clients`, which is the same as `upgrade clients` + * `tx raw create-client`, which is the same as `create client` +- [A new section was added to guide][telemetry-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 +- Added many new metrics to the telemetry. The full list can be found in new the guide section linked above + +[gas-mul]: https://github.com/informalsystems/ibc-rs/blob/v1.0.0/UPGRADING.md#the-gas_adjustment-setting-has-been-deprecated-in-favor-of-gas_multiplier + +### Change to the versioning scheme + +As of v1.0.0-rc.0, the Hermes CLI is now versioned separately from +the other crates in the project. As such, the top-level version +designates the version of the Hermes CLI, but the other crates in +the repository do not necessarily match this version. For example, +the `ibc` and `ibc-relayer` crates are released under version 0.19.0 +for Hermes v1.0.0. + +The structure of this changelog has therefore changed as well, +changes are now grouped first by crate and then by the type of change, +eg. feature, bug fix, etc. + +### Full release notes + +The release notes below only contain the changes introduced since v1.0.0-rc.2. +For the full list of changes since v0.15.0, please consult the sections below for +v1.0.0-rc.2, v1.0.0-rc.1 and v1.0.0-rc.0. + +### General + +- Bumped crates to the following versions: + - `ibc-relayer-cli`: 1.0.0 + - `ibc-proto`: 0.20.1 + - `ibc`: 0.19.0 + - `ibc-relayer`: 0.19.0 + - `ibc-telemetry`: 0.19.0 + - `ibc-relayer-rest`: 0.19.0 + +### Hermes - [`ibc-relayer-cli`](relayer-cli) (v1.0.0) + +- Release version 1.0.0 of Hermes (`ibc-relayer-cli`) + +### IBC Proto - [`ibc-proto`](proto) (v0.20.0) + +- Release version 0.20.1 of `ibc-proto` + +### IBC Modules - [`ibc`](modules) (v0.19.0) + +- Release version 0.19.0 of `ibc` + +#### BREAKING CHANGES + +- Remove `height` attribute from `IbcEvent` and its variants + ([#2542](https://github.com/informalsystems/ibc-rs/issues/2542)) + +#### BUG FIXES + +- Fix `MsgTimeoutOnClose` to verify the channel proof + ([#2534](https://github.com/informalsystems/ibc-rs/issues/2534)) + + +### Relayer Library - [`ibc-relayer`](relayer) (v0.19.0) + +- Release version 0.19.0 of `ibc-relayer` + +#### FEATURES + +- Introduces discovery phase to initialize Prometheus metrics + ([#2479](https://github.com/informalsystems/ibc-rs/issues/2479)) + +#### IMPROVEMENTS + +- Refactor the `ChainEndpoint` trait to expose the light client + functionality directly. Instead of exposing a getter for the + `LightClient` trait, the `ChainEndpoint` trait now defines the + two methods `verify_header` and `check_misbehaviour` directly. + ([#2548](https://github.com/informalsystems/ibc-rs/issues/2548)) + + +### Telemetry & Metrics - [`ibc-telemetry`](telemetry) (v0.19.0) + +- Release version 0.18.0 of `ibc-telemetry` + +#### BREAKING CHANGES + +- Multiple fixes related to telemetry, detailed below ([#2479](https://github.com/informalsystems/ibc-rs/issues/2479)) + - Renamed the following metrics: + * `ibc_client_updates` to `client_updates_submitted` + * `ibc_client_misbehaviours ` to `client_misbehaviours_submitted` + * `ibc_receive_packets` to `receive_packets_confirmed` + * `ibc_acknowledgment_packets ` to `acknowledgment_packets_confirmed` + * `ibc_timeout_packets ` to `timeout_packets_confirmed` + * `cache_hits` to `queries_cache_hits` + * `msg_num` to `total_messages_submitted` + * `send_packet_count` to `send_packet_events` + * `acknowledgement_count` to `acknowledgement_events` + * `cleared_send_packet_count` to `cleared_send_packet_events` + * `cleared_acknowledgment_count` to `cleared_acknowledgment_events` + - Added the following metric: + * `timeout_events` + - Fixed the following metrics: + * `client_updates_submitted`: Now correctly count all ClientUpdate messages + * `total_messages_submitted`: Now count only submitted messages + - Changed telemetry `enabled` to `false` in the default config.toml, to match the default value for this parameter + - Changed `misbehaviour` to `false` in the default config.toml, to match the default value for this parameter + +### REST API - [`ibc-relayer-rest`](relayer-rest) (v0.19.0) + +- Release version 0.19.0 of `ibc-relayer-rest` + +### [Guide](guide) + +#### General + +- Document all metrics and [add a section][telemetry-guide] describing how Hermes metrics can be used to observe + both the current state of the Hermes relayer and the networks it is connected to + ([#2479](https://github.com/informalsystems/ibc-rs/issues/2479)) + +[telemetry-guide]: https://hermes.informal.systems/telemetry/operators.html + + ## v1.0.0-rc.2 *August 8th, 2022* @@ -168,16 +320,16 @@ This is the second release candidate for Hermes v1.0.0 🎉 #### BUG FIXES - Fix serialization for ICS20 packet data structures - ([#2386](https://github.com/informalsystems/ibc-rs/issues/2386)). + ([#2386](https://github.com/informalsystems/ibc-rs/issues/2386)) - Properly process `WriteAcknowledgement`s on packet callback - ([#2424](https://github.com/informalsystems/ibc-rs/issues/2424)). + ([#2424](https://github.com/informalsystems/ibc-rs/issues/2424)) - Fix `write_acknowledgement` handler which incorrectly used packet's `source_{port, channel}` as key for storing acks ([#2428](https://github.com/informalsystems/ibc-rs/issues/2428)) #### IMPROVEMENTS -- Propose ADR011 for light client extraction. - ([#2356](https://github.com/informalsystems/ibc-rs/pull/2356)). +- Propose ADR011 for light client extraction + ([#2356](https://github.com/informalsystems/ibc-rs/pull/2356)) ### Relayer Library - [`ibc-relayer`](relayer) (v0.17.0) @@ -258,11 +410,11 @@ eg. feature, bug fix, etc. #### FEATURES - Added CLI command `keys balance` which outputs the balance of an account associated with a - key. ([#912](https://github.com/informalsystems/ibc-rs/issues/912)) -- Added CLI command `query channel client` which outputs the channel's client state. + key ([#912](https://github.com/informalsystems/ibc-rs/issues/912)) +- Added CLI command `query channel client` which outputs the channel's client state ([#999](https://github.com/informalsystems/ibc-rs/issues/999)) - Added CLI command `query transfer denom-trace` which outputs the base denomination and path of a given - trace hash. ([#2201](https://github.com/informalsystems/ibc-rs/issues/2201)) + trace hash ([#2201](https://github.com/informalsystems/ibc-rs/issues/2201)) - Add unit tests for all Hermes commands with at least one argument ([#2358](https://github.com/informalsystems/ibc-rs/issues/2358)) diff --git a/Cargo.lock b/Cargo.lock index 437f2ca28c..384e17c876 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,6 +86,15 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "android_system_properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" +dependencies = [ + "libc", +] + [[package]] name = "ansi_term" version = "0.12.1" @@ -97,9 +106,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.60" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c794e162a5eff65c72ef524dfe393eb923c354e350bb78b9c7383df13f3bc142" +checksum = "1485d4d2cc45e7b201ee3767015c96faa5904387c9d87c6efdd0fb511f12d305" [[package]] name = "arc-swap" @@ -180,9 +189,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axum" -version = "0.5.13" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b9496f0c1d1afb7a2af4338bbe1d969cddfead41d87a9fb3aaa6d0bbc7af648" +checksum = "9de18bc5f2e9df8f52da03856bf40e29b747de5a84e43aefff90e3dc4a21529b" dependencies = [ "async-trait", "axum-core", @@ -338,9 +347,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" +checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" [[package]] name = "bytecount" @@ -362,9 +371,9 @@ checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" [[package]] name = "camino" -version = "1.0.9" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412" +checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e" dependencies = [ "serde", ] @@ -417,14 +426,13 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.20" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6127248204b9aba09a362f6c930ef6a78f2c1b2215f8a7b398c06e1083f17af0" +checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" dependencies = [ - "js-sys", + "iana-time-zone", "num-integer", "num-traits", - "wasm-bindgen", "winapi", ] @@ -558,9 +566,9 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cpufeatures" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" +checksum = "1079fb8528d9f9c888b1e8aa651e6e079ade467323d58f75faf1d30b1808f540" dependencies = [ "libc", ] @@ -823,9 +831,9 @@ checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" [[package]] name = "ecdsa" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bd46e0c364655e5baf2f5e99b603e7a09905da9966d7928d7470af393b28670" +checksum = "e852f4174d2a8646a0fa8a34b55797856c722f86267deb0aa1e93f7f247f800e" dependencies = [ "der", "elliptic-curve", @@ -856,9 +864,9 @@ dependencies = [ [[package]] name = "either" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "elliptic-curve" @@ -997,9 +1005,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.7.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd79fa345a495d3ae89fb7165fec01c0e72f41821d642dda363a1e97975652e" +checksum = "64db3e262960f0662f43a6366788d5f10f7f244b8f7d7d987f560baf5ded5c50" [[package]] name = "futures" @@ -1167,9 +1175,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" +checksum = "5ca32592cf21ac7ccab1825cd87f6c9b3d9022c44d086172ed0966bec8af30be" dependencies = [ "bytes", "fnv", @@ -1389,9 +1397,22 @@ dependencies = [ "tokio-io-timeout", ] +[[package]] +name = "iana-time-zone" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad2bfd338099682614d3ee3fe0cd72e0b6a41ca6a87f6a74a3bd593c91650501" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "js-sys", + "wasm-bindgen", + "winapi", +] + [[package]] name = "ibc" -version = "0.18.0" +version = "0.19.0" dependencies = [ "bytes", "derive_more", @@ -1423,7 +1444,7 @@ dependencies = [ [[package]] name = "ibc-integration-test" -version = "0.18.0" +version = "0.19.0" dependencies = [ "ibc", "ibc-proto", @@ -1440,7 +1461,7 @@ dependencies = [ [[package]] name = "ibc-proto" -version = "0.20.0" +version = "0.20.1" dependencies = [ "base64", "bytes", @@ -1453,7 +1474,7 @@ dependencies = [ [[package]] name = "ibc-relayer" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "async-stream", @@ -1510,7 +1531,7 @@ dependencies = [ [[package]] name = "ibc-relayer-cli" -version = "1.0.0-rc.2" +version = "1.0.0" dependencies = [ "abscissa_core", "atty", @@ -1553,7 +1574,7 @@ dependencies = [ [[package]] name = "ibc-relayer-rest" -version = "0.18.0" +version = "0.19.0" dependencies = [ "crossbeam-channel 0.5.6", "ibc", @@ -1568,7 +1589,7 @@ dependencies = [ [[package]] name = "ibc-telemetry" -version = "0.18.0" +version = "0.19.0" dependencies = [ "crossbeam-channel 0.5.6", "dashmap 5.3.4", @@ -1585,7 +1606,7 @@ dependencies = [ [[package]] name = "ibc-test-framework" -version = "0.18.0" +version = "0.19.0" dependencies = [ "async-trait", "color-eyre", @@ -1730,9 +1751,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.127" +version = "0.2.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" +checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" [[package]] name = "lock_api" @@ -2007,9 +2028,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" +checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e" [[package]] name = "oneline-eyre" @@ -2066,9 +2087,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.2.0" +version = "6.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4" +checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" [[package]] name = "owo-colors" @@ -2149,18 +2170,18 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "pin-project" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78203e83c48cffbe01e4a2d35d566ca4de445d79a85372fc64e378bfc812a260" +checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "710faf75e1b33345361201d36d04e98ac1ed8909151a017ed384700836104c74" +checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ "proc-macro2", "quote", @@ -2373,9 +2394,9 @@ dependencies = [ [[package]] name = "raw-cpuid" -version = "10.4.0" +version = "10.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c49596760fce12ca21550ac21dc5a9617b2ea4b6e0aa7d8dab8ff2824fc2bba" +checksum = "6aa2540135b6a94f74c7bc90ad4b794f822026a894f3d7bcd185c100d13d4ad6" dependencies = [ "bitflags", ] @@ -2789,9 +2810,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.6.1" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc14f172faf8a0194a3aded622712b0de276821addc574fa54fc0a1167e10dc" +checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c" dependencies = [ "bitflags", "core-foundation", diff --git a/UPGRADING.md b/UPGRADING.md index 19506dc243..12e24152c1 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -1,5 +1,35 @@ # Upgrading Hermes to a newer version +## v1.0.0 + +> 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_updates` to `client_updates_submitted` + * `ibc_client_misbehaviours ` to `client_misbehaviours_submitted` + * `ibc_receive_packets` to `receive_packets_confirmed` + * `ibc_acknowledgment_packets ` to `acknowledgment_packets_confirmed` + * `ibc_timeout_packets ` to `timeout_packets_confirmed` + * `cache_hits` to `queries_cache_hits` + * `msg_num` to `total_messages_submitted` + * `send_packet_count` to `send_packet_events` + * `acknowledgement_count` to `acknowledgement_events` + * `cleared_send_packet_count` to `cleared_send_packet_events` + * `cleared_acknowledgment_count` to `cleared_acknowledgment_events` +- Added the following metric: + * `timeout_events` + +For more details, please check out the [new section that was added to guide][telemetry-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. + +[telemetry-guide]: https://hermes.informal.systems/telemetry/operators.html + + ## v1.0.0-rc.2 This release is backward compatible with Hermes v1.0.0-rc.1 🎉 diff --git a/ci/no-std-check/Cargo.lock b/ci/no-std-check/Cargo.lock index c43c8fb467..abc9df2979 100644 --- a/ci/no-std-check/Cargo.lock +++ b/ci/no-std-check/Cargo.lock @@ -47,6 +47,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "android_system_properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" +dependencies = [ + "libc", +] + [[package]] name = "ansi_term" version = "0.12.1" @@ -58,9 +67,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.59" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c91f1f46651137be86f3a2b9a8359f9ab421d04d941c62b5982e1ca21113adf9" +checksum = "1485d4d2cc45e7b201ee3767015c96faa5904387c9d87c6efdd0fb511f12d305" [[package]] name = "arrayref" @@ -202,9 +211,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" +checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" [[package]] name = "byte-slice-cast" @@ -244,14 +253,13 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.20" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6127248204b9aba09a362f6c930ef6a78f2c1b2215f8a7b398c06e1083f17af0" +checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" dependencies = [ - "js-sys", + "iana-time-zone", "num-integer", "num-traits", - "wasm-bindgen", "winapi", ] @@ -261,11 +269,17 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "core-foundation-sys" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" + [[package]] name = "cpufeatures" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" +checksum = "1079fb8528d9f9c888b1e8aa651e6e079ade467323d58f75faf1d30b1808f540" dependencies = [ "libc", ] @@ -429,9 +443,9 @@ dependencies = [ [[package]] name = "either" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "environmental" @@ -474,9 +488,9 @@ checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" [[package]] name = "futures" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e" +checksum = "ab30e97ab6aacfe635fad58f22c2bb06c8b685f7421eb1e064a729e2a5f481fa" dependencies = [ "futures-channel", "futures-core", @@ -489,9 +503,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" +checksum = "2bfc52cbddcfd745bf1740338492bb0bd83d76c67b445f91c5fb29fae29ecaa1" dependencies = [ "futures-core", "futures-sink", @@ -499,15 +513,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" +checksum = "d2acedae88d38235936c3922476b10fced7b2b68136f5e3c03c2d5be348a1115" [[package]] name = "futures-executor" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6" +checksum = "1d11aa21b5b587a64682c0094c2bdd4df0076c5324961a40cc3abd7f37930528" dependencies = [ "futures-core", "futures-task", @@ -517,15 +531,15 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" +checksum = "93a66fc6d035a26a3ae255a6d2bca35eda63ae4c5512bef54449113f7a1228e5" [[package]] name = "futures-macro" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" +checksum = "0db9cce532b0eae2ccf2766ab246f114b56b9cf6d445e00c2549fbc100ca045d" dependencies = [ "proc-macro2", "quote", @@ -534,21 +548,21 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" +checksum = "ca0bae1fe9752cf7fd9b0064c674ae63f97b37bc714d745cbde0afb7ec4e6765" [[package]] name = "futures-task" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" +checksum = "842fc63b931f4056a24d59de13fb1272134ce261816e063e634ad0c15cdc5306" [[package]] name = "futures-util" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" +checksum = "f0828a5471e340229c11c77ca80017937ce3c58cb788a17e5f1c2d5c485a9577" dependencies = [ "futures-channel", "futures-core", @@ -690,9 +704,22 @@ dependencies = [ "hmac 0.8.1", ] +[[package]] +name = "iana-time-zone" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad2bfd338099682614d3ee3fe0cd72e0b6a41ca6a87f6a74a3bd593c91650501" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "js-sys", + "wasm-bindgen", + "winapi", +] + [[package]] name = "ibc" -version = "0.18.0" +version = "0.19.0" dependencies = [ "bytes", "derive_more", @@ -702,7 +729,6 @@ dependencies = [ "num-traits", "primitive-types 0.11.1", "prost", - "prost-types", "safe-regex", "serde", "serde_derive", @@ -719,12 +745,11 @@ dependencies = [ [[package]] name = "ibc-proto" -version = "0.20.0" +version = "0.20.1" dependencies = [ "base64", "bytes", "prost", - "prost-types", "serde", "tendermint-proto", ] @@ -835,9 +860,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.127" +version = "0.2.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" +checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" [[package]] name = "libsecp256k1" @@ -1073,9 +1098,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" +checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e" [[package]] name = "opaque-debug" @@ -1240,9 +1265,9 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d50bfb8c23f23915855a00d98b5a35ef2e0b871bb52937bacadb798fbb66c8" +checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" dependencies = [ "once_cell", "thiserror", @@ -1582,9 +1607,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2" +checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" dependencies = [ "serde_derive", ] @@ -1600,9 +1625,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e" +checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" dependencies = [ "proc-macro2", "quote", @@ -1688,9 +1713,9 @@ dependencies = [ [[package]] name = "signature" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" +checksum = "f0ea32af43239f0d353a7dd75a22d94c329c8cdaafdcb4c1c1335aa10c298a4a" [[package]] name = "slab" diff --git a/guide/README.md b/guide/README.md index 56220abd2b..032b0025eb 100644 --- a/guide/README.md +++ b/guide/README.md @@ -11,7 +11,7 @@ mdBook is a utility to create modern online books from Markdown files. This guide should be permanently deployed at its latest stable version at [hermes.informal.systems](https://hermes.informal.systems). -Current version: `v1.0.0-rc.2`. +Current version: `v1.0.0`. The version of this guide is aligned with the [versioning of the ibc crates](../README.md). diff --git a/guide/src/SUMMARY.md b/guide/src/SUMMARY.md index d56c87bf64..3e1db45299 100644 --- a/guide/src/SUMMARY.md +++ b/guide/src/SUMMARY.md @@ -1,6 +1,6 @@ # Summary -# Hermes (v1.0.0-rc.2) +# Hermes (v1.0.0) --- - [Introduction](./index.md) diff --git a/guide/src/commands/global.md b/guide/src/commands/global.md index 361b00786d..c2dbeb7dbf 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 v1.0.0-rc.2 +hermes v1.0.0 Informal Systems Implementation of `hermes`, an IBC Relayer developed in Rust. diff --git a/guide/src/config.md b/guide/src/config.md index 9e9ca08034..5ea975a40f 100644 --- a/guide/src/config.md +++ b/guide/src/config.md @@ -25,7 +25,7 @@ hermes [--config 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/v1.0.0-rc.2/config.toml) +> Please read the configuration file [`config.toml`](https://github.com/informalsystems/ibc-rs/blob/v1.0.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/v1.0.0-rc.2/config.toml#L209-L231). +To restrict relaying on specific channels, or uni-directionally, you can use [packet filtering policies](https://github.com/informalsystems/ibc-rs/blob/v1.0.0/config.toml#L209-L231). ## Adding private keys diff --git a/guide/src/index.md b/guide/src/index.md index 66749227f7..84fa804cfe 100644 --- a/guide/src/index.md +++ b/guide/src/index.md @@ -1,4 +1,4 @@ -# Hermes Guide (v1.0.0-rc.2) +# Hermes Guide (v1.0.0) Hermes is a an open-source Rust implementation of a relayer for the diff --git a/guide/src/installation.md b/guide/src/installation.md index a25037967f..ab4f27abc4 100644 --- a/guide/src/installation.md +++ b/guide/src/installation.md @@ -14,8 +14,8 @@ 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-v1.0.0-rc.2-x86_64-apple-darwin.tar.gz` (or .zip), -- Linux: `hermes-v1.0.0-rc.2-x86_64-unknown-linux-gnu.tar.gz` (or .zip). +- MacOS: `hermes-v1.0.0-x86_64-apple-darwin.tar.gz` (or .zip), +- Linux: `hermes-v1.0.0-x86_64-unknown-linux-gnu.tar.gz` (or .zip). The step-by-step instruction below should carry you through the whole process: @@ -47,7 +47,7 @@ hermes version ``` ``` -hermes v1.0.0-rc.2 +hermes v1.0.0 ``` ## Install via Cargo @@ -59,7 +59,7 @@ Hermes is packaged in the `ibc-relayer-cli` Rust crate. To install the latest release of Hermes, run the following command in a terminal: ```shell -cargo install ibc-relayer-cli@1.0.0-rc.2 --bin hermes --locked +cargo install ibc-relayer-cli@1.0.0 --bin hermes --locked ``` This will download and build the crate `ibc-relayer-cli`, and install the @@ -81,7 +81,7 @@ hermes version ``` ``` -hermes v1.0.0-rc.2 +hermes v1.0.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 `v1.0.0-rc.2` then execute the command: +Then checkout the release, for example if the most recent release is `v1.0.0` then execute the command: ```shell -git checkout v1.0.0-rc.2 +git checkout v1.0.0 ``` ### Building with `cargo build` @@ -151,7 +151,7 @@ If you run the `hermes` without any additional parameters you should see the usa ``` ``` -hermes v1.0.0-rc.2 +hermes v1.0.0 Informal Systems USAGE: diff --git a/guide/src/rest-api.md b/guide/src/rest-api.md index d74c8d46a2..68da0ce138 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": "v1.0.0-rc.2" + "version": "v1.0.0" }, { "name": "ibc-relayer-rest", diff --git a/modules/Cargo.toml b/modules/Cargo.toml index a37eab8b1b..e8d21f7cb5 100644 --- a/modules/Cargo.toml +++ b/modules/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc" -version = "0.18.0" +version = "0.19.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -27,7 +27,7 @@ mocks = ["tendermint-testgen", "clock", "std"] [dependencies] # Proto definitions for all IBC-related interfaces, e.g., connections or channels. -ibc-proto = { version = "0.20.0", path = "../proto", default-features = false } +ibc-proto = { version = "0.20.1", path = "../proto", default-features = false } ics23 = { version = "=0.8.1", default-features = false, features = ["host-functions"] } time = { version = ">=0.3.0, <0.3.12", default-features = false } serde_derive = { version = "1.0.104", default-features = false } diff --git a/proto-compiler/Cargo.lock b/proto-compiler/Cargo.lock index a349c4110c..810f4cecbc 100644 --- a/proto-compiler/Cargo.lock +++ b/proto-compiler/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "anyhow" -version = "1.0.59" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c91f1f46651137be86f3a2b9a8359f9ab421d04d941c62b5982e1ca21113adf9" +checksum = "1485d4d2cc45e7b201ee3767015c96faa5904387c9d87c6efdd0fb511f12d305" [[package]] name = "argh" @@ -77,9 +77,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axum" -version = "0.5.13" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b9496f0c1d1afb7a2af4338bbe1d969cddfead41d87a9fb3aaa6d0bbc7af648" +checksum = "9de18bc5f2e9df8f52da03856bf40e29b747de5a84e43aefff90e3dc4a21529b" dependencies = [ "async-trait", "axum-core", @@ -153,9 +153,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "either" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "fastrand" @@ -196,36 +196,36 @@ checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" [[package]] name = "futures-channel" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" +checksum = "2bfc52cbddcfd745bf1740338492bb0bd83d76c67b445f91c5fb29fae29ecaa1" dependencies = [ "futures-core", ] [[package]] name = "futures-core" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" +checksum = "d2acedae88d38235936c3922476b10fced7b2b68136f5e3c03c2d5be348a1115" [[package]] name = "futures-sink" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" +checksum = "ca0bae1fe9752cf7fd9b0064c674ae63f97b37bc714d745cbde0afb7ec4e6765" [[package]] name = "futures-task" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" +checksum = "842fc63b931f4056a24d59de13fb1272134ce261816e063e634ad0c15cdc5306" [[package]] name = "futures-util" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" +checksum = "f0828a5471e340229c11c77ca80017937ce3c58cb788a17e5f1c2d5c485a9577" dependencies = [ "futures-core", "futures-task", @@ -261,9 +261,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" +checksum = "5ca32592cf21ac7ccab1825cd87f6c9b3d9022c44d086172ed0966bec8af30be" dependencies = [ "bytes", "fnv", @@ -450,9 +450,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.127" +version = "0.2.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" +checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" [[package]] name = "libgit2-sys" @@ -547,9 +547,9 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "once_cell" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" +checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e" [[package]] name = "openssl-probe" @@ -588,18 +588,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78203e83c48cffbe01e4a2d35d566ca4de445d79a85372fc64e378bfc812a260" +checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "710faf75e1b33345361201d36d04e98ac1ed8909151a017ed384700836104c74" +checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ "proc-macro2", "quote", @@ -822,9 +822,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2" +checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" [[package]] name = "slab" diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 58d5a40743..55ab6a729d 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-proto" -version = "0.20.0" +version = "0.20.1" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" diff --git a/proto/src/lib.rs b/proto/src/lib.rs index f3d8a7647d..2b7e5f0aee 100644 --- a/proto/src/lib.rs +++ b/proto/src/lib.rs @@ -8,7 +8,7 @@ #![allow(clippy::large_enum_variant, clippy::derive_partial_eq_without_eq)] #![allow(rustdoc::bare_urls)] #![forbid(unsafe_code)] -#![doc(html_root_url = "https://docs.rs/ibc-proto/0.20.0")] +#![doc(html_root_url = "https://docs.rs/ibc-proto/0.20.1")] pub mod google; diff --git a/relayer-cli/Cargo.toml b/relayer-cli/Cargo.toml index 0634193171..a4354600f1 100644 --- a/relayer-cli/Cargo.toml +++ b/relayer-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-relayer-cli" -version = "1.0.0-rc.2" +version = "1.0.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.18.0", path = "../modules", features = ["std", "clock"] } -ibc-relayer = { version = "0.18.0", path = "../relayer" } -ibc-proto = { version = "0.20.0", path = "../proto" } -ibc-telemetry = { version = "0.18.0", path = "../telemetry", optional = true } -ibc-relayer-rest = { version = "0.18.0", path = "../relayer-rest", optional = true } +ibc = { version = "0.19.0", path = "../modules", features = ["std", "clock"] } +ibc-relayer = { version = "0.19.0", path = "../relayer" } +ibc-proto = { version = "0.20.1", path = "../proto" } +ibc-telemetry = { version = "0.19.0", path = "../telemetry", optional = true } +ibc-relayer-rest = { version = "0.19.0", path = "../relayer-rest", optional = true } clap = { version = "3.2", features = ["cargo"] } clap_complete = "3.2" diff --git a/relayer-rest/Cargo.toml b/relayer-rest/Cargo.toml index a904ad3fde..2b84488fc4 100644 --- a/relayer-rest/Cargo.toml +++ b/relayer-rest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-relayer-rest" -version = "0.18.0" +version = "0.19.0" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" @@ -14,8 +14,8 @@ description = """ """ [dependencies] -ibc = { version = "0.18.0", path = "../modules" } -ibc-relayer = { version = "0.18.0", path = "../relayer" } +ibc = { version = "0.19.0", path = "../modules" } +ibc-relayer = { version = "0.19.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 3a0d0c5a3d..1f6d2bce7a 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.18.0".to_string(), + version: "0.19.0".to_string(), }; let result = vec![version.clone(), rest_api_version]; diff --git a/relayer/Cargo.toml b/relayer/Cargo.toml index 29507100ee..8db01ecff7 100644 --- a/relayer/Cargo.toml +++ b/relayer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-relayer" -version = "0.18.0" +version = "0.19.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -21,9 +21,9 @@ profiling = [] telemetry = ["ibc-telemetry"] [dependencies] -ibc = { version = "0.18.0", path = "../modules" } -ibc-proto = { version = "0.20.0", path = "../proto" } -ibc-telemetry = { version = "0.18.0", path = "../telemetry", optional = true } +ibc = { version = "0.19.0", path = "../modules" } +ibc-proto = { version = "0.20.1", path = "../proto" } +ibc-telemetry = { version = "0.19.0", path = "../telemetry", optional = true } subtle-encoding = "0.5" humantime-serde = "1.1.1" @@ -91,7 +91,7 @@ default-features = false version = "=0.23.9" [dev-dependencies] -ibc = { version = "0.18.0", path = "../modules", features = ["mocks"] } +ibc = { version = "0.19.0", path = "../modules", features = ["mocks"] } serial_test = "0.9.0" env_logger = "0.9.0" tracing-subscriber = { version = "0.3.14", features = ["fmt", "env-filter", "json"] } diff --git a/telemetry/Cargo.toml b/telemetry/Cargo.toml index 7d163a3dc5..c83dbc109e 100644 --- a/telemetry/Cargo.toml +++ b/telemetry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-telemetry" -version = "0.18.0" +version = "0.19.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -13,7 +13,7 @@ description = """ """ [dependencies] -ibc = { version = "0.18.0", path = "../modules" } +ibc = { version = "0.19.0", path = "../modules" } crossbeam-channel = "0.5.5" once_cell = "1.13.0" diff --git a/tools/integration-test/Cargo.toml b/tools/integration-test/Cargo.toml index a1808b34ec..3102151373 100644 --- a/tools/integration-test/Cargo.toml +++ b/tools/integration-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-integration-test" -version = "0.18.0" +version = "0.19.0" edition = "2021" license = "Apache-2.0" readme = "README.md" diff --git a/tools/test-framework/Cargo.toml b/tools/test-framework/Cargo.toml index de217285a0..4264d38128 100644 --- a/tools/test-framework/Cargo.toml +++ b/tools/test-framework/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-test-framework" -version = "0.18.0" +version = "0.19.0" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -14,10 +14,10 @@ description = """ """ [dependencies] -ibc = { version = "=0.18.0", path = "../../modules" } -ibc-relayer = { version = "=0.18.0", path = "../../relayer" } -ibc-relayer-cli = { version = "=1.0.0-rc.2", path = "../../relayer-cli" } -ibc-proto = { version = "=0.20.0", path = "../../proto" } +ibc = { version = "=0.19.0", path = "../../modules" } +ibc-relayer = { version = "=0.19.0", path = "../../relayer" } +ibc-relayer-cli = { version = "=1.0.0", path = "../../relayer-cli" } +ibc-proto = { version = "=0.20.1", path = "../../proto" } tendermint = { version = "=0.23.9" } tendermint-rpc = { version = "=0.23.9", features = ["http-client", "websocket-client"] }