From 52728c8526ae29b1f994a683bc081c57531068b3 Mon Sep 17 00:00:00 2001 From: Bernd Mueller Date: Wed, 17 Apr 2024 16:09:16 +0200 Subject: [PATCH 1/3] update changelog --- .../provider/1740-oldest-unconfirm-vsc-query.md | 0 .../{features => state-breaking}/1764-bump-ibc.md | 0 .changelog/v4.1.0/summary.md | 4 +--- CHANGELOG.md | 15 ++++++++++++--- 4 files changed, 13 insertions(+), 6 deletions(-) rename .changelog/{unreleased => v4.1.0}/features/provider/1740-oldest-unconfirm-vsc-query.md (100%) rename .changelog/v4.1.0/{features => state-breaking}/1764-bump-ibc.md (100%) diff --git a/.changelog/unreleased/features/provider/1740-oldest-unconfirm-vsc-query.md b/.changelog/v4.1.0/features/provider/1740-oldest-unconfirm-vsc-query.md similarity index 100% rename from .changelog/unreleased/features/provider/1740-oldest-unconfirm-vsc-query.md rename to .changelog/v4.1.0/features/provider/1740-oldest-unconfirm-vsc-query.md diff --git a/.changelog/v4.1.0/features/1764-bump-ibc.md b/.changelog/v4.1.0/state-breaking/1764-bump-ibc.md similarity index 100% rename from .changelog/v4.1.0/features/1764-bump-ibc.md rename to .changelog/v4.1.0/state-breaking/1764-bump-ibc.md diff --git a/.changelog/v4.1.0/summary.md b/.changelog/v4.1.0/summary.md index 013f265ff7..25da253514 100644 --- a/.changelog/v4.1.0/summary.md +++ b/.changelog/v4.1.0/summary.md @@ -1,3 +1 @@ - +*April 17, 2024* \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fb454e992e..826f70a57a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,16 @@ ## v4.1.0 - +*April 17, 2024* ### DEPENDENCIES - Bump [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to [v0.47.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.10). ([\#1663](https://github.com/cosmos/interchain-security/pull/1663)) +- Bump [ibc-go](https://github.com/cosmos/ibc-go) to + [v7.4.0](https://github.com/cosmos/ibc-go/releases/tag/v7.4.0). + ([\#1764](https://github.com/cosmos/interchain-security/pull/1764)) ### FEATURES @@ -18,6 +19,10 @@ - Introduce epochs (i.e., send a VSCPacket every X blocks instead of in every block) so that we reduce the cost of relaying IBC packets needed for ICS. ([\#1516](https://github.com/cosmos/interchain-security/pull/1516)) + - Introduce the gRPC query `/interchain_security/ccv/provider/oldest_unconfirmed_vsc/{chain_id}` + and CLI command `interchain-security-pd q provider oldest_unconfirmed_vsc` + to retrieve the send timestamp of the oldest unconfirmed VSCPacket by chain id. + ([\#1740](https://github.com/cosmos/interchain-security/pull/1740)) ### IMPROVEMENTS @@ -27,6 +32,10 @@ ### STATE BREAKING +- General + - Bump [ibc-go](https://github.com/cosmos/ibc-go) to + [v7.4.0](https://github.com/cosmos/ibc-go/releases/tag/v7.4.0). + ([\#1764](https://github.com/cosmos/interchain-security/pull/1764)) - [Provider](x/ccv/provider) - Introduce epochs (i.e., send a VSCPacket every X blocks instead of in every block) so that we reduce the cost of relaying IBC packets needed for ICS. From deb09df2bf6a63793f54f4b89d8b187c7a14a210 Mon Sep 17 00:00:00 2001 From: Bernd Mueller Date: Wed, 17 Apr 2024 16:19:10 +0200 Subject: [PATCH 2/3] update release notes --- RELEASE_NOTES.md | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5d5ad1eb62..7b7d6ab3cd 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,37 +1,17 @@ - - -# Replicated Security Release Notes +# Replicated Security v4.1.0 Release Notes -❗ ***Note this release is ONLY relevant to *** +❗ ***Note this release is ONLY relevant to providers*** ## 📝 Changelog -** REMOVE THE LINE BELOW TO ENABLE THE MARKDOWN LINK CHECKER FOR RELEASE ** - - -Check out the [changelog](https://github.com/cosmos/interchain-security/blob//CHANGELOG.md) for a list of relevant changes or [compare all changes](https://github.com/cosmos/interchain-security/compare/release/...) from last release. +Check out the [changelog](https://github.com/cosmos/interchain-security/blob/v4.1.0/CHANGELOG.md) for a list of relevant changes or [compare all changes](https://github.com/cosmos/interchain-security/compare/v4.0.0...v4.1.0) from last release. -Refer to the [upgrading guide](https://github.com/cosmos/interchain-security/blob/release//UPGRADING.md) when migrating from `` to ``. +Refer to the [upgrading guide](https://github.com/cosmos/interchain-security/blob/release/v4.1.x/UPGRADING.md) when migrating from `v4.0.x` to `v4.1.x`. -** REMOVE THE LINE BELOW TO ENABLE THE MARKDOWN LINK CHECKER FOR RELEASE ** - ## 🚀 Highlights - - - -## ❤️ Contributors - -* Informal Systems ([@informalinc](https://twitter.com/informalinc)) - - -This list is non-exhaustive and ordered alphabetically. -Thank you to everyone who contributed to this release! +This release introduces epochs that reduce the costs of relaying IBC packets for ICS. +In addition it introduces queries to retrieve the send timestamp of the oldest unconfirmed VSCPacket by chain id and +for current values of all provider parameters. From 39ff596e4f4bb9fab6c1d3bf2d17fdf122ab19e6 Mon Sep 17 00:00:00 2001 From: Bernd Mueller Date: Wed, 17 Apr 2024 16:20:58 +0200 Subject: [PATCH 3/3] updated upgrading instructions --- UPGRADING.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index 4eb4540599..64710e5bde 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -2,7 +2,7 @@ This guide provides instructions for upgrading to specific versions of Replicated Security. -## [v4.1.x](https://github.com/cosmos/interchain-security/releases/tag/v4.1.0-rc2) and [v4.1.x-lsm](https://github.com/cosmos/interchain-security/releases/tag/v4.1.0-lsm-rc2) +## [v4.1.x](https://github.com/cosmos/interchain-security/releases/tag/v4.1.0) and [v4.1.x-lsm](https://github.com/cosmos/interchain-security/releases/tag/v4.1.0-lsm) ### Provider @@ -15,17 +15,17 @@ as well as the corresponding migrators [here](https://github.com/cosmos/intercha ## [v4.0.x](https://github.com/cosmos/interchain-security/tree/release/v4.0.x) -`v4.0.x` sets the minimum required version of Go to `1.21`, see https://github.com/cosmos/interchain-security/blob/release/v4.0.x/go.mod#L3. +`v4.0.x` sets the minimum required version of Go to `1.21`, see https://github.com/cosmos/interchain-security/blob/release/v4.0.x/go.mod#L3. -### Provider +### Provider -Upgrading a provider from `v3.3.0` to `v4.0.0` will require state migrations, see https://github.com/cosmos/interchain-security/blob/release/v4.0.x/x/ccv/provider/migrations/migrator.go#L31. +Upgrading a provider from `v3.3.0` to `v4.0.0` will require state migrations, see https://github.com/cosmos/interchain-security/blob/release/v4.0.x/x/ccv/provider/migrations/migrator.go#L31. -### Consumer +### Consumer -***Note that consumer chains can upgrade directly from `v3.1.0` to `v4.0.0`.*** +***Note that consumer chains can upgrade directly from `v3.1.0` to `v4.0.0`.*** -Upgrading a consumer from `v3.2.0` to `v4.0.0` will not require state migration, however, upgrading directly from `v3.1.0` to `v4.0.0` will require state migrations, see https://github.com/cosmos/interchain-security/blob/release/v4.0.x/x/ccv/consumer/keeper/migrations.go#L22. +Upgrading a consumer from `v3.2.0` to `v4.0.0` will not require state migration, however, upgrading directly from `v3.1.0` to `v4.0.0` will require state migrations, see https://github.com/cosmos/interchain-security/blob/release/v4.0.x/x/ccv/consumer/keeper/migrations.go#L22. In addition, the following migration needs to be added to the upgrade handler of the consumer chain: ```golang @@ -49,15 +49,15 @@ func migrateICSOutstandingDowntime(ctx sdk.Context, keepers *upgrades.UpgradeKee ## [v3.3.x](https://github.com/cosmos/interchain-security/tree/release/v3.2.x) -### Provider +### Provider -Upgrading the provider from `v2.x.y` to `v3.3.0` will not require state migration. +Upgrading the provider from `v2.x.y` to `v3.3.0` will not require state migration. ## [v3.2.x](https://github.com/cosmos/interchain-security/tree/release/v3.2.x) `v3.2.0` bumps IBC to `v7.3`. As a result, `legacy_ibc_testing` is not longer required and was removed, see https://github.com/cosmos/interchain-security/pull/1185. This means that when upgrading to `v3.2.0`, any customized tests relying on `legacy_ibc_testing` need to be updated. -### Consumer +### Consumer Upgrading the consumer from either `v3.0.0` or `v3.1.0` to `v3.2.0` will require state migrations, see https://github.com/cosmos/interchain-security/blob/release/v3.2.x/x/ccv/consumer/keeper/migration.go#L25. @@ -67,13 +67,13 @@ Upgrading the consumer from either `v3.0.0` or `v3.1.0` to `v3.2.0` will require The following should be considered as complementary to [Cosmos SDK v0.47 UPGRADING.md](https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-rc2/UPGRADING.md). -#### Protobuf +#### Protobuf Protobuf code generation, linting and formatting have been updated to leverage the `ghcr.io/cosmos/proto-builder:0.11.5` docker container. Replicated Security protobuf definitions are now packaged and published to [buf.build/cosmos/interchain-security](https://buf.build/cosmos/interchain-security) via CI workflows. The `third_party/proto` directory has been removed in favour of dependency management using [buf.build](https://docs.buf.build/introduction). #### App modules -Legacy APIs of the `AppModule` interface have been removed from ccv modules. For example, for +Legacy APIs of the `AppModule` interface have been removed from ccv modules. For example, for ```diff - // Route implements the AppModule interface @@ -123,10 +123,10 @@ import ( ## [v2.0.x](https://github.com/cosmos/interchain-security/releases/tag/v2.0.0) -### Provider +### Provider Upgrading a provider from `v1.1.0-multiden` to `v2.0.0` will require state migrations. See [migration.go](https://github.com/cosmos/interchain-security/blob/v2.0.0/x/ccv/provider/keeper/migration.go). ### Consumer -Upgrading a consumer from `v1.2.0-multiden` to `v2.0.0` will NOT require state migrations. \ No newline at end of file +Upgrading a consumer from `v1.2.0-multiden` to `v2.0.0` will NOT require state migrations. \ No newline at end of file