From 37fa67e83d14594c7fee893c3b81753d0d5736ac Mon Sep 17 00:00:00 2001 From: Romain Ruetschi <106849+romac@users.noreply.github.com> Date: Fri, 5 Jan 2024 09:37:05 +0100 Subject: [PATCH 1/4] Bump compatiblity check for SDK 0.50 and IBC-Go v8 --- .../improvements/ibc-relayer-cli/3745-compat-0.50.md | 2 ++ crates/relayer/src/chain/cosmos/compatibility.rs | 4 ++-- guide/src/advanced/features.md | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md diff --git a/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md b/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md new file mode 100644 index 0000000000..edae5b4a6a --- /dev/null +++ b/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md @@ -0,0 +1,2 @@ +- Update compatibility check to allow IBC-Go v8 and SDK v0.50 + ([\#3745](https://github.com/informalsystems/hermes/issues/3745)) \ No newline at end of file diff --git a/crates/relayer/src/chain/cosmos/compatibility.rs b/crates/relayer/src/chain/cosmos/compatibility.rs index f98b38865a..31a8a12aab 100644 --- a/crates/relayer/src/chain/cosmos/compatibility.rs +++ b/crates/relayer/src/chain/cosmos/compatibility.rs @@ -10,7 +10,7 @@ use super::version; /// # Note: Should be consistent with [features] guide page. /// /// [features]: https://hermes.informal.systems/advanced/features.html -const SDK_MODULE_VERSION_REQ: &str = ">=0.44, <0.48"; +const SDK_MODULE_VERSION_REQ: &str = ">=0.44, <0.51"; /// Specifies the IBC-go module version requirement. /// At the moment, we support both chains with and without @@ -20,7 +20,7 @@ const SDK_MODULE_VERSION_REQ: &str = ">=0.44, <0.48"; /// # Note: Should be consistent with [features] guide page. /// /// [features]: https://hermes.informal.systems/advanced/features.html -const IBC_GO_MODULE_VERSION_REQ: &str = ">=1.1, <=7"; +const IBC_GO_MODULE_VERSION_REQ: &str = ">=1.1, <9"; #[derive(Error, Debug)] pub enum Diagnostic { diff --git a/guide/src/advanced/features.md b/guide/src/advanced/features.md index 2f37930e9b..c60aac5d4a 100644 --- a/guide/src/advanced/features.md +++ b/guide/src/advanced/features.md @@ -4,8 +4,8 @@ This section includes a summary of the supported and planned features. It also i > **Cosmos SDK & IBC compatibility:** > Hermes supports Cosmos SDK chains implementing the [IBC protocol v1][ibcv1-proto] protocol specification. -> Cosmos SDK versions `0.44.0` through `0.47.x` are officially supported. -> IBC-go versions `1.1.*` thorough `7.*` are officially supported. +> Cosmos SDK versions `0.44.0` through `0.50.x` are officially supported. +> IBC-go versions `1.1.*` through `8.*` are officially supported. > In case Hermes finds an incompatible SDK or IBC-go version, it will output a log warning upon initialization as part of the `start` command or upon `health-check` command. --- From bd5e95f0432604b69b1795cb89050acd1c808a04 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi <106849+romac@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:11:57 +0100 Subject: [PATCH 2/4] Bump lower bounds to IBC-Go v4.1.1 and SDK 0.45.0 --- .../improvements/ibc-relayer-cli/3745-compat-0.50.md | 4 ++-- crates/relayer/src/chain/cosmos/compatibility.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md b/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md index edae5b4a6a..bc891fd71b 100644 --- a/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md +++ b/.changelog/unreleased/improvements/ibc-relayer-cli/3745-compat-0.50.md @@ -1,2 +1,2 @@ -- Update compatibility check to allow IBC-Go v8 and SDK v0.50 - ([\#3745](https://github.com/informalsystems/hermes/issues/3745)) \ No newline at end of file +- Update compatibility check to allow IBC-Go 4.1.1 to 8.x and SDK 0.45.x to 0.50.x. + ([\#3745](https://github.com/informalsystems/hermes/issues/3745)) diff --git a/crates/relayer/src/chain/cosmos/compatibility.rs b/crates/relayer/src/chain/cosmos/compatibility.rs index 31a8a12aab..990fc0b60a 100644 --- a/crates/relayer/src/chain/cosmos/compatibility.rs +++ b/crates/relayer/src/chain/cosmos/compatibility.rs @@ -10,7 +10,7 @@ use super::version; /// # Note: Should be consistent with [features] guide page. /// /// [features]: https://hermes.informal.systems/advanced/features.html -const SDK_MODULE_VERSION_REQ: &str = ">=0.44, <0.51"; +const SDK_MODULE_VERSION_REQ: &str = ">=0.45, <0.51"; /// Specifies the IBC-go module version requirement. /// At the moment, we support both chains with and without @@ -20,7 +20,7 @@ const SDK_MODULE_VERSION_REQ: &str = ">=0.44, <0.51"; /// # Note: Should be consistent with [features] guide page. /// /// [features]: https://hermes.informal.systems/advanced/features.html -const IBC_GO_MODULE_VERSION_REQ: &str = ">=1.1, <9"; +const IBC_GO_MODULE_VERSION_REQ: &str = ">=4.1.1, <9"; #[derive(Error, Debug)] pub enum Diagnostic { From b0d60365ccd70974818fed9c90adc2ca2f8f4dc4 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Fri, 5 Jan 2024 10:46:35 +0100 Subject: [PATCH 3/4] Update compat range in guide Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Signed-off-by: Romain Ruetschi --- guide/src/advanced/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/advanced/features.md b/guide/src/advanced/features.md index c60aac5d4a..1d6612c702 100644 --- a/guide/src/advanced/features.md +++ b/guide/src/advanced/features.md @@ -5,7 +5,7 @@ This section includes a summary of the supported and planned features. It also i > **Cosmos SDK & IBC compatibility:** > Hermes supports Cosmos SDK chains implementing the [IBC protocol v1][ibcv1-proto] protocol specification. > Cosmos SDK versions `0.44.0` through `0.50.x` are officially supported. -> IBC-go versions `1.1.*` through `8.*` are officially supported. +> IBC-go versions `4.1.1` through `8.x` are officially supported. > In case Hermes finds an incompatible SDK or IBC-go version, it will output a log warning upon initialization as part of the `start` command or upon `health-check` command. --- From 250551d6bc4ff5d5a8049b051e6b84693f775abf Mon Sep 17 00:00:00 2001 From: Luca Joss <43531661+ljoss17@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:16:48 +0100 Subject: [PATCH 4/4] Update guide/src/advanced/features.md Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> --- guide/src/advanced/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/advanced/features.md b/guide/src/advanced/features.md index 1d6612c702..6af3001987 100644 --- a/guide/src/advanced/features.md +++ b/guide/src/advanced/features.md @@ -4,7 +4,7 @@ This section includes a summary of the supported and planned features. It also i > **Cosmos SDK & IBC compatibility:** > Hermes supports Cosmos SDK chains implementing the [IBC protocol v1][ibcv1-proto] protocol specification. -> Cosmos SDK versions `0.44.0` through `0.50.x` are officially supported. +> Cosmos SDK versions `0.45.0` through `0.50.x` are officially supported. > IBC-go versions `4.1.1` through `8.x` are officially supported. > In case Hermes finds an incompatible SDK or IBC-go version, it will output a log warning upon initialization as part of the `start` command or upon `health-check` command.