From 2ec3ca43082f453e3da1dcc78be12ee1d9c59e84 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Fri, 5 Jan 2024 13:10:25 +0100 Subject: [PATCH] Bump compatiblity check for SDK 0.50 and IBC-Go v8 (#3749) * Bump compatiblity check for SDK 0.50 and IBC-Go v8 * Bump lower bounds to IBC-Go v4.1.1 and SDK 0.45.0 * Update compat range in guide Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Signed-off-by: Romain Ruetschi * Update guide/src/advanced/features.md Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> --------- Signed-off-by: Romain Ruetschi Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> --- .../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..bc891fd71b --- /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 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 f98b38865a..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.48"; +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.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 = ">=4.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..6af3001987 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.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. ---