From 30005902fe402f1d47bc665bec1dcad14dc091be Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Thu, 25 Apr 2024 10:24:44 -0500 Subject: [PATCH 01/12] Add 0.52 release summary --- .changelog/unreleased/summary.md | 5 + CHANGELOG.md | 389 ++++++++++++++++++------------- 2 files changed, 238 insertions(+), 156 deletions(-) create mode 100644 .changelog/unreleased/summary.md diff --git a/.changelog/unreleased/summary.md b/.changelog/unreleased/summary.md new file mode 100644 index 000000000..3ae16b3c3 --- /dev/null +++ b/.changelog/unreleased/summary.md @@ -0,0 +1,5 @@ + diff --git a/CHANGELOG.md b/CHANGELOG.md index 63a24bed5..5119cb320 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,83 @@ # CHANGELOG +## v0.52.0 + +This release adds many exciting changes, improvements, and new features to ibc-rs. +First and foremost, support for the IBC protocol's [client recovery][client-recovery] +mechanism has been implemented; this provides a route for frozen and expired IBC clients +to be re-instated following a successful governance vote. In addition, a new crate, +`ibc-client-cw`, facilitates CosmWasm contract creation for light clients built using +`ibc-rs`. + +Another exciting improvement introduced in this release is a major overhaul of `ibc-testkit`. +The main goal was to overhaul ibc-rs's test framework to be more modular, streamlined, and +akin to a real blockchain environment. For a much more in-depth overview of the changes +made to `ibc-testkit`, please refer to [ADR 009][adr-009]. + +Of course, this release also includes a myriad of other bug-fixes and improvements, +such as enhancing the portability of ibc-rs's Validation and Execution Context traits, +among many others. + +Finally, the minimum-supported Rust version has been updated to `1.72`. + +There are no consensus-breaking changes as part of this release. + +[adr-009]: https://github.com/cosmos/ibc-rs/blob/rano/testkit/adr-009/docs/architecture/adr-009-revamp-testkit.md + +### BREAKING CHANGES + +- [ibc] Enhance portability of custom `Validation/ExecutionContext` traits under + ICS-07. They are relocated, along with the rest of the + client-relevant context APIs, under ICS-02, with the traits renamed to + `ExtClientValidationContext` and `ExtClientExecutionContext` for improved + self-description ([\#1163](https://github.com/cosmos/ibc-rs/issues/1163)) +- [ibc-client-tendermint] Simplify custom verifiers usage for Tendermint + clients by directly binding with `tendermint_light_client_verifier::Verifier` + and removing the unused `TmVerifier` trait. + ([\#1168](https://github.com/cosmos/ibc-rs/pull/1168)) + +### BUG FIXES + +- [ibc-query] Update standalone query functions to use the specified query + height ([\#1154](https://github.com/cosmos/ibc-rs/issues/1154)) +- [ibc-core-channel-types] Make receive packet event type identifier consistent + with `ibc-go`. ([\#1180](https://github.com/cosmos/ibc-rs/issues/1180)) + +### FEATURES + +- [ibc-core-client] Implement [client recovery][client-recovery] feature. + ([\#738](https://github.com/cosmos/ibc-rs/issues/738)) + +[client-recovery]: https://github.com/cosmos/ibc-go/blob/main/docs/architecture/adr-026-ibc-client-recovery-mechanisms.md + +- [ibc-clients] Introduce CosmWasm context library as `ibc-client-cw` crate to + facilitate CosmWasm contract creation for light clients built using `ibc-rs` + ([\#1164](https://github.com/cosmos/ibc-rs/issues/1164)) +- [ibc-client-tendermint] Introduce `ibc-client-tendermint-cw` crate + implementing CosmWasm contract for ICS-07 Tendermint light client. + ([\#1165](https://github.com/cosmos/ibc-rs/issues/1165)) + +### IMPROVEMENTS + +- [ibc-client-tendermint-types] Box header fields inside of Misbehaviour type so + that the type is smaller (i.e. trade size of the type for heap memory). This + prevents stack overflows on systems with small stack (e.g. Solana). + ([\#1145](https://github.com/cosmos/ibc-rs/pull/1145)) +- [ibc-client-tendermint] Decouple the arguments of ICS07 Header/Misbehavior + verification functions from the Tendermint client type by flattening and + passing only the required fields. + ([\#1149](https://github.com/cosmos/ibc-rs/issues/1149)) +- [ibc-query] Add support for querying `upgraded_client/consensus_state` at a + given height along with returning their proof of existence in the response. + ([\#1152](https://github.com/cosmos/ibc-rs/issues/1152)) +- [ibc-client-tendermint] Add `into_inner()` method to ICS07 `ConsensusState` + ([\#1156](https://github.com/cosmos/ibc-rs/pull/1156)) +- Update `ibc-proto` to v0.43.0 and `tendermint` dependencies to v0.35.0. + ([#1171](https://github.com/cosmos/ibc-rs/issues/1171)) + ## v0.51.0 -*March 26, 2024* +_March 26, 2024_ This release introduces a few changes for better customizability. The main one is modularizing ICS-24, ICS-02, and ICS-07 trait implementations. This change empowers developers to write Rust light clients succinctly in a smart-contract context like CosmWasm. Also, the default Tendermint client state verifier is now detached to support custom verifiers, if required. @@ -22,9 +97,9 @@ There are no consensus-breaking changes. ([\#835](https://github.com/cosmos/ibc-rs/issues/835)) - [ibc-core-client] Merge client update time and height modification method pairs into one, that is replace - a) client_update_{time,height} by update_meta, - b) store_update_{time,height} by store_update_meta and - c) delete_update_{time,height} by delete_update_meta. + a) client*update*{time,height} by update*meta, + b) store_update*{time,height} by store*update_meta and + c) delete_update*{time,height} by delete_update_meta. ([\#973](https://github.com/cosmos/ibc-rs/issues/973)) - [ibc] Refactor client relevant APIs for improved modularity and allow standalone ICS-02 integration @@ -89,7 +164,7 @@ There are no consensus-breaking changes. ## v0.50.0 -*January 24, 2024* +_January 24, 2024_ This release introduces several noteworthy libraries. A standout addition is the implementation of the ICS-721 NFT transfer application, enabling the transfer of @@ -147,7 +222,7 @@ There are no consensus-breaking changes. ## v0.49.1 -*January 3, 2024* +_January 3, 2024_ This release continues the trend of further decoupling dependencies between the different ibc-rs sub-crates and modules. @@ -182,7 +257,7 @@ There are no consensus-breaking changes. - Now `prost` is only imported in `ibc-primitives` crate - Remove error variants originating from `prost` (Breaking change) - Eliminate the need for the `bytes` dependency - ([\#997](https://github.com/cosmos/ibc-rs/issues/997)) + ([\#997](https://github.com/cosmos/ibc-rs/issues/997)) - `[ibc-core-host-types]` Introduce `ClientType::build_client_id` which avoids unnecessary validation. ([#1014](https://github.com/cosmos/ibc-rs/issues/1014)) - `[ibc-core-host-types]` Optimise `ClientId::new` to avoid unnecessary validation and temporary @@ -201,7 +276,7 @@ There are no consensus-breaking changes. including `std` and `schema` features for `ibc-core`. ([\#992](https://github.com/cosmos/ibc-rs/pull/992)) - `[ibc-primitives]` streamline `Msg` trait and rename to `ToProto` - ([#993](https://github.com/cosmos/ibc-rs/issues/993)) + ([#993](https://github.com/cosmos/ibc-rs/issues/993)) - `[ibc-core-host-types]` Implement custom JSON and Borsh deserialization for `ChainId` ([#996](https://github.com/cosmos/ibc-rs/pull/1013)) - `[ibc-core-client-types]` Add a convenient `Status::verify_is_active` method. ([#1005](https://github.com/cosmos/ibc-rs/pull/1005)) @@ -213,7 +288,7 @@ There are no consensus-breaking changes. ## v0.48.2 -*December 22, 2023* +_December 22, 2023_ This patch release resolves two issues. It corrects the packet sequence number encoding within Timeout message handlers to align with the big-endian format and @@ -231,7 +306,7 @@ There are no consensus-breaking changes. ## v0.48.1 -*November 27, 2023* +_November 27, 2023_ This patch release eliminates the `dep:` syntax from the `serde` feature, addressing potential dependency resolution issue stemming from Rust v1.70. @@ -248,7 +323,7 @@ There are no consensus-breaking changes. ## v0.48.0 -*November 22, 2023* +_November 22, 2023_ In this release, we've undertaken a comprehensive overhaul of the **`ibc-rs`** repository, resulting in a strategic reorganization of the codebase. This @@ -327,11 +402,11 @@ There are no consensus-breaking changes. - `TYPE_URL` constants. - Any private fields within the domain message types. - Any private fields within the Tendermint `ClientState` and `ConsensusState` - ([\#976](https://github.com/cosmos/ibc-rs/issues/976)) + ([\#976](https://github.com/cosmos/ibc-rs/issues/976)) ## v0.47.0 -*October 19, 2023* +_October 19, 2023_ This release adds necessary APIs for featuring consensus state pruning and implements pertaining logic for Tendermint light clients. This prevents @@ -352,6 +427,7 @@ There are no consensus-breaking changes. ([\#538](https://github.com/cosmos/ibc-rs/issues/538)) - Fix compilation issue with Wasm envs because of floats. ([\#850](https://github.com/cosmos/ibc-rs/issues/850)) + - Use `serde-json-wasm` dependency instead of `serde-json` for no-floats support - Add CI test to include CosmWasm compilation check @@ -365,7 +441,7 @@ There are no consensus-breaking changes. ## v0.46.0 -*October 12, 2023* +_October 12, 2023_ This release introduces vital bug fixes, including removal of an incorrect validation during a Tendermint client update and the addition of a missing state @@ -389,8 +465,8 @@ There are consensus-breaking changes. - Remove an incorrect validation during tendermint client update ([\#911](https://github.com/cosmos/ibc-rs/issues/911)) - Add missing update in the state, which should include the host's height and - timestamp when a successful client upgrade take place. - ([\#913](https://github.com/cosmos/ibc-rs/issues/913)) + timestamp when a successful client upgrade take place. + ([\#913](https://github.com/cosmos/ibc-rs/issues/913)) ### IMPROVEMENTS @@ -399,12 +475,12 @@ There are consensus-breaking changes. - Enhance IBC query methods usability and code organization - The implementation of query methods is now publicly accessible as standalone functions. - `grpc` feature now lives as a separate crate called as `ibc-query` - ([#896](https://github.com/cosmos/ibc-rs/issues/896)) + ([#896](https://github.com/cosmos/ibc-rs/issues/896)) - Re-export ibc proto types from `ibc-proto-rs`` for dep ## v0.45.0 -*September 20, 2023* +_September 20, 2023_ This release introduces a new API under the `grpc` feature flag, which has ibc-rs expose grpc endpoints that the hermes relayer needs. Furthermore, `no_std` support for the `serde` feature has been restored, accompanied by other miscellaneous changes. There are no consensus-breaking changes. @@ -457,7 +533,7 @@ There are no consensus-breaking changes. ## v0.44.2 -*October 12, 2023* +_October 12, 2023_ This release is a critical patch release that introduces a vital fix by removing an incorrect validation during a Tendermint client update. @@ -466,7 +542,7 @@ There are no consensus-breaking changes. ## v0.44.1 -*August 4, 2023* +_August 4, 2023_ This release fixes a bug with the `UpdateClient` event where the `header` field was not properly encoded. @@ -482,7 +558,7 @@ There are no consensus-breaking changes. ## v0.44.0 -*August 4, 2023* +_August 4, 2023_ The goal with this release was to replace `ClientState::{confirm_not_frozen, expired}()` with `ClientState::status()` ([#536](https://github.com/cosmos/ibc-rs/issues/536)). Updating basecoin-rs with the new changes exposed the shortcomings of having `SendPacket*Context` be supertraits of `TokenTransfer*Context`, which in turned exposed the shortcomings of having `Router` be a supertrait of `ValidationContext`. Hence, we decoupled everything! @@ -497,11 +573,11 @@ There are consensus-breaking changes. - Decouple `Router` from `ValidationContext` ([#788](https://github.com/cosmos/ibc-rs/pull/788)) - Simplify Module lookup in the `Router` trait - ([#802](https://github.com/cosmos/ibc-rs/issues/802)) + ([#802](https://github.com/cosmos/ibc-rs/issues/802)) ## v0.43.1 -*July 31, 2023* +_July 31, 2023_ This release bumps ibc-proto to v0.32.1, resolving issue with token transfer deserialization for cases with no memo field provided. It also includes various @@ -545,7 +621,7 @@ There are consensus-breaking changes. ## v0.42.0 -*July 5, 2023* +_July 5, 2023_ This release primarily implements ADR 7. It also includes a number of miscellaneous improvements. @@ -554,13 +630,13 @@ There are no consensus-breaking changes. ### BREAKING CHANGES - Implement ADR 7, where `ClientState` objects are now statically dispatched instead - of dynamically dispatched. -([#296](https://github.com/cosmos/ibc-rs/issues/296)) + of dynamically dispatched. + ([#296](https://github.com/cosmos/ibc-rs/issues/296)) - Revise the `verify_upgrade_client` method to utilize the domain-specific `MerkleProof` type ([#691](https://github.com/cosmos/ibc-rs/issues/691)) - Revise the `ChainId::new` method so that rather than taking String argument - it borrows a str. ([#721](https://github.com/cosmos/ibc-rs/issues/721)) + it borrows a str. ([#721](https://github.com/cosmos/ibc-rs/issues/721)) - Modify `MsgUpgradeClient` struct to utilize `CommitmentProofBytes` and apply some refinements around upgrade client methods and impls respectively. ([#739](https://github.com/cosmos/ibc-rs/issues/739)) @@ -585,7 +661,7 @@ There are no consensus-breaking changes. ## v0.41.0 -*May 23, 2023* +_May 23, 2023_ This release bumps ibc-proto to v0.30.0 and tendermint to v0.31, and provides utilities for chain upgrades (Tendermint only). @@ -593,7 +669,7 @@ There are consensus-breaking changes. ### BREAKING CHANGES -- Support for upgrade client proposal by featuring helper contexts and domain types +- Support for upgrade client proposal by featuring helper contexts and domain types ([#420](https://github.com/cosmos/ibc-rs/issues/420)) - Remove unused `ClientState` methods ([#681](https://github.com/cosmos/ibc-rs/issues/681)) @@ -619,13 +695,13 @@ There are consensus-breaking changes. - Exclude `ClientState::new()` checks from proto ClientState conversion ([#671](https://github.com/cosmos/ibc-rs/issues/671)) - Remove redundant #[allow(clippy::too_many_arguments)] - ([#674](https://github.com/cosmos/ibc-rs/issues/674)) + ([#674](https://github.com/cosmos/ibc-rs/issues/674)) - Token transfer: Make `Amount` type less restrictive ([#684](https://github.com/cosmos/ibc-rs/issues/684)) ## v0.40.0 -*May 8, 2023* +_May 8, 2023_ This release primarily consolidated the modules in the ibc-rs crate, removed many legacy items, and documented every item in the crate. This represents a big step towards v1.0. Very few items changed name; most were just moved to elsewhere in the module tree. Perhaps a good heuristic to fix the breaking changes is the remove the faulty `use` statements, and have your editor re-import the item. @@ -645,7 +721,7 @@ There are consensus-breaking changes. ### FEATURES -- Add parity-scale-codec, borsh, serde feature for *Path +- Add parity-scale-codec, borsh, serde feature for \*Path ([#652](https://github.com/cosmos/ibc-rs/issues/652)) ### IMPROVEMENTS @@ -655,7 +731,7 @@ There are consensus-breaking changes. ## v0.39.0 -*May 2, 2023* +_May 2, 2023_ This release primarily adds support for the `memo` field to the token transfer app (ICS 20). This required updating ibc-proto-rs and tendermint-rs dependencies @@ -678,7 +754,7 @@ There are consensus-breaking changes. ## v0.38.0 -*April 24, 2023* +_April 24, 2023_ This release involves splitting the newly defined `MsgUpdateClient` type in v0.37.0 into distinct IBC message structs: `MsgUpdateClient` and @@ -708,7 +784,7 @@ There are consensus-breaking changes ## v0.37.0 -*April 13, 2023* +_April 13, 2023_ This release primarily updates `ClientState` to adopt a better API for client updates and misbehaviour detection, borrowed from ibc-go's ADR 6. In the process of updating the API, a few bugs were found in the tendermint light client and fixed. @@ -716,7 +792,7 @@ There are consensus-breaking changes. ### BREAKING CHANGES -- `ClientState`: Split `check_misbehaviour_and_update_state` +- `ClientState`: Split `check_misbehaviour_and_update_state` and `check_header_and_update_state` ([#535](https://github.com/cosmos/ibc-rs/issues/535)) - Improve MsgTransfer struct @@ -728,14 +804,14 @@ There are consensus-breaking changes. ### BUG FIXES - Disallow creation of new Tendermint client state instance with a frozen height - ([#178](https://github.com/cosmos/ibc-rs/issues/178)) + ([#178](https://github.com/cosmos/ibc-rs/issues/178)) - Emit a message event for SendPacket ([#574](https://github.com/cosmos/ibc-rs/issues/574)) -- Properly convert from `Any` to `MsgEnvelope` +- Properly convert from `Any` to `MsgEnvelope` ([#578](https://github.com/cosmos/ibc-rs/issues/578)) -- Tendermint light client: fix missing trusted_validator_set +- Tendermint light client: fix missing trusted_validator_set hash check ([#583](https://github.com/cosmos/ibc-rs/issues/583)) -- Tendermint light client: fix missing `Header.height()` +- Tendermint light client: fix missing `Header.height()` vs `Header.trusted_height` check ([#585](https://github.com/cosmos/ibc-rs/issues/585)) - Tendermint light client: ensure that we use the correct @@ -760,7 +836,7 @@ There are consensus-breaking changes. ## v0.36.0 -*March 27, 2023* +_March 27, 2023_ This release adds the emission a `"message"` event for all handlers, which hermes currently depends on. @@ -774,7 +850,7 @@ There are no consensus-breaking changes. ## v0.35.0 -*March 22, 2023* +_March 22, 2023_ This release fixes a bug in the packet timeout handler. @@ -782,12 +858,12 @@ This is a consensus-breaking change. ### BUG -- Timeout handler returns an error only when both height and timestamp have not reached yet +- Timeout handler returns an error only when both height and timestamp have not reached yet ([#555](https://github.com/cosmos/ibc-rs/issues/555)) ## v0.34.0 -*March 17, 2023* +_March 17, 2023_ This release fixes a bug in the connection handshake. @@ -795,12 +871,12 @@ This is a consensus-breaking change. ### BUG -- Fix client IDs for the proof verifications in `ConnectionOpenTry` and `ConnectionOpenAck` -([#550](https://github.com/cosmos/ibc-rs/issues/550)) +- Fix client IDs for the proof verifications in `ConnectionOpenTry` and `ConnectionOpenAck` + ([#550](https://github.com/cosmos/ibc-rs/issues/550)) ## v0.33.0 -*March 16, 2023* +_March 16, 2023_ This release primarily updates the `ClientState` trait. @@ -817,12 +893,12 @@ There are no consensus-breaking changes. ### IMPROVEMENT -- Fix `ContextError` Display output +- Fix `ContextError` Display output ([#547](https://github.com/cosmos/ibc-rs/issues/547)) ## v0.32.0 -*March 9, 2023* +_March 9, 2023_ This release primarily removes the `'static` lifetime bound on the `Module` trait, and adds some methods to the token transfer validation trait. @@ -838,7 +914,7 @@ There are no consensus-breaking changes. - Refactor and privatize Packet/Ack commitment computations for improved security and modularity. ([#470](https://github.com/cosmos/ibc-rs/issues/470)) -- Allow for non-'static bound Modules +- Allow for non-'static bound Modules [#490](https://github.com/cosmos/ibc-rs/issues/490)) - Separate the validation from the execution process for `send/mint/burn_coins` operations. @@ -860,7 +936,7 @@ There are no consensus-breaking changes. ## v0.31.0 -*February 28, 2023* +_February 28, 2023_ This release contains quality of life improvements. @@ -870,12 +946,12 @@ There are no consensus-breaking changes. - Remove ibc::handler module ([#478](https://github.com/cosmos/ibc-rs/issues/478)) - Discard the `connection-channels` method under `ValidationContext` since it is - no longer used by the core handlers. + no longer used by the core handlers. ([#479](https://github.com/cosmos/ibc-rs/issues/479)) - Remove Send + Sync supertraits on the Module trait ([#480](https://github.com/cosmos/ibc-rs/issues/480)) - Modify `validate_self_client` error type to return `ContextError` instead of - `ConnectionError` + `ConnectionError` ([#482](https://github.com/cosmos/ibc-rs/issues/482)) ### IMPROVEMENTS @@ -884,10 +960,10 @@ There are no consensus-breaking changes. ## v0.30.0 -*February 24, 2023* +_February 24, 2023_ This release contains an overhaul of the `send_packet()` and `send_transfer()` architecture. -The main gain is to separate into `send_packet_{validate,execute}()`, and similarly for +The main gain is to separate into `send_packet_{validate,execute}()`, and similarly for `send_transfer()`. There are no consensus-breaking changes. @@ -899,7 +975,7 @@ There are no consensus-breaking changes. ## v0.29.0 -*February 22, 2023* +_February 22, 2023_ This release includes the latest Tendermint-rs v0.29.0 and removes the `Reader` and `Keeper` API in favor of the new `ValidationContext`/`ExecutionContext` API as the default. @@ -942,7 +1018,7 @@ There are consensus-breaking changes. ## v0.28.0 -*February 9, 2023* +_February 9, 2023_ With this release, the implementation of the new `ValidationContext`/`ExecutionContext` is complete, although still behind the `val_exec_ctx` feature flag. There were also important bug fixes. @@ -971,19 +1047,19 @@ There are consensus-breaking changes. ### FEATURE - Finish implementing `ValidationContext::validate()` and - `ExecutionContext::execute()` + `ExecutionContext::execute()` ([#393](https://github.com/cosmos/ibc-rs/issues/393)) ### IMPROVEMENTS - Add tests to verify `AbciEvent` match the expected Ibc events -([#163](https://github.com/cosmos/ibc-rs/issues/163)). + ([#163](https://github.com/cosmos/ibc-rs/issues/163)). - Add unit tests to cover edge scenarios for counterparty conn & chan ids at init phases ([#175](https://github.com/cosmos/ibc-rs/issues/175)). ## v0.27.0 -*January 16, 2023* +_January 16, 2023_ This release contains a bug fix for the `ChanOpenConfirm` handler and it is strongly recommended to upgrade. @@ -996,7 +1072,7 @@ This release contains a consensus-breaking change during the channel opening han ## v0.26.0 -*December 14, 2022* +_December 14, 2022_ This release contains miscellaneous improvements, focusing mainly on addressing technical debt. @@ -1008,7 +1084,7 @@ There are no consensus-breaking changes. ([#20](https://github.com/cosmos/ibc-rs/issues/20)) - Simplify Msg trait by removing unnecessary methods. ([#218](https://github.com/cosmos/ibc-rs/issues/218)) -- Refactor proof handlers to conduct proof verifications inline with the process function +- Refactor proof handlers to conduct proof verifications inline with the process function and apply naming conventions to packet messages types ([#230](https://github.com/cosmos/ibc-rs/issues/230)) - The function parameters in the Reader traits now references, @@ -1021,7 +1097,7 @@ There are no consensus-breaking changes. - The function parameters in the `ValidationContext` trait now use references, while the functions in the `ExecutionContext` trait take ownership directly. ([#319](https://github.com/cosmos/ibc-rs/issues/319)) -- Make internal `process()` `pub(crate)` +- Make internal `process()` `pub(crate)` ([#338](https://github.com/cosmos/ibc-rs/issues/338)) ### FEATURES @@ -1048,7 +1124,7 @@ There are no consensus-breaking changes. ## v0.25.0 -*December 14, 2022* +_December 14, 2022_ This release updates the tendermint-rs dependency to v0.28.0 which includes important security improvements. Many other improvements have been made as well, including misbehaviour handling. @@ -1068,14 +1144,14 @@ The only consensus-breaking changes are the ones related to the fact that we now ([#240](https://github.com/cosmos/ibc-rs/issues/240)) - Change `host_height`, `host_timestamp` return value to a `Result` in `ClientReader`, `ConnectionReader`, `ChannelReader` and `ValidationContext` ([#242](https://github.com/cosmos/ibc-rs/issues/242)) -- Rename Ics* names to something more descriptive +- Rename Ics\* names to something more descriptive ([#245](https://github.com/cosmos/ibc-rs/issues/245)) - Implement `ValidationContext::validate` and `ExecutionContext::execute` for connections (ICS-3) ([#251](https://github.com/cosmos/ibc-rs/issues/251)) - Implement misbehaviour in `ExecutionContext` and `ValidationContext` ([#281](https://github.com/cosmos/ibc-rs/issues/281)) - Update `tendermint` dependencies to `v0.28.0`, which contain an important security fix. -([#294](https://github.com/cosmos/ibc-rs/issues/294)) + ([#294](https://github.com/cosmos/ibc-rs/issues/294)) ### BUG FIXES @@ -1093,7 +1169,7 @@ The only consensus-breaking changes are the ones related to the fact that we now ## v0.24.0 -*December 8, 2022* +_December 8, 2022_ This release mainly updates the tendermint-rs dependency to v0.27.0 and includes security improvements. @@ -1111,7 +1187,7 @@ There are no consensus-breaking changes. ## v0.23.0 -*November 21, 2022* +_November 21, 2022_ This release mainly updates the tendermint-rs dependency to v0.26.0. @@ -1129,7 +1205,7 @@ There are no consensus-breaking changes. ## v0.22.0 -*November 9, 2022* +_November 9, 2022_ This release includes major improvements in making the library compatible with ibc-go v5.0.1. This includes making ibc events compatible and removing the crossing-hellos logic from the connection and channel handshakes. @@ -1141,7 +1217,7 @@ There are consensus-breaking changes in the connection and channel handshakes. H ([#145](https://github.com/cosmos/ibc-rs/issues/145)) - Makes channel/packet events compatible with ibc-go ([#146](https://github.com/cosmos/ibc-rs/issues/146)) -- Remove crossing hellos logic from connection handshake. Breaking changes in +- Remove crossing hellos logic from connection handshake. Breaking changes in connection message types. ([#156](https://github.com/cosmos/ibc-rs/issues/156)). - Remove crossing hellos logic from channel handshake @@ -1172,7 +1248,7 @@ There are consensus-breaking changes in the connection and channel handshakes. H ## v0.21.1 -*October 27, 2022* +_October 27, 2022_ This release fixes a critical vulnerability. It is strongly advised to upgrade. @@ -1183,7 +1259,7 @@ This release fixes a critical vulnerability. It is strongly advised to upgrade. ## v0.21.0 -*October 24, 2022* +_October 24, 2022_ This is a small release that allows new `ClientTypes` to be created, which was missed when implementing ADR 4. The changes are not consensus-breaking. @@ -1194,7 +1270,7 @@ This is a small release that allows new `ClientTypes` to be created, which was m ## v0.20.0 -*October 19, 2022* +_October 19, 2022_ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc-rs/blob/main/docs/architecture/adr-004-light-client-crates-extraction.md), as well as some miscellaneous bug fixes. Please see the corresponding sections for more information. @@ -1206,9 +1282,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Remove `Display` from `IbcEvent` ([#144](https://github.com/cosmos/ibc-rs/issues/144)). - Remove `IbcEvent::Empty` ([#144](https://github.com/cosmos/ibc-rs/issues/144)). - Make `client_state` field required in `MsgConnectionOpenTry` and - `MsgConnectionOpenAck`. Necessary for correctness according to spec. + `MsgConnectionOpenAck`. Necessary for correctness according to spec. ([#159](https://github.com/cosmos/ibc-rs/issues/159)). -- Redesign the API to allow light client implementations to be hosted outside the ibc-rs repository. +- Redesign the API to allow light client implementations to be hosted outside the ibc-rs repository. ([#2483](https://github.com/informalsystems/ibc-rs/pull/2483)). ### BUG FIXES @@ -1220,7 +1296,7 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ### FEATURES -- Public PrefixedDenom inner type and add as_str func for BaseDenom +- Public PrefixedDenom inner type and add as_str func for BaseDenom ([#161](https://github.com/cosmos/ibc-rs/issues/161)) ### IMPROVEMENTS @@ -1231,12 +1307,13 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ([#2603](https://github.com/informalsystems/ibc-rs/pull/2603)). ### DESIGN DECISIONS + - Propose ADR05 for handlers validation and execution separation. ([#2582](https://github.com/informalsystems/ibc-rs/pull/2582)). ## v0.19.0 -*August 22nd, 2022* +_August 22nd, 2022_ #### BREAKING CHANGES @@ -1248,20 +1325,18 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Fix `MsgTimeoutOnClose` to verify the channel proof ([#2534](https://github.com/informalsystems/ibc-rs/issues/2534)) - ## v0.18.0 -*August 8th, 2022* +_August 8th, 2022_ #### IMPROVEMENTS - Remove Deserialize from IbcEvent and variants ([#2481](https://github.com/informalsystems/ibc-rs/issues/2481)) - ## v0.17.0 -*July 27th, 2022* +_July 27th, 2022_ #### BREAKING CHANGES @@ -1282,10 +1357,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Propose ADR011 for light client extraction ([#2356](https://github.com/informalsystems/ibc-rs/pull/2356)) - ## v0.16.0 -*July 7th, 2022* +_July 7th, 2022_ #### BREAKING CHANGES @@ -1310,10 +1384,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Remove unnecessary supertraits requirements from ICS20 traits. ([#2280](https://github.com/informalsystems/ibc-rs/pull/2280)) - ## v0.15.0 -*May 23rd, 2022* +_May 23rd, 2022_ ### BUG FIXES @@ -1329,16 +1402,15 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Remove object capabilities from the modules ([#2159](https://github.com/informalsystems/ibc-rs/issues/2159)) - ## v0.14.1 -*May 2nd, 2022* +_May 2nd, 2022_ -> This is a legacy version with no ibc crate changes. +> This is a legacy version with no ibc crate changes. ## v0.14.0 -*April 27th, 2022* +_April 27th, 2022_ ### BUG FIXES @@ -1352,18 +1424,18 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Complete ICS26 implementation ([#1758](https://github.com/informalsystems/ibc-rs/issues/1758)) - Improve `ChannelId` validation. ([#2068](https://github.com/informalsystems/ibc-rs/issues/2068)) - ## v0.13.0 -*March 28th, 2022* + +_March 28th, 2022_ ### IMPROVEMENTS - Refactored channels events in ICS 04 module ([#718](https://github.com/informalsystems/ibc-rs/issues/718)) - ## v0.12.0 -*February 24th, 2022* + +_February 24th, 2022_ ### BUG FIXES @@ -1385,13 +1457,14 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ([#1880](https://github.com/informalsystems/ibc-rs/pull/1880)) ## v0.11.1 -*February 4th, 2022* -> This is a legacy version with no ibc crate changes. +_February 4th, 2022_ +> This is a legacy version with no ibc crate changes. ## v0.11.0 -*January 27th, 2022* + +_January 27th, 2022_ ### BREAKING CHANGES @@ -1406,13 +1479,14 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ### IMPROVEMENTS - - Extract all `ics24_host::Path` variants into their separate types - ([#1760](https://github.com/informalsystems/ibc-rs/issues/1760)) - - Disallow empty `CommitmentPrefix` and `CommitmentProofBytes` - ([#1761](https://github.com/informalsystems/ibc-rs/issues/1761)) +- Extract all `ics24_host::Path` variants into their separate types + ([#1760](https://github.com/informalsystems/ibc-rs/issues/1760)) +- Disallow empty `CommitmentPrefix` and `CommitmentProofBytes` + ([#1761](https://github.com/informalsystems/ibc-rs/issues/1761)) ## v0.10.0 -*January 13th, 2021* + +_January 13th, 2021_ ### BREAKING CHANGES @@ -1447,7 +1521,8 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - `Timestamp::into_datetime` substitutes `Timestamp::as_datetime` ## v0.9.0, the “Zamfir” release -*November 23rd, 2021* + +_November 23rd, 2021_ ### BUG FIXES @@ -1461,9 +1536,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Derive `PartialEq` and `Eq` on `IbcEvent` and inner types ([#1546](https://github.com/informalsystems/ibc-rs/issues/1546)) - ## v0.8.0 -*October 29th, 2021* + +_October 29th, 2021_ ### IMPROVEMENTS @@ -1474,9 +1549,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Implement `FromStr` to enable string-encoded paths to be converted into Path identifiers ([#1460](https://github.com/informalsystems/ibc-rs/issues/1460)) - ## v0.8.0-pre.1 -*October 22nd, 2021* + +_October 22nd, 2021_ ### BREAKING CHANGES @@ -1489,19 +1564,19 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Add ICS07 verification functionality by using `tendermint-light-client` ([#1214](https://github.com/informalsystems/ibc-rs/issues/1214)) - ## v0.7.3 -*October 4th, 2021* -> This is a legacy version with no ibc crate changes. +_October 4th, 2021_ +> This is a legacy version with no ibc crate changes. ## v0.7.2 -*September 24th, 2021* +_September 24th, 2021_ ## v0.7.1 -*September 14th, 2021* + +_September 14th, 2021_ ### IMPROVEMENTS @@ -1511,9 +1586,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc [#1268]: https://github.com/informalsystems/ibc-rs/issues/1268 [#1333]: https://github.com/informalsystems/ibc-rs/issues/1333 - ## v0.7.0 -*August 24th, 2021* + +_August 24th, 2021_ ### BUG FIXES @@ -1527,9 +1602,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc [#1297]: https://github.com/informalsystems/ibc-rs/issues/1297 - ## v0.6.2 -*August 2nd, 2021* + +_August 2nd, 2021_ ### BUG FIXES @@ -1540,11 +1615,11 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ### FEATURES - Use the [`flex-error`](https://docs.rs/flex-error/) crate to define and -handle errors ([#1158]) - + handle errors ([#1158]) ## v0.6.1 -*July 22nd, 2021* + +_July 22nd, 2021_ ### FEATURES @@ -1562,21 +1637,21 @@ handle errors ([#1158]) [#1198]: https://github.com/informalsystems/ibc-rs/issues/1198 [#1215]: https://github.com/informalsystems/ibc-rs/issues/1215 - ## v0.6.0 -*July 12th, 2021* -> This is a legacy version with no ibc crate changes. +_July 12th, 2021_ +> This is a legacy version with no ibc crate changes. ## v0.5.0 -*June 22nd, 2021* -> This is a legacy version with no ibc crate changes. +_June 22nd, 2021_ +> This is a legacy version with no ibc crate changes. ## v0.4.0 -*June 3rd, 2021* + +_June 3rd, 2021_ ### IMPROVEMENTS @@ -1584,15 +1659,15 @@ handle errors ([#1158]) [#871]: https://github.com/informalsystems/ibc-rs/issues/871 - ## v0.3.2 -*May 21st, 2021* -> This is a legacy version with no ibc crate changes. +_May 21st, 2021_ +> This is a legacy version with no ibc crate changes. ## v0.3.1 -*May 14h, 2021* + +_May 14h, 2021_ ### BUG FIXES @@ -1600,9 +1675,9 @@ handle errors ([#1158]) [#927]: https://github.com/informalsystems/ibc-rs/issues/927 - ## v0.3.0 -*May 7h, 2021* + +_May 7h, 2021_ ### IMPROVEMENTS @@ -1617,9 +1692,9 @@ handle errors ([#1158]) [#854]: https://github.com/informalsystems/ibc-rs/issues/854 [#878]: https://github.com/informalsystems/ibc-rs/issues/878 - ## v0.2.0 -*April 14th, 2021* + +_April 14th, 2021_ ### FEATURES @@ -1649,9 +1724,9 @@ handle errors ([#1158]) [#740]: https://github.com/informalsystems/ibc-rs/issues/740 [#761]: https://github.com/informalsystems/ibc-rs/issues/761 - ## v0.1.1 -*February 17, 2021* + +_February 17, 2021_ ### IMPROVEMENTS @@ -1673,9 +1748,9 @@ handle errors ([#1158]) [#626]: https://github.com/informalsystems/ibc-rs/issues/626 [#643]: https://github.com/informalsystems/ibc-rs/issues/643 - ## v0.1.0 -*February 4, 2021* + +_February 4, 2021_ ### FEATURES @@ -1702,15 +1777,15 @@ handle errors ([#1158]) [#543]: https://github.com/informalsystems/ibc-rs/issues/543 [#563]: https://github.com/informalsystems/ibc-rs/issues/563 - ## v0.0.6 -*December 23, 2020* -> This is a legacy version with no ibc crate changes. +_December 23, 2020_ +> This is a legacy version with no ibc crate changes. ## v0.0.5 -*December 2, 2020* + +_December 2, 2020_ ### FEATURES @@ -1718,7 +1793,6 @@ handle errors ([#1158]) - ICS 4 Domain Types for channel handshakes and packets ([#315], [#95]) - Introduce LightBlock support for MockContext ([#389]) - ### IMPROVEMENTS - Split `msgs.rs` of ICS002 in separate modules ([#367]) @@ -1727,7 +1801,6 @@ handle errors ([#1158]) - Homogenize ConnectionReader trait so that all functions return owned objects ([#347]) - Align with tendermint-rs in the domain type definition of `block::Id` ([#338]) - [#95]: https://github.com/informalsystems/ibc-rs/issues/95 [#97]: https://github.com/informalsystems/ibc-rs/issues/97 [#98]: https://github.com/informalsystems/ibc-rs/issues/98 @@ -1738,26 +1811,29 @@ handle errors ([#1158]) [#368]: https://github.com/informalsystems/ibc-rs/issues/368 [#389]: https://github.com/informalsystems/ibc-rs/issues/389 - ## v0.0.4 -*October 19, 2020* + +_October 19, 2020_ ### FEATURES: + - ICS03 Ack and Confirm message processors ([#223]) - Routing module minimal implementation for MVP ([#159], [#232]) - Basic relayer functionality: a test with ClientUpdate ping-pong between two mocked chains ([#276]) ### IMPROVEMENTS: + - Implemented the `DomainType` trait for IBC proto structures ([#245], [#249]). - ICS03 connection handshake protocol initial implementation and tests ([#160]) -- Add capability to decode from protobuf Any* type into Tendermint and Mock client states -- Cleanup Any* client wrappers related code +- Add capability to decode from protobuf Any\* type into Tendermint and Mock client states +- Cleanup Any\* client wrappers related code - Migrate handlers to newer protobuf definitions ([#226]) - Extend client context mock ([#221]) - Context mock simplifications and cleanup ([#269], [#295], [#296], [#297]) - Split `msgs.rs` in multiple files, implement `From` for all messages ([#253]) ### BUG FIXES: + - Removed "Uninitialized" state from connection ([#217]) - Disclosed bugs in ICS3 version negotiation and proposed a fix ([#209], [#213]) @@ -1779,17 +1855,19 @@ handle errors ([#1158]) [#296]: https://github.com/informalsystems/ibc-rs/issues/296 [#297]: https://github.com/informalsystems/ibc-rs/issues/297 - ## v0.0.3 -*September 1, 2020* + +_September 1, 2020_ ### BREAKING CHANGES: + - Renamed `modules` crate to `ibc` crate. Version number for the new crate is not reset. ([#198]) - `ConnectionId`s are now decoded to `Vec` and validated instead of `Vec` ([#185]) - Removed `Connection` and `ConnectionCounterparty` traits ([#193]) - Removed `Channel` and `ChannelCounterparty` traits ([#192]) ### FEATURES: + - partial implementation of message handler ([#119], [#194]) - partial implementation of message handler ([#119], [#194]) - Proposal for IBC handler (message processor) architecture ([#119], [#194]) @@ -1797,6 +1875,7 @@ handle errors ([#1158]) - Connection Handshake FSM English description ([#122]) ### BUG FIXES: + - Identifiers limit update according to ICS specs ([#168]) [#1]: https://github.com/informalsystems/ibc-rs/issues/1 @@ -1809,18 +1888,17 @@ handle errors ([#1158]) [#194]: https://github.com/informalsystems/ibc-rs/issues/194 [#198]: https://github.com/informalsystems/ibc-rs/issues/198 - ## v0.0.2 -*August 1, 2020* +_August 1, 2020_ ### BREAKING CHANGES: - Refactor queries, paths, and Chain trait to reduce code and use protobuf instead of Amino. - [\#152](https://github.com/informalsystems/ibc-rs/pull/152), - [\#174](https://github.com/informalsystems/ibc-rs/pull/174), - [\#155](https://github.com/informalsystems/ibc-rs/pull/155) + [\#152](https://github.com/informalsystems/ibc-rs/pull/152), + [\#174](https://github.com/informalsystems/ibc-rs/pull/174), + [\#155](https://github.com/informalsystems/ibc-rs/pull/155) ### FEATURES: @@ -1836,10 +1914,9 @@ handle errors ([#1158]) - Fix nightly runs. [\#161](https://github.com/informalsystems/ibc-rs/pull/161) - Fix for incomplete licence terms. [\#153](https://github.com/informalsystems/ibc-rs/pull/153) - ## 0.0.1 -*July 1st, 2020* +_July 1st, 2020_ This is the initial prototype release of an IBC relayer and TLA+ specifications. There are no compatibility guarantees until v0.1.0. @@ -1847,6 +1924,6 @@ There are no compatibility guarantees until v0.1.0. Includes: - Client state, consensus state, connection, channel queries. - - Note: deserialization is unimplemented as it has dependency on migration to protobuf for ABCI queries + - Note: deserialization is unimplemented as it has dependency on migration to protobuf for ABCI queries - IBC Modules partial implementation for datastructures, messages and queries. - Some English and TLA+ specifications for Connection & Channel Handshake as well as naive relayer algorithm. From 40b2356f1de66e53010885ffb877aba146199c41 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 11:13:47 -0500 Subject: [PATCH 02/12] Update changelog file and summary.md --- .changelog/unreleased/summary.md | 18 ++++++++++++++---- CHANGELOG.md | 32 +++++++++++++++++--------------- 2 files changed, 31 insertions(+), 19 deletions(-) diff --git a/.changelog/unreleased/summary.md b/.changelog/unreleased/summary.md index 3ae16b3c3..b91a9a9f0 100644 --- a/.changelog/unreleased/summary.md +++ b/.changelog/unreleased/summary.md @@ -1,5 +1,15 @@ - +This release also includes a myriad of other bug-fixes and improvements, +such as enhancing the portability of ibc-rs's Validation and Execution Context traits, +as well as fixing an incompatibility with how ibc-rs parses `PrefixDenom`s compared +to ibc-go, among many others. + +Finally, the minimum-supported Rust version has been updated to `1.72`. + +There are no consensus-breaking changes as part of this release. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5119cb320..c0bd903d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,28 +2,22 @@ ## v0.52.0 -This release adds many exciting changes, improvements, and new features to ibc-rs. +This release adds some exciting changes, improvements, and new features to ibc-rs. First and foremost, support for the IBC protocol's [client recovery][client-recovery] -mechanism has been implemented; this provides a route for frozen and expired IBC clients +mechanism has been implemented, which provides a route for frozen and expired IBC clients to be re-instated following a successful governance vote. In addition, a new crate, `ibc-client-cw`, facilitates CosmWasm contract creation for light clients built using `ibc-rs`. -Another exciting improvement introduced in this release is a major overhaul of `ibc-testkit`. -The main goal was to overhaul ibc-rs's test framework to be more modular, streamlined, and -akin to a real blockchain environment. For a much more in-depth overview of the changes -made to `ibc-testkit`, please refer to [ADR 009][adr-009]. - -Of course, this release also includes a myriad of other bug-fixes and improvements, +This release also includes a myriad of other bug-fixes and improvements, such as enhancing the portability of ibc-rs's Validation and Execution Context traits, -among many others. +as well as fixing an incompatibility with how ibc-rs parses `PrefixDenom`s compared +to ibc-go, among many others. Finally, the minimum-supported Rust version has been updated to `1.72`. There are no consensus-breaking changes as part of this release. -[adr-009]: https://github.com/cosmos/ibc-rs/blob/rano/testkit/adr-009/docs/architecture/adr-009-revamp-testkit.md - ### BREAKING CHANGES - [ibc] Enhance portability of custom `Validation/ExecutionContext` traits under @@ -35,11 +29,18 @@ There are no consensus-breaking changes as part of this release. clients by directly binding with `tendermint_light_client_verifier::Verifier` and removing the unused `TmVerifier` trait. ([\#1168](https://github.com/cosmos/ibc-rs/pull/1168)) +- [ibc] Update minimum supported Rust version to 1.72. + ([\#1193](https://github.com/cosmos/ibc-rs/issues/1193)) ### BUG FIXES - [ibc-query] Update standalone query functions to use the specified query height ([\#1154](https://github.com/cosmos/ibc-rs/issues/1154)) +- [ibc-app-transfer] Bring `PrefixedDenom` parsing up to parity with `ibc-go`. + ([\#1177](https://github.com/cosmos/ibc-rs/issues/1177)) +- [ibc-app-nft-transfer] Reuse `TracePrefix` and `TracePath` from + `ibc-app-transfer-types` when parsing `PrefixedClassId`. + ([\#1178](https://github.com/cosmos/ibc-rs/pull/1178)) - [ibc-core-channel-types] Make receive packet event type identifier consistent with `ibc-go`. ([\#1180](https://github.com/cosmos/ibc-rs/issues/1180)) @@ -47,9 +48,6 @@ There are no consensus-breaking changes as part of this release. - [ibc-core-client] Implement [client recovery][client-recovery] feature. ([\#738](https://github.com/cosmos/ibc-rs/issues/738)) - -[client-recovery]: https://github.com/cosmos/ibc-go/blob/main/docs/architecture/adr-026-ibc-client-recovery-mechanisms.md - - [ibc-clients] Introduce CosmWasm context library as `ibc-client-cw` crate to facilitate CosmWasm contract creation for light clients built using `ibc-rs` ([\#1164](https://github.com/cosmos/ibc-rs/issues/1164)) @@ -57,8 +55,12 @@ There are no consensus-breaking changes as part of this release. implementing CosmWasm contract for ICS-07 Tendermint light client. ([\#1165](https://github.com/cosmos/ibc-rs/issues/1165)) +[client-recovery]: https://github.com/cosmos/ibc-go/blob/main/docs/architecture/adr-026-ibc-client-recovery-mechanisms.md + ### IMPROVEMENTS +- [ibc-core-commitment-types] Fallible conversion for `ProofSpec`, `LeafOp` and + `InnerSpec`. ([\#1108](https://github.com/cosmos/ibc-rs/issues/1108)) - [ibc-client-tendermint-types] Box header fields inside of Misbehaviour type so that the type is smaller (i.e. trade size of the type for heap memory). This prevents stack overflows on systems with small stack (e.g. Solana). @@ -73,7 +75,7 @@ There are no consensus-breaking changes as part of this release. - [ibc-client-tendermint] Add `into_inner()` method to ICS07 `ConsensusState` ([\#1156](https://github.com/cosmos/ibc-rs/pull/1156)) - Update `ibc-proto` to v0.43.0 and `tendermint` dependencies to v0.35.0. - ([#1171](https://github.com/cosmos/ibc-rs/issues/1171)) + ([\#1171](https://github.com/cosmos/ibc-rs/issues/1171)) ## v0.51.0 From 1f05a26505a9c9ad6069933b21eea15cc9d8fb4a Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 11:19:16 -0500 Subject: [PATCH 03/12] Bump ibc-derive version --- ibc-derive/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibc-derive/Cargo.toml b/ibc-derive/Cargo.toml index 3161d8d1c..90abcab43 100644 --- a/ibc-derive/Cargo.toml +++ b/ibc-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-derive" -version = "0.6.1" +version = "0.7.0" license = { workspace = true } repository = { workspace = true } edition = { workspace = true } From 459d30ed64e88a4de75fa6f01bffd20989d58167 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 11:23:24 -0500 Subject: [PATCH 04/12] Update ibc-derive deps version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 013dcdf8b..e5122a585 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ ibc-apps = { version = "0.51.0", path = "./ibc-apps", default ibc-primitives = { version = "0.51.0", path = "./ibc-primitives", default-features = false } ibc-testkit = { version = "0.51.0", path = "./ibc-testkit", default-features = false } -ibc-derive = { version = "0.6.1", path = "./ibc-derive" } +ibc-derive = { version = "0.7.0", path = "./ibc-derive" } ibc-core-client = { version = "0.51.0", path = "./ibc-core/ics02-client", default-features = false } ibc-core-connection = { version = "0.51.0", path = "./ibc-core/ics03-connection", default-features = false } From 233f4701963c7c45dd4eec0c025bbd35305ca0ba Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 11:42:33 -0500 Subject: [PATCH 05/12] Update Cargo.lock --- ci/cw-check/Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/cw-check/Cargo.lock b/ci/cw-check/Cargo.lock index 69876a2c1..e9377790a 100644 --- a/ci/cw-check/Cargo.lock +++ b/ci/cw-check/Cargo.lock @@ -866,7 +866,7 @@ dependencies = [ [[package]] name = "ibc-derive" -version = "0.6.1" +version = "0.7.0" dependencies = [ "proc-macro2", "quote", @@ -1644,9 +1644,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.8.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63381fa6624bf92130a6b87c0d07380116f80b565c42cf0d754136f0238359ef" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" dependencies = [ "zeroize_derive", ] From 0d0e2ea18918465780680af627a797b69b65ec8b Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 12:02:35 -0500 Subject: [PATCH 06/12] Update ibc crate versions --- Cargo.toml | 62 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e5122a585..fc9a7c5ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ exclude = [ ] [workspace.package] -version = "0.51.0" +version = "0.52.0" license = "Apache-2.0" edition = "2021" rust-version = "1.72" @@ -65,42 +65,42 @@ serde_json = { package = "serde-json-wasm", version = "1.0.1", default- subtle-encoding = { version = "0.5", default-features = false } # ibc dependencies -ibc = { version = "0.51.0", path = "./ibc", default-features = false } -ibc-core = { version = "0.51.0", path = "./ibc-core", default-features = false } -ibc-clients = { version = "0.51.0", path = "./ibc-clients", default-features = false } -ibc-apps = { version = "0.51.0", path = "./ibc-apps", default-features = false } -ibc-primitives = { version = "0.51.0", path = "./ibc-primitives", default-features = false } -ibc-testkit = { version = "0.51.0", path = "./ibc-testkit", default-features = false } +ibc = { version = "0.52.0", path = "./ibc", default-features = false } +ibc-core = { version = "0.52.0", path = "./ibc-core", default-features = false } +ibc-clients = { version = "0.52.0", path = "./ibc-clients", default-features = false } +ibc-apps = { version = "0.52.0", path = "./ibc-apps", default-features = false } +ibc-primitives = { version = "0.52.0", path = "./ibc-primitives", default-features = false } +ibc-testkit = { version = "0.52.0", path = "./ibc-testkit", default-features = false } ibc-derive = { version = "0.7.0", path = "./ibc-derive" } -ibc-core-client = { version = "0.51.0", path = "./ibc-core/ics02-client", default-features = false } -ibc-core-connection = { version = "0.51.0", path = "./ibc-core/ics03-connection", default-features = false } -ibc-core-channel = { version = "0.51.0", path = "./ibc-core/ics04-channel", default-features = false } -ibc-core-host = { version = "0.51.0", path = "./ibc-core/ics24-host", default-features = false } -ibc-core-handler = { version = "0.51.0", path = "./ibc-core/ics25-handler", default-features = false } -ibc-core-router = { version = "0.51.0", path = "./ibc-core/ics26-routing", default-features = false } +ibc-core-client = { version = "0.52.0", path = "./ibc-core/ics02-client", default-features = false } +ibc-core-connection = { version = "0.52.0", path = "./ibc-core/ics03-connection", default-features = false } +ibc-core-channel = { version = "0.52.0", path = "./ibc-core/ics04-channel", default-features = false } +ibc-core-host = { version = "0.52.0", path = "./ibc-core/ics24-host", default-features = false } +ibc-core-handler = { version = "0.52.0", path = "./ibc-core/ics25-handler", default-features = false } +ibc-core-router = { version = "0.52.0", path = "./ibc-core/ics26-routing", default-features = false } -ibc-client-cw = { version = "0.51.0", path = "./ibc-clients/cw-context", default-features = false } -ibc-client-tendermint = { version = "0.51.0", path = "./ibc-clients/ics07-tendermint", default-features = false } -ibc-client-tendermint-cw = { version = "0.51.0", path = "./ibc-clients/ics07-tendermint/cw-contract", default-features = false } +ibc-client-cw = { version = "0.52.0", path = "./ibc-clients/cw-context", default-features = false } +ibc-client-tendermint = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint", default-features = false } +ibc-client-tendermint-cw = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint/cw-contract", default-features = false } -ibc-app-transfer = { version = "0.51.0", path = "./ibc-apps/ics20-transfer", default-features = false } -ibc-app-nft-transfer = { version = "0.51.0", path = "./ibc-apps/ics721-nft-transfer", default-features = false } +ibc-app-transfer = { version = "0.52.0", path = "./ibc-apps/ics20-transfer", default-features = false } +ibc-app-nft-transfer = { version = "0.52.0", path = "./ibc-apps/ics721-nft-transfer", default-features = false } -ibc-core-client-context = { version = "0.51.0", path = "./ibc-core/ics02-client/context", default-features = false } -ibc-core-client-types = { version = "0.51.0", path = "./ibc-core/ics02-client/types", default-features = false } -ibc-core-channel-types = { version = "0.51.0", path = "./ibc-core/ics04-channel/types", default-features = false } -ibc-core-connection-types = { version = "0.51.0", path = "./ibc-core/ics03-connection/types", default-features = false } -ibc-core-commitment-types = { version = "0.51.0", path = "./ibc-core/ics23-commitment/types", default-features = false } -ibc-core-host-cosmos = { version = "0.51.0", path = "./ibc-core/ics24-host/cosmos", default-features = false } -ibc-core-host-types = { version = "0.51.0", path = "./ibc-core/ics24-host/types", default-features = false } -ibc-core-handler-types = { version = "0.51.0", path = "./ibc-core/ics25-handler/types", default-features = false } -ibc-core-router-types = { version = "0.51.0", path = "./ibc-core/ics26-routing/types", default-features = false } -ibc-client-tendermint-types = { version = "0.51.0", path = "./ibc-clients/ics07-tendermint/types", default-features = false } -ibc-client-wasm-types = { version = "0.51.0", path = "./ibc-clients/ics08-wasm/types", default-features = false } -ibc-app-transfer-types = { version = "0.51.0", path = "./ibc-apps/ics20-transfer/types", default-features = false } -ibc-app-nft-transfer-types = { version = "0.51.0", path = "./ibc-apps/ics721-nft-transfer/types", default-features = false } +ibc-core-client-context = { version = "0.52.0", path = "./ibc-core/ics02-client/context", default-features = false } +ibc-core-client-types = { version = "0.52.0", path = "./ibc-core/ics02-client/types", default-features = false } +ibc-core-channel-types = { version = "0.52.0", path = "./ibc-core/ics04-channel/types", default-features = false } +ibc-core-connection-types = { version = "0.52.0", path = "./ibc-core/ics03-connection/types", default-features = false } +ibc-core-commitment-types = { version = "0.52.0", path = "./ibc-core/ics23-commitment/types", default-features = false } +ibc-core-host-cosmos = { version = "0.52.0", path = "./ibc-core/ics24-host/cosmos", default-features = false } +ibc-core-host-types = { version = "0.52.0", path = "./ibc-core/ics24-host/types", default-features = false } +ibc-core-handler-types = { version = "0.52.0", path = "./ibc-core/ics25-handler/types", default-features = false } +ibc-core-router-types = { version = "0.52.0", path = "./ibc-core/ics26-routing/types", default-features = false } +ibc-client-tendermint-types = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint/types", default-features = false } +ibc-client-wasm-types = { version = "0.52.0", path = "./ibc-clients/ics08-wasm/types", default-features = false } +ibc-app-transfer-types = { version = "0.52.0", path = "./ibc-apps/ics20-transfer/types", default-features = false } +ibc-app-nft-transfer-types = { version = "0.52.0", path = "./ibc-apps/ics721-nft-transfer/types", default-features = false } ibc-proto = { version = "0.43.0", default-features = false } From e0fa84f10f8349a982fbf13798646bd22697a47a Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 12:07:48 -0500 Subject: [PATCH 07/12] Ensure changelog file's format isn't changed --- CHANGELOG.md | 316 +++++++++++++++++++++++++-------------------------- 1 file changed, 158 insertions(+), 158 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0bd903d3..c4d2e3138 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG +*April 26, 2024* + ## v0.52.0 This release adds some exciting changes, improvements, and new features to ibc-rs. @@ -79,7 +81,7 @@ There are no consensus-breaking changes as part of this release. ## v0.51.0 -_March 26, 2024_ +*March 26, 2024* This release introduces a few changes for better customizability. The main one is modularizing ICS-24, ICS-02, and ICS-07 trait implementations. This change empowers developers to write Rust light clients succinctly in a smart-contract context like CosmWasm. Also, the default Tendermint client state verifier is now detached to support custom verifiers, if required. @@ -99,9 +101,9 @@ There are no consensus-breaking changes. ([\#835](https://github.com/cosmos/ibc-rs/issues/835)) - [ibc-core-client] Merge client update time and height modification method pairs into one, that is replace - a) client*update*{time,height} by update*meta, - b) store_update*{time,height} by store*update_meta and - c) delete_update*{time,height} by delete_update_meta. + a) client_update_{time,height} by update_meta, + b) store_update_{time,height} by store_update_meta and + c) delete_update_{time,height} by delete_update_meta. ([\#973](https://github.com/cosmos/ibc-rs/issues/973)) - [ibc] Refactor client relevant APIs for improved modularity and allow standalone ICS-02 integration @@ -166,7 +168,7 @@ There are no consensus-breaking changes. ## v0.50.0 -_January 24, 2024_ +*January 24, 2024* This release introduces several noteworthy libraries. A standout addition is the implementation of the ICS-721 NFT transfer application, enabling the transfer of @@ -224,7 +226,7 @@ There are no consensus-breaking changes. ## v0.49.1 -_January 3, 2024_ +*January 3, 2024* This release continues the trend of further decoupling dependencies between the different ibc-rs sub-crates and modules. @@ -259,7 +261,7 @@ There are no consensus-breaking changes. - Now `prost` is only imported in `ibc-primitives` crate - Remove error variants originating from `prost` (Breaking change) - Eliminate the need for the `bytes` dependency - ([\#997](https://github.com/cosmos/ibc-rs/issues/997)) + ([\#997](https://github.com/cosmos/ibc-rs/issues/997)) - `[ibc-core-host-types]` Introduce `ClientType::build_client_id` which avoids unnecessary validation. ([#1014](https://github.com/cosmos/ibc-rs/issues/1014)) - `[ibc-core-host-types]` Optimise `ClientId::new` to avoid unnecessary validation and temporary @@ -278,7 +280,7 @@ There are no consensus-breaking changes. including `std` and `schema` features for `ibc-core`. ([\#992](https://github.com/cosmos/ibc-rs/pull/992)) - `[ibc-primitives]` streamline `Msg` trait and rename to `ToProto` - ([#993](https://github.com/cosmos/ibc-rs/issues/993)) + ([#993](https://github.com/cosmos/ibc-rs/issues/993)) - `[ibc-core-host-types]` Implement custom JSON and Borsh deserialization for `ChainId` ([#996](https://github.com/cosmos/ibc-rs/pull/1013)) - `[ibc-core-client-types]` Add a convenient `Status::verify_is_active` method. ([#1005](https://github.com/cosmos/ibc-rs/pull/1005)) @@ -290,7 +292,7 @@ There are no consensus-breaking changes. ## v0.48.2 -_December 22, 2023_ +*December 22, 2023* This patch release resolves two issues. It corrects the packet sequence number encoding within Timeout message handlers to align with the big-endian format and @@ -308,7 +310,7 @@ There are no consensus-breaking changes. ## v0.48.1 -_November 27, 2023_ +*November 27, 2023* This patch release eliminates the `dep:` syntax from the `serde` feature, addressing potential dependency resolution issue stemming from Rust v1.70. @@ -325,7 +327,7 @@ There are no consensus-breaking changes. ## v0.48.0 -_November 22, 2023_ +*November 22, 2023* In this release, we've undertaken a comprehensive overhaul of the **`ibc-rs`** repository, resulting in a strategic reorganization of the codebase. This @@ -404,11 +406,11 @@ There are no consensus-breaking changes. - `TYPE_URL` constants. - Any private fields within the domain message types. - Any private fields within the Tendermint `ClientState` and `ConsensusState` - ([\#976](https://github.com/cosmos/ibc-rs/issues/976)) + ([\#976](https://github.com/cosmos/ibc-rs/issues/976)) ## v0.47.0 -_October 19, 2023_ +*October 19, 2023* This release adds necessary APIs for featuring consensus state pruning and implements pertaining logic for Tendermint light clients. This prevents @@ -429,7 +431,6 @@ There are no consensus-breaking changes. ([\#538](https://github.com/cosmos/ibc-rs/issues/538)) - Fix compilation issue with Wasm envs because of floats. ([\#850](https://github.com/cosmos/ibc-rs/issues/850)) - - Use `serde-json-wasm` dependency instead of `serde-json` for no-floats support - Add CI test to include CosmWasm compilation check @@ -443,7 +444,7 @@ There are no consensus-breaking changes. ## v0.46.0 -_October 12, 2023_ +*October 12, 2023* This release introduces vital bug fixes, including removal of an incorrect validation during a Tendermint client update and the addition of a missing state @@ -467,8 +468,8 @@ There are consensus-breaking changes. - Remove an incorrect validation during tendermint client update ([\#911](https://github.com/cosmos/ibc-rs/issues/911)) - Add missing update in the state, which should include the host's height and - timestamp when a successful client upgrade take place. - ([\#913](https://github.com/cosmos/ibc-rs/issues/913)) + timestamp when a successful client upgrade take place. + ([\#913](https://github.com/cosmos/ibc-rs/issues/913)) ### IMPROVEMENTS @@ -477,12 +478,12 @@ There are consensus-breaking changes. - Enhance IBC query methods usability and code organization - The implementation of query methods is now publicly accessible as standalone functions. - `grpc` feature now lives as a separate crate called as `ibc-query` - ([#896](https://github.com/cosmos/ibc-rs/issues/896)) + ([#896](https://github.com/cosmos/ibc-rs/issues/896)) - Re-export ibc proto types from `ibc-proto-rs`` for dep ## v0.45.0 -_September 20, 2023_ +*September 20, 2023* This release introduces a new API under the `grpc` feature flag, which has ibc-rs expose grpc endpoints that the hermes relayer needs. Furthermore, `no_std` support for the `serde` feature has been restored, accompanied by other miscellaneous changes. There are no consensus-breaking changes. @@ -535,7 +536,7 @@ There are no consensus-breaking changes. ## v0.44.2 -_October 12, 2023_ +*October 12, 2023* This release is a critical patch release that introduces a vital fix by removing an incorrect validation during a Tendermint client update. @@ -544,7 +545,7 @@ There are no consensus-breaking changes. ## v0.44.1 -_August 4, 2023_ +*August 4, 2023* This release fixes a bug with the `UpdateClient` event where the `header` field was not properly encoded. @@ -560,7 +561,7 @@ There are no consensus-breaking changes. ## v0.44.0 -_August 4, 2023_ +*August 4, 2023* The goal with this release was to replace `ClientState::{confirm_not_frozen, expired}()` with `ClientState::status()` ([#536](https://github.com/cosmos/ibc-rs/issues/536)). Updating basecoin-rs with the new changes exposed the shortcomings of having `SendPacket*Context` be supertraits of `TokenTransfer*Context`, which in turned exposed the shortcomings of having `Router` be a supertrait of `ValidationContext`. Hence, we decoupled everything! @@ -575,11 +576,11 @@ There are consensus-breaking changes. - Decouple `Router` from `ValidationContext` ([#788](https://github.com/cosmos/ibc-rs/pull/788)) - Simplify Module lookup in the `Router` trait - ([#802](https://github.com/cosmos/ibc-rs/issues/802)) + ([#802](https://github.com/cosmos/ibc-rs/issues/802)) ## v0.43.1 -_July 31, 2023_ +*July 31, 2023* This release bumps ibc-proto to v0.32.1, resolving issue with token transfer deserialization for cases with no memo field provided. It also includes various @@ -623,7 +624,7 @@ There are consensus-breaking changes. ## v0.42.0 -_July 5, 2023_ +*July 5, 2023* This release primarily implements ADR 7. It also includes a number of miscellaneous improvements. @@ -632,13 +633,13 @@ There are no consensus-breaking changes. ### BREAKING CHANGES - Implement ADR 7, where `ClientState` objects are now statically dispatched instead - of dynamically dispatched. - ([#296](https://github.com/cosmos/ibc-rs/issues/296)) + of dynamically dispatched. +([#296](https://github.com/cosmos/ibc-rs/issues/296)) - Revise the `verify_upgrade_client` method to utilize the domain-specific `MerkleProof` type ([#691](https://github.com/cosmos/ibc-rs/issues/691)) - Revise the `ChainId::new` method so that rather than taking String argument - it borrows a str. ([#721](https://github.com/cosmos/ibc-rs/issues/721)) + it borrows a str. ([#721](https://github.com/cosmos/ibc-rs/issues/721)) - Modify `MsgUpgradeClient` struct to utilize `CommitmentProofBytes` and apply some refinements around upgrade client methods and impls respectively. ([#739](https://github.com/cosmos/ibc-rs/issues/739)) @@ -663,7 +664,7 @@ There are no consensus-breaking changes. ## v0.41.0 -_May 23, 2023_ +*May 23, 2023* This release bumps ibc-proto to v0.30.0 and tendermint to v0.31, and provides utilities for chain upgrades (Tendermint only). @@ -671,7 +672,7 @@ There are consensus-breaking changes. ### BREAKING CHANGES -- Support for upgrade client proposal by featuring helper contexts and domain types +- Support for upgrade client proposal by featuring helper contexts and domain types ([#420](https://github.com/cosmos/ibc-rs/issues/420)) - Remove unused `ClientState` methods ([#681](https://github.com/cosmos/ibc-rs/issues/681)) @@ -697,13 +698,13 @@ There are consensus-breaking changes. - Exclude `ClientState::new()` checks from proto ClientState conversion ([#671](https://github.com/cosmos/ibc-rs/issues/671)) - Remove redundant #[allow(clippy::too_many_arguments)] - ([#674](https://github.com/cosmos/ibc-rs/issues/674)) + ([#674](https://github.com/cosmos/ibc-rs/issues/674)) - Token transfer: Make `Amount` type less restrictive ([#684](https://github.com/cosmos/ibc-rs/issues/684)) ## v0.40.0 -_May 8, 2023_ +*May 8, 2023* This release primarily consolidated the modules in the ibc-rs crate, removed many legacy items, and documented every item in the crate. This represents a big step towards v1.0. Very few items changed name; most were just moved to elsewhere in the module tree. Perhaps a good heuristic to fix the breaking changes is the remove the faulty `use` statements, and have your editor re-import the item. @@ -723,7 +724,7 @@ There are consensus-breaking changes. ### FEATURES -- Add parity-scale-codec, borsh, serde feature for \*Path +- Add parity-scale-codec, borsh, serde feature for *Path ([#652](https://github.com/cosmos/ibc-rs/issues/652)) ### IMPROVEMENTS @@ -733,7 +734,7 @@ There are consensus-breaking changes. ## v0.39.0 -_May 2, 2023_ +*May 2, 2023* This release primarily adds support for the `memo` field to the token transfer app (ICS 20). This required updating ibc-proto-rs and tendermint-rs dependencies @@ -756,7 +757,7 @@ There are consensus-breaking changes. ## v0.38.0 -_April 24, 2023_ +*April 24, 2023* This release involves splitting the newly defined `MsgUpdateClient` type in v0.37.0 into distinct IBC message structs: `MsgUpdateClient` and @@ -786,7 +787,7 @@ There are consensus-breaking changes ## v0.37.0 -_April 13, 2023_ +*April 13, 2023* This release primarily updates `ClientState` to adopt a better API for client updates and misbehaviour detection, borrowed from ibc-go's ADR 6. In the process of updating the API, a few bugs were found in the tendermint light client and fixed. @@ -794,7 +795,7 @@ There are consensus-breaking changes. ### BREAKING CHANGES -- `ClientState`: Split `check_misbehaviour_and_update_state` +- `ClientState`: Split `check_misbehaviour_and_update_state` and `check_header_and_update_state` ([#535](https://github.com/cosmos/ibc-rs/issues/535)) - Improve MsgTransfer struct @@ -806,14 +807,14 @@ There are consensus-breaking changes. ### BUG FIXES - Disallow creation of new Tendermint client state instance with a frozen height - ([#178](https://github.com/cosmos/ibc-rs/issues/178)) + ([#178](https://github.com/cosmos/ibc-rs/issues/178)) - Emit a message event for SendPacket ([#574](https://github.com/cosmos/ibc-rs/issues/574)) -- Properly convert from `Any` to `MsgEnvelope` +- Properly convert from `Any` to `MsgEnvelope` ([#578](https://github.com/cosmos/ibc-rs/issues/578)) -- Tendermint light client: fix missing trusted_validator_set +- Tendermint light client: fix missing trusted_validator_set hash check ([#583](https://github.com/cosmos/ibc-rs/issues/583)) -- Tendermint light client: fix missing `Header.height()` +- Tendermint light client: fix missing `Header.height()` vs `Header.trusted_height` check ([#585](https://github.com/cosmos/ibc-rs/issues/585)) - Tendermint light client: ensure that we use the correct @@ -838,7 +839,7 @@ There are consensus-breaking changes. ## v0.36.0 -_March 27, 2023_ +*March 27, 2023* This release adds the emission a `"message"` event for all handlers, which hermes currently depends on. @@ -852,7 +853,7 @@ There are no consensus-breaking changes. ## v0.35.0 -_March 22, 2023_ +*March 22, 2023* This release fixes a bug in the packet timeout handler. @@ -860,12 +861,12 @@ This is a consensus-breaking change. ### BUG -- Timeout handler returns an error only when both height and timestamp have not reached yet +- Timeout handler returns an error only when both height and timestamp have not reached yet ([#555](https://github.com/cosmos/ibc-rs/issues/555)) ## v0.34.0 -_March 17, 2023_ +*March 17, 2023* This release fixes a bug in the connection handshake. @@ -873,12 +874,12 @@ This is a consensus-breaking change. ### BUG -- Fix client IDs for the proof verifications in `ConnectionOpenTry` and `ConnectionOpenAck` - ([#550](https://github.com/cosmos/ibc-rs/issues/550)) +- Fix client IDs for the proof verifications in `ConnectionOpenTry` and `ConnectionOpenAck` +([#550](https://github.com/cosmos/ibc-rs/issues/550)) ## v0.33.0 -_March 16, 2023_ +*March 16, 2023* This release primarily updates the `ClientState` trait. @@ -895,12 +896,12 @@ There are no consensus-breaking changes. ### IMPROVEMENT -- Fix `ContextError` Display output +- Fix `ContextError` Display output ([#547](https://github.com/cosmos/ibc-rs/issues/547)) ## v0.32.0 -_March 9, 2023_ +*March 9, 2023* This release primarily removes the `'static` lifetime bound on the `Module` trait, and adds some methods to the token transfer validation trait. @@ -916,7 +917,7 @@ There are no consensus-breaking changes. - Refactor and privatize Packet/Ack commitment computations for improved security and modularity. ([#470](https://github.com/cosmos/ibc-rs/issues/470)) -- Allow for non-'static bound Modules +- Allow for non-'static bound Modules [#490](https://github.com/cosmos/ibc-rs/issues/490)) - Separate the validation from the execution process for `send/mint/burn_coins` operations. @@ -938,7 +939,7 @@ There are no consensus-breaking changes. ## v0.31.0 -_February 28, 2023_ +*February 28, 2023* This release contains quality of life improvements. @@ -948,12 +949,12 @@ There are no consensus-breaking changes. - Remove ibc::handler module ([#478](https://github.com/cosmos/ibc-rs/issues/478)) - Discard the `connection-channels` method under `ValidationContext` since it is - no longer used by the core handlers. + no longer used by the core handlers. ([#479](https://github.com/cosmos/ibc-rs/issues/479)) - Remove Send + Sync supertraits on the Module trait ([#480](https://github.com/cosmos/ibc-rs/issues/480)) - Modify `validate_self_client` error type to return `ContextError` instead of - `ConnectionError` + `ConnectionError` ([#482](https://github.com/cosmos/ibc-rs/issues/482)) ### IMPROVEMENTS @@ -962,10 +963,10 @@ There are no consensus-breaking changes. ## v0.30.0 -_February 24, 2023_ +*February 24, 2023* This release contains an overhaul of the `send_packet()` and `send_transfer()` architecture. -The main gain is to separate into `send_packet_{validate,execute}()`, and similarly for +The main gain is to separate into `send_packet_{validate,execute}()`, and similarly for `send_transfer()`. There are no consensus-breaking changes. @@ -977,7 +978,7 @@ There are no consensus-breaking changes. ## v0.29.0 -_February 22, 2023_ +*February 22, 2023* This release includes the latest Tendermint-rs v0.29.0 and removes the `Reader` and `Keeper` API in favor of the new `ValidationContext`/`ExecutionContext` API as the default. @@ -1020,7 +1021,7 @@ There are consensus-breaking changes. ## v0.28.0 -_February 9, 2023_ +*February 9, 2023* With this release, the implementation of the new `ValidationContext`/`ExecutionContext` is complete, although still behind the `val_exec_ctx` feature flag. There were also important bug fixes. @@ -1049,19 +1050,19 @@ There are consensus-breaking changes. ### FEATURE - Finish implementing `ValidationContext::validate()` and - `ExecutionContext::execute()` + `ExecutionContext::execute()` ([#393](https://github.com/cosmos/ibc-rs/issues/393)) ### IMPROVEMENTS - Add tests to verify `AbciEvent` match the expected Ibc events - ([#163](https://github.com/cosmos/ibc-rs/issues/163)). +([#163](https://github.com/cosmos/ibc-rs/issues/163)). - Add unit tests to cover edge scenarios for counterparty conn & chan ids at init phases ([#175](https://github.com/cosmos/ibc-rs/issues/175)). ## v0.27.0 -_January 16, 2023_ +*January 16, 2023* This release contains a bug fix for the `ChanOpenConfirm` handler and it is strongly recommended to upgrade. @@ -1074,7 +1075,7 @@ This release contains a consensus-breaking change during the channel opening han ## v0.26.0 -_December 14, 2022_ +*December 14, 2022* This release contains miscellaneous improvements, focusing mainly on addressing technical debt. @@ -1086,7 +1087,7 @@ There are no consensus-breaking changes. ([#20](https://github.com/cosmos/ibc-rs/issues/20)) - Simplify Msg trait by removing unnecessary methods. ([#218](https://github.com/cosmos/ibc-rs/issues/218)) -- Refactor proof handlers to conduct proof verifications inline with the process function +- Refactor proof handlers to conduct proof verifications inline with the process function and apply naming conventions to packet messages types ([#230](https://github.com/cosmos/ibc-rs/issues/230)) - The function parameters in the Reader traits now references, @@ -1099,7 +1100,7 @@ There are no consensus-breaking changes. - The function parameters in the `ValidationContext` trait now use references, while the functions in the `ExecutionContext` trait take ownership directly. ([#319](https://github.com/cosmos/ibc-rs/issues/319)) -- Make internal `process()` `pub(crate)` +- Make internal `process()` `pub(crate)` ([#338](https://github.com/cosmos/ibc-rs/issues/338)) ### FEATURES @@ -1126,7 +1127,7 @@ There are no consensus-breaking changes. ## v0.25.0 -_December 14, 2022_ +*December 14, 2022* This release updates the tendermint-rs dependency to v0.28.0 which includes important security improvements. Many other improvements have been made as well, including misbehaviour handling. @@ -1146,14 +1147,14 @@ The only consensus-breaking changes are the ones related to the fact that we now ([#240](https://github.com/cosmos/ibc-rs/issues/240)) - Change `host_height`, `host_timestamp` return value to a `Result` in `ClientReader`, `ConnectionReader`, `ChannelReader` and `ValidationContext` ([#242](https://github.com/cosmos/ibc-rs/issues/242)) -- Rename Ics\* names to something more descriptive +- Rename Ics* names to something more descriptive ([#245](https://github.com/cosmos/ibc-rs/issues/245)) - Implement `ValidationContext::validate` and `ExecutionContext::execute` for connections (ICS-3) ([#251](https://github.com/cosmos/ibc-rs/issues/251)) - Implement misbehaviour in `ExecutionContext` and `ValidationContext` ([#281](https://github.com/cosmos/ibc-rs/issues/281)) - Update `tendermint` dependencies to `v0.28.0`, which contain an important security fix. - ([#294](https://github.com/cosmos/ibc-rs/issues/294)) +([#294](https://github.com/cosmos/ibc-rs/issues/294)) ### BUG FIXES @@ -1171,7 +1172,7 @@ The only consensus-breaking changes are the ones related to the fact that we now ## v0.24.0 -_December 8, 2022_ +*December 8, 2022* This release mainly updates the tendermint-rs dependency to v0.27.0 and includes security improvements. @@ -1189,7 +1190,7 @@ There are no consensus-breaking changes. ## v0.23.0 -_November 21, 2022_ +*November 21, 2022* This release mainly updates the tendermint-rs dependency to v0.26.0. @@ -1207,7 +1208,7 @@ There are no consensus-breaking changes. ## v0.22.0 -_November 9, 2022_ +*November 9, 2022* This release includes major improvements in making the library compatible with ibc-go v5.0.1. This includes making ibc events compatible and removing the crossing-hellos logic from the connection and channel handshakes. @@ -1219,7 +1220,7 @@ There are consensus-breaking changes in the connection and channel handshakes. H ([#145](https://github.com/cosmos/ibc-rs/issues/145)) - Makes channel/packet events compatible with ibc-go ([#146](https://github.com/cosmos/ibc-rs/issues/146)) -- Remove crossing hellos logic from connection handshake. Breaking changes in +- Remove crossing hellos logic from connection handshake. Breaking changes in connection message types. ([#156](https://github.com/cosmos/ibc-rs/issues/156)). - Remove crossing hellos logic from channel handshake @@ -1250,7 +1251,7 @@ There are consensus-breaking changes in the connection and channel handshakes. H ## v0.21.1 -_October 27, 2022_ +*October 27, 2022* This release fixes a critical vulnerability. It is strongly advised to upgrade. @@ -1261,7 +1262,7 @@ This release fixes a critical vulnerability. It is strongly advised to upgrade. ## v0.21.0 -_October 24, 2022_ +*October 24, 2022* This is a small release that allows new `ClientTypes` to be created, which was missed when implementing ADR 4. The changes are not consensus-breaking. @@ -1272,7 +1273,7 @@ This is a small release that allows new `ClientTypes` to be created, which was m ## v0.20.0 -_October 19, 2022_ +*October 19, 2022* This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc-rs/blob/main/docs/architecture/adr-004-light-client-crates-extraction.md), as well as some miscellaneous bug fixes. Please see the corresponding sections for more information. @@ -1284,9 +1285,9 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc - Remove `Display` from `IbcEvent` ([#144](https://github.com/cosmos/ibc-rs/issues/144)). - Remove `IbcEvent::Empty` ([#144](https://github.com/cosmos/ibc-rs/issues/144)). - Make `client_state` field required in `MsgConnectionOpenTry` and - `MsgConnectionOpenAck`. Necessary for correctness according to spec. + `MsgConnectionOpenAck`. Necessary for correctness according to spec. ([#159](https://github.com/cosmos/ibc-rs/issues/159)). -- Redesign the API to allow light client implementations to be hosted outside the ibc-rs repository. +- Redesign the API to allow light client implementations to be hosted outside the ibc-rs repository. ([#2483](https://github.com/informalsystems/ibc-rs/pull/2483)). ### BUG FIXES @@ -1298,7 +1299,7 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ### FEATURES -- Public PrefixedDenom inner type and add as_str func for BaseDenom +- Public PrefixedDenom inner type and add as_str func for BaseDenom ([#161](https://github.com/cosmos/ibc-rs/issues/161)) ### IMPROVEMENTS @@ -1309,13 +1310,12 @@ This is a major release, which implemented [ADR 4](https://github.com/cosmos/ibc ([#2603](https://github.com/informalsystems/ibc-rs/pull/2603)). ### DESIGN DECISIONS - - Propose ADR05 for handlers validation and execution separation. ([#2582](https://github.com/informalsystems/ibc-rs/pull/2582)). ## v0.19.0 -_August 22nd, 2022_ +*August 22nd, 2022* #### BREAKING CHANGES @@ -1327,18 +1327,20 @@ _August 22nd, 2022_ - Fix `MsgTimeoutOnClose` to verify the channel proof ([#2534](https://github.com/informalsystems/ibc-rs/issues/2534)) + ## v0.18.0 -_August 8th, 2022_ +*August 8th, 2022* #### IMPROVEMENTS - Remove Deserialize from IbcEvent and variants ([#2481](https://github.com/informalsystems/ibc-rs/issues/2481)) + ## v0.17.0 -_July 27th, 2022_ +*July 27th, 2022* #### BREAKING CHANGES @@ -1359,9 +1361,10 @@ _July 27th, 2022_ - Propose ADR011 for light client extraction ([#2356](https://github.com/informalsystems/ibc-rs/pull/2356)) + ## v0.16.0 -_July 7th, 2022_ +*July 7th, 2022* #### BREAKING CHANGES @@ -1386,9 +1389,10 @@ _July 7th, 2022_ - Remove unnecessary supertraits requirements from ICS20 traits. ([#2280](https://github.com/informalsystems/ibc-rs/pull/2280)) + ## v0.15.0 -_May 23rd, 2022_ +*May 23rd, 2022* ### BUG FIXES @@ -1404,15 +1408,16 @@ _May 23rd, 2022_ - Remove object capabilities from the modules ([#2159](https://github.com/informalsystems/ibc-rs/issues/2159)) + ## v0.14.1 -_May 2nd, 2022_ +*May 2nd, 2022* -> This is a legacy version with no ibc crate changes. +> This is a legacy version with no ibc crate changes. ## v0.14.0 -_April 27th, 2022_ +*April 27th, 2022* ### BUG FIXES @@ -1426,18 +1431,18 @@ _April 27th, 2022_ - Complete ICS26 implementation ([#1758](https://github.com/informalsystems/ibc-rs/issues/1758)) - Improve `ChannelId` validation. ([#2068](https://github.com/informalsystems/ibc-rs/issues/2068)) -## v0.13.0 -_March 28th, 2022_ +## v0.13.0 +*March 28th, 2022* ### IMPROVEMENTS - Refactored channels events in ICS 04 module ([#718](https://github.com/informalsystems/ibc-rs/issues/718)) -## v0.12.0 -_February 24th, 2022_ +## v0.12.0 +*February 24th, 2022* ### BUG FIXES @@ -1459,14 +1464,13 @@ _February 24th, 2022_ ([#1880](https://github.com/informalsystems/ibc-rs/pull/1880)) ## v0.11.1 - -_February 4th, 2022_ +*February 4th, 2022* > This is a legacy version with no ibc crate changes. -## v0.11.0 -_January 27th, 2022_ +## v0.11.0 +*January 27th, 2022* ### BREAKING CHANGES @@ -1481,14 +1485,13 @@ _January 27th, 2022_ ### IMPROVEMENTS -- Extract all `ics24_host::Path` variants into their separate types - ([#1760](https://github.com/informalsystems/ibc-rs/issues/1760)) -- Disallow empty `CommitmentPrefix` and `CommitmentProofBytes` - ([#1761](https://github.com/informalsystems/ibc-rs/issues/1761)) + - Extract all `ics24_host::Path` variants into their separate types + ([#1760](https://github.com/informalsystems/ibc-rs/issues/1760)) + - Disallow empty `CommitmentPrefix` and `CommitmentProofBytes` + ([#1761](https://github.com/informalsystems/ibc-rs/issues/1761)) ## v0.10.0 - -_January 13th, 2021_ +*January 13th, 2021* ### BREAKING CHANGES @@ -1523,8 +1526,7 @@ _January 13th, 2021_ - `Timestamp::into_datetime` substitutes `Timestamp::as_datetime` ## v0.9.0, the “Zamfir” release - -_November 23rd, 2021_ +*November 23rd, 2021* ### BUG FIXES @@ -1538,9 +1540,9 @@ _November 23rd, 2021_ - Derive `PartialEq` and `Eq` on `IbcEvent` and inner types ([#1546](https://github.com/informalsystems/ibc-rs/issues/1546)) -## v0.8.0 -_October 29th, 2021_ +## v0.8.0 +*October 29th, 2021* ### IMPROVEMENTS @@ -1551,9 +1553,9 @@ _October 29th, 2021_ - Implement `FromStr` to enable string-encoded paths to be converted into Path identifiers ([#1460](https://github.com/informalsystems/ibc-rs/issues/1460)) -## v0.8.0-pre.1 -_October 22nd, 2021_ +## v0.8.0-pre.1 +*October 22nd, 2021* ### BREAKING CHANGES @@ -1566,19 +1568,19 @@ _October 22nd, 2021_ - Add ICS07 verification functionality by using `tendermint-light-client` ([#1214](https://github.com/informalsystems/ibc-rs/issues/1214)) -## v0.7.3 -_October 4th, 2021_ +## v0.7.3 +*October 4th, 2021* > This is a legacy version with no ibc crate changes. + ## v0.7.2 +*September 24th, 2021* -_September 24th, 2021_ ## v0.7.1 - -_September 14th, 2021_ +*September 14th, 2021* ### IMPROVEMENTS @@ -1588,9 +1590,9 @@ _September 14th, 2021_ [#1268]: https://github.com/informalsystems/ibc-rs/issues/1268 [#1333]: https://github.com/informalsystems/ibc-rs/issues/1333 -## v0.7.0 -_August 24th, 2021_ +## v0.7.0 +*August 24th, 2021* ### BUG FIXES @@ -1604,9 +1606,9 @@ _August 24th, 2021_ [#1297]: https://github.com/informalsystems/ibc-rs/issues/1297 -## v0.6.2 -_August 2nd, 2021_ +## v0.6.2 +*August 2nd, 2021* ### BUG FIXES @@ -1617,11 +1619,11 @@ _August 2nd, 2021_ ### FEATURES - Use the [`flex-error`](https://docs.rs/flex-error/) crate to define and - handle errors ([#1158]) +handle errors ([#1158]) -## v0.6.1 -_July 22nd, 2021_ +## v0.6.1 +*July 22nd, 2021* ### FEATURES @@ -1639,21 +1641,21 @@ _July 22nd, 2021_ [#1198]: https://github.com/informalsystems/ibc-rs/issues/1198 [#1215]: https://github.com/informalsystems/ibc-rs/issues/1215 -## v0.6.0 -_July 12th, 2021_ +## v0.6.0 +*July 12th, 2021* > This is a legacy version with no ibc crate changes. -## v0.5.0 -_June 22nd, 2021_ +## v0.5.0 +*June 22nd, 2021* > This is a legacy version with no ibc crate changes. -## v0.4.0 -_June 3rd, 2021_ +## v0.4.0 +*June 3rd, 2021* ### IMPROVEMENTS @@ -1661,15 +1663,15 @@ _June 3rd, 2021_ [#871]: https://github.com/informalsystems/ibc-rs/issues/871 -## v0.3.2 -_May 21st, 2021_ +## v0.3.2 +*May 21st, 2021* > This is a legacy version with no ibc crate changes. -## v0.3.1 -_May 14h, 2021_ +## v0.3.1 +*May 14h, 2021* ### BUG FIXES @@ -1677,9 +1679,9 @@ _May 14h, 2021_ [#927]: https://github.com/informalsystems/ibc-rs/issues/927 -## v0.3.0 -_May 7h, 2021_ +## v0.3.0 +*May 7h, 2021* ### IMPROVEMENTS @@ -1694,9 +1696,9 @@ _May 7h, 2021_ [#854]: https://github.com/informalsystems/ibc-rs/issues/854 [#878]: https://github.com/informalsystems/ibc-rs/issues/878 -## v0.2.0 -_April 14th, 2021_ +## v0.2.0 +*April 14th, 2021* ### FEATURES @@ -1726,9 +1728,9 @@ _April 14th, 2021_ [#740]: https://github.com/informalsystems/ibc-rs/issues/740 [#761]: https://github.com/informalsystems/ibc-rs/issues/761 -## v0.1.1 -_February 17, 2021_ +## v0.1.1 +*February 17, 2021* ### IMPROVEMENTS @@ -1750,9 +1752,9 @@ _February 17, 2021_ [#626]: https://github.com/informalsystems/ibc-rs/issues/626 [#643]: https://github.com/informalsystems/ibc-rs/issues/643 -## v0.1.0 -_February 4, 2021_ +## v0.1.0 +*February 4, 2021* ### FEATURES @@ -1779,15 +1781,15 @@ _February 4, 2021_ [#543]: https://github.com/informalsystems/ibc-rs/issues/543 [#563]: https://github.com/informalsystems/ibc-rs/issues/563 -## v0.0.6 -_December 23, 2020_ +## v0.0.6 +*December 23, 2020* > This is a legacy version with no ibc crate changes. -## v0.0.5 -_December 2, 2020_ +## v0.0.5 +*December 2, 2020* ### FEATURES @@ -1795,6 +1797,7 @@ _December 2, 2020_ - ICS 4 Domain Types for channel handshakes and packets ([#315], [#95]) - Introduce LightBlock support for MockContext ([#389]) + ### IMPROVEMENTS - Split `msgs.rs` of ICS002 in separate modules ([#367]) @@ -1803,6 +1806,7 @@ _December 2, 2020_ - Homogenize ConnectionReader trait so that all functions return owned objects ([#347]) - Align with tendermint-rs in the domain type definition of `block::Id` ([#338]) + [#95]: https://github.com/informalsystems/ibc-rs/issues/95 [#97]: https://github.com/informalsystems/ibc-rs/issues/97 [#98]: https://github.com/informalsystems/ibc-rs/issues/98 @@ -1813,29 +1817,26 @@ _December 2, 2020_ [#368]: https://github.com/informalsystems/ibc-rs/issues/368 [#389]: https://github.com/informalsystems/ibc-rs/issues/389 -## v0.0.4 -_October 19, 2020_ +## v0.0.4 +*October 19, 2020* ### FEATURES: - - ICS03 Ack and Confirm message processors ([#223]) - Routing module minimal implementation for MVP ([#159], [#232]) - Basic relayer functionality: a test with ClientUpdate ping-pong between two mocked chains ([#276]) ### IMPROVEMENTS: - - Implemented the `DomainType` trait for IBC proto structures ([#245], [#249]). - ICS03 connection handshake protocol initial implementation and tests ([#160]) -- Add capability to decode from protobuf Any\* type into Tendermint and Mock client states -- Cleanup Any\* client wrappers related code +- Add capability to decode from protobuf Any* type into Tendermint and Mock client states +- Cleanup Any* client wrappers related code - Migrate handlers to newer protobuf definitions ([#226]) - Extend client context mock ([#221]) - Context mock simplifications and cleanup ([#269], [#295], [#296], [#297]) - Split `msgs.rs` in multiple files, implement `From` for all messages ([#253]) ### BUG FIXES: - - Removed "Uninitialized" state from connection ([#217]) - Disclosed bugs in ICS3 version negotiation and proposed a fix ([#209], [#213]) @@ -1857,19 +1858,17 @@ _October 19, 2020_ [#296]: https://github.com/informalsystems/ibc-rs/issues/296 [#297]: https://github.com/informalsystems/ibc-rs/issues/297 -## v0.0.3 -_September 1, 2020_ +## v0.0.3 +*September 1, 2020* ### BREAKING CHANGES: - - Renamed `modules` crate to `ibc` crate. Version number for the new crate is not reset. ([#198]) - `ConnectionId`s are now decoded to `Vec` and validated instead of `Vec` ([#185]) - Removed `Connection` and `ConnectionCounterparty` traits ([#193]) - Removed `Channel` and `ChannelCounterparty` traits ([#192]) ### FEATURES: - - partial implementation of message handler ([#119], [#194]) - partial implementation of message handler ([#119], [#194]) - Proposal for IBC handler (message processor) architecture ([#119], [#194]) @@ -1877,7 +1876,6 @@ _September 1, 2020_ - Connection Handshake FSM English description ([#122]) ### BUG FIXES: - - Identifiers limit update according to ICS specs ([#168]) [#1]: https://github.com/informalsystems/ibc-rs/issues/1 @@ -1890,17 +1888,18 @@ _September 1, 2020_ [#194]: https://github.com/informalsystems/ibc-rs/issues/194 [#198]: https://github.com/informalsystems/ibc-rs/issues/198 + ## v0.0.2 -_August 1, 2020_ +*August 1, 2020* ### BREAKING CHANGES: - Refactor queries, paths, and Chain trait to reduce code and use protobuf instead of Amino. - [\#152](https://github.com/informalsystems/ibc-rs/pull/152), - [\#174](https://github.com/informalsystems/ibc-rs/pull/174), - [\#155](https://github.com/informalsystems/ibc-rs/pull/155) + [\#152](https://github.com/informalsystems/ibc-rs/pull/152), + [\#174](https://github.com/informalsystems/ibc-rs/pull/174), + [\#155](https://github.com/informalsystems/ibc-rs/pull/155) ### FEATURES: @@ -1916,9 +1915,10 @@ _August 1, 2020_ - Fix nightly runs. [\#161](https://github.com/informalsystems/ibc-rs/pull/161) - Fix for incomplete licence terms. [\#153](https://github.com/informalsystems/ibc-rs/pull/153) + ## 0.0.1 -_July 1st, 2020_ +*July 1st, 2020* This is the initial prototype release of an IBC relayer and TLA+ specifications. There are no compatibility guarantees until v0.1.0. @@ -1926,6 +1926,6 @@ There are no compatibility guarantees until v0.1.0. Includes: - Client state, consensus state, connection, channel queries. - - Note: deserialization is unimplemented as it has dependency on migration to protobuf for ABCI queries + - Note: deserialization is unimplemented as it has dependency on migration to protobuf for ABCI queries - IBC Modules partial implementation for datastructures, messages and queries. - Some English and TLA+ specifications for Connection & Channel Handshake as well as naive relayer algorithm. From 27716730681b42424434b6e247fb0ae420762933 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 12:11:12 -0500 Subject: [PATCH 08/12] Run unclog release --- .../1163-make-ics07-custom-context-traits-portable.md | 0 .../breaking-changes/1168-discard-TmVerifier.md | 0 .../{unreleased => v0.52.0}/breaking-changes/1193-bump-msrv.md | 0 .../bug-fixes/1154-use-query-height-in-query-helper-functions.md | 0 .../bug-fixes/1177-fix-prefixed-denom-parsing.md | 0 .../bug-fixes/1179-fix-packet-attribute-name.md | 0 .../features/1164-implement-cosmwasm-integrator-library.md | 0 .../1165-implement-cosmwasm-contract-for-tendermint-clients.md | 0 .../{unreleased => v0.52.0}/features/738-client-recovery.md | 0 .../improvements/1108-fallible-conversion-of-ics23-types.md | 0 .../improvements/1145-tendermint-boxed-header.md | 0 .../1149-flatten-client-message-verification-methods.md | 0 .../1152-add-query-height-and-proof-for-client-upgrade-queries.md | 0 .../improvements/1156-add-into-inner-for-ics07-consensus-state.md | 0 .../improvements/1171-update-ibc-proto-and-tendermint-deps.md | 0 .changelog/{unreleased => v0.52.0}/summary.md | 0 16 files changed, 0 insertions(+), 0 deletions(-) rename .changelog/{unreleased => v0.52.0}/breaking-changes/1163-make-ics07-custom-context-traits-portable.md (100%) rename .changelog/{unreleased => v0.52.0}/breaking-changes/1168-discard-TmVerifier.md (100%) rename .changelog/{unreleased => v0.52.0}/breaking-changes/1193-bump-msrv.md (100%) rename .changelog/{unreleased => v0.52.0}/bug-fixes/1154-use-query-height-in-query-helper-functions.md (100%) rename .changelog/{unreleased => v0.52.0}/bug-fixes/1177-fix-prefixed-denom-parsing.md (100%) rename .changelog/{unreleased => v0.52.0}/bug-fixes/1179-fix-packet-attribute-name.md (100%) rename .changelog/{unreleased => v0.52.0}/features/1164-implement-cosmwasm-integrator-library.md (100%) rename .changelog/{unreleased => v0.52.0}/features/1165-implement-cosmwasm-contract-for-tendermint-clients.md (100%) rename .changelog/{unreleased => v0.52.0}/features/738-client-recovery.md (100%) rename .changelog/{unreleased => v0.52.0}/improvements/1108-fallible-conversion-of-ics23-types.md (100%) rename .changelog/{unreleased => v0.52.0}/improvements/1145-tendermint-boxed-header.md (100%) rename .changelog/{unreleased => v0.52.0}/improvements/1149-flatten-client-message-verification-methods.md (100%) rename .changelog/{unreleased => v0.52.0}/improvements/1152-add-query-height-and-proof-for-client-upgrade-queries.md (100%) rename .changelog/{unreleased => v0.52.0}/improvements/1156-add-into-inner-for-ics07-consensus-state.md (100%) rename .changelog/{unreleased => v0.52.0}/improvements/1171-update-ibc-proto-and-tendermint-deps.md (100%) rename .changelog/{unreleased => v0.52.0}/summary.md (100%) diff --git a/.changelog/unreleased/breaking-changes/1163-make-ics07-custom-context-traits-portable.md b/.changelog/v0.52.0/breaking-changes/1163-make-ics07-custom-context-traits-portable.md similarity index 100% rename from .changelog/unreleased/breaking-changes/1163-make-ics07-custom-context-traits-portable.md rename to .changelog/v0.52.0/breaking-changes/1163-make-ics07-custom-context-traits-portable.md diff --git a/.changelog/unreleased/breaking-changes/1168-discard-TmVerifier.md b/.changelog/v0.52.0/breaking-changes/1168-discard-TmVerifier.md similarity index 100% rename from .changelog/unreleased/breaking-changes/1168-discard-TmVerifier.md rename to .changelog/v0.52.0/breaking-changes/1168-discard-TmVerifier.md diff --git a/.changelog/unreleased/breaking-changes/1193-bump-msrv.md b/.changelog/v0.52.0/breaking-changes/1193-bump-msrv.md similarity index 100% rename from .changelog/unreleased/breaking-changes/1193-bump-msrv.md rename to .changelog/v0.52.0/breaking-changes/1193-bump-msrv.md diff --git a/.changelog/unreleased/bug-fixes/1154-use-query-height-in-query-helper-functions.md b/.changelog/v0.52.0/bug-fixes/1154-use-query-height-in-query-helper-functions.md similarity index 100% rename from .changelog/unreleased/bug-fixes/1154-use-query-height-in-query-helper-functions.md rename to .changelog/v0.52.0/bug-fixes/1154-use-query-height-in-query-helper-functions.md diff --git a/.changelog/unreleased/bug-fixes/1177-fix-prefixed-denom-parsing.md b/.changelog/v0.52.0/bug-fixes/1177-fix-prefixed-denom-parsing.md similarity index 100% rename from .changelog/unreleased/bug-fixes/1177-fix-prefixed-denom-parsing.md rename to .changelog/v0.52.0/bug-fixes/1177-fix-prefixed-denom-parsing.md diff --git a/.changelog/unreleased/bug-fixes/1179-fix-packet-attribute-name.md b/.changelog/v0.52.0/bug-fixes/1179-fix-packet-attribute-name.md similarity index 100% rename from .changelog/unreleased/bug-fixes/1179-fix-packet-attribute-name.md rename to .changelog/v0.52.0/bug-fixes/1179-fix-packet-attribute-name.md diff --git a/.changelog/unreleased/features/1164-implement-cosmwasm-integrator-library.md b/.changelog/v0.52.0/features/1164-implement-cosmwasm-integrator-library.md similarity index 100% rename from .changelog/unreleased/features/1164-implement-cosmwasm-integrator-library.md rename to .changelog/v0.52.0/features/1164-implement-cosmwasm-integrator-library.md diff --git a/.changelog/unreleased/features/1165-implement-cosmwasm-contract-for-tendermint-clients.md b/.changelog/v0.52.0/features/1165-implement-cosmwasm-contract-for-tendermint-clients.md similarity index 100% rename from .changelog/unreleased/features/1165-implement-cosmwasm-contract-for-tendermint-clients.md rename to .changelog/v0.52.0/features/1165-implement-cosmwasm-contract-for-tendermint-clients.md diff --git a/.changelog/unreleased/features/738-client-recovery.md b/.changelog/v0.52.0/features/738-client-recovery.md similarity index 100% rename from .changelog/unreleased/features/738-client-recovery.md rename to .changelog/v0.52.0/features/738-client-recovery.md diff --git a/.changelog/unreleased/improvements/1108-fallible-conversion-of-ics23-types.md b/.changelog/v0.52.0/improvements/1108-fallible-conversion-of-ics23-types.md similarity index 100% rename from .changelog/unreleased/improvements/1108-fallible-conversion-of-ics23-types.md rename to .changelog/v0.52.0/improvements/1108-fallible-conversion-of-ics23-types.md diff --git a/.changelog/unreleased/improvements/1145-tendermint-boxed-header.md b/.changelog/v0.52.0/improvements/1145-tendermint-boxed-header.md similarity index 100% rename from .changelog/unreleased/improvements/1145-tendermint-boxed-header.md rename to .changelog/v0.52.0/improvements/1145-tendermint-boxed-header.md diff --git a/.changelog/unreleased/improvements/1149-flatten-client-message-verification-methods.md b/.changelog/v0.52.0/improvements/1149-flatten-client-message-verification-methods.md similarity index 100% rename from .changelog/unreleased/improvements/1149-flatten-client-message-verification-methods.md rename to .changelog/v0.52.0/improvements/1149-flatten-client-message-verification-methods.md diff --git a/.changelog/unreleased/improvements/1152-add-query-height-and-proof-for-client-upgrade-queries.md b/.changelog/v0.52.0/improvements/1152-add-query-height-and-proof-for-client-upgrade-queries.md similarity index 100% rename from .changelog/unreleased/improvements/1152-add-query-height-and-proof-for-client-upgrade-queries.md rename to .changelog/v0.52.0/improvements/1152-add-query-height-and-proof-for-client-upgrade-queries.md diff --git a/.changelog/unreleased/improvements/1156-add-into-inner-for-ics07-consensus-state.md b/.changelog/v0.52.0/improvements/1156-add-into-inner-for-ics07-consensus-state.md similarity index 100% rename from .changelog/unreleased/improvements/1156-add-into-inner-for-ics07-consensus-state.md rename to .changelog/v0.52.0/improvements/1156-add-into-inner-for-ics07-consensus-state.md diff --git a/.changelog/unreleased/improvements/1171-update-ibc-proto-and-tendermint-deps.md b/.changelog/v0.52.0/improvements/1171-update-ibc-proto-and-tendermint-deps.md similarity index 100% rename from .changelog/unreleased/improvements/1171-update-ibc-proto-and-tendermint-deps.md rename to .changelog/v0.52.0/improvements/1171-update-ibc-proto-and-tendermint-deps.md diff --git a/.changelog/unreleased/summary.md b/.changelog/v0.52.0/summary.md similarity index 100% rename from .changelog/unreleased/summary.md rename to .changelog/v0.52.0/summary.md From 1699a29c436e488c555c70d725ae1d85da88d8e4 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 12:14:10 -0500 Subject: [PATCH 09/12] Update cw-check Cargo.lock --- ci/cw-check/Cargo.lock | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/ci/cw-check/Cargo.lock b/ci/cw-check/Cargo.lock index e9377790a..db9237c00 100644 --- a/ci/cw-check/Cargo.lock +++ b/ci/cw-check/Cargo.lock @@ -598,7 +598,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-app-transfer-types", "ibc-core", @@ -607,7 +607,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -622,14 +622,14 @@ dependencies = [ [[package]] name = "ibc-apps" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-app-transfer", ] [[package]] name = "ibc-core" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -644,7 +644,7 @@ dependencies = [ [[package]] name = "ibc-core-channel" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-channel-types", "ibc-core-client", @@ -658,7 +658,7 @@ dependencies = [ [[package]] name = "ibc-core-channel-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -679,7 +679,7 @@ dependencies = [ [[package]] name = "ibc-core-client" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-client-context", "ibc-core-client-types", @@ -691,7 +691,7 @@ dependencies = [ [[package]] name = "ibc-core-client-context" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -706,7 +706,7 @@ dependencies = [ [[package]] name = "ibc-core-client-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -724,7 +724,7 @@ dependencies = [ [[package]] name = "ibc-core-commitment-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -740,7 +740,7 @@ dependencies = [ [[package]] name = "ibc-core-connection" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-client", "ibc-core-connection-types", @@ -751,7 +751,7 @@ dependencies = [ [[package]] name = "ibc-core-connection-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -770,7 +770,7 @@ dependencies = [ [[package]] name = "ibc-core-handler" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -784,7 +784,7 @@ dependencies = [ [[package]] name = "ibc-core-handler-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -806,7 +806,7 @@ dependencies = [ [[package]] name = "ibc-core-host" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -823,7 +823,7 @@ dependencies = [ [[package]] name = "ibc-core-host-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -836,7 +836,7 @@ dependencies = [ [[package]] name = "ibc-core-router" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -849,7 +849,7 @@ dependencies = [ [[package]] name = "ibc-core-router-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -875,7 +875,7 @@ dependencies = [ [[package]] name = "ibc-primitives" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", From 9ea391a5b445b5c670a8dbba05a193604c11c0cc Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 26 Apr 2024 19:55:10 +0200 Subject: [PATCH 10/12] update no-std-check cargo lockfile --- ci/no-std-check/Cargo.lock | 171 +++++++++++++------------------------ 1 file changed, 60 insertions(+), 111 deletions(-) diff --git a/ci/no-std-check/Cargo.lock b/ci/no-std-check/Cargo.lock index 4c35268f5..8b98fa57e 100644 --- a/ci/no-std-check/Cargo.lock +++ b/ci/no-std-check/Cargo.lock @@ -320,6 +320,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" + [[package]] name = "bitvec" version = "1.0.1" @@ -497,7 +503,7 @@ dependencies = [ "android-tzdata", "iana-time-zone", "num-traits", - "windows-targets 0.52.5", + "windows-targets", ] [[package]] @@ -1191,7 +1197,7 @@ dependencies = [ [[package]] name = "ibc" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-apps", "ibc-clients", @@ -1203,7 +1209,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-app-transfer-types", "ibc-core", @@ -1212,7 +1218,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1225,14 +1231,14 @@ dependencies = [ [[package]] name = "ibc-apps" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-app-transfer", ] [[package]] name = "ibc-client-tendermint" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "ibc-client-tendermint-types", @@ -1248,7 +1254,7 @@ dependencies = [ [[package]] name = "ibc-client-tendermint-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "displaydoc", "ibc-core-client-types", @@ -1264,7 +1270,7 @@ dependencies = [ [[package]] name = "ibc-client-wasm-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "base64 0.21.7", "displaydoc", @@ -1277,7 +1283,7 @@ dependencies = [ [[package]] name = "ibc-clients" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-client-tendermint", "ibc-client-wasm-types", @@ -1285,7 +1291,7 @@ dependencies = [ [[package]] name = "ibc-core" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -1300,7 +1306,7 @@ dependencies = [ [[package]] name = "ibc-core-channel" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-channel-types", "ibc-core-client", @@ -1314,7 +1320,7 @@ dependencies = [ [[package]] name = "ibc-core-channel-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1332,7 +1338,7 @@ dependencies = [ [[package]] name = "ibc-core-client" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-client-context", "ibc-core-client-types", @@ -1344,7 +1350,7 @@ dependencies = [ [[package]] name = "ibc-core-client-context" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1359,7 +1365,7 @@ dependencies = [ [[package]] name = "ibc-core-client-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1374,7 +1380,7 @@ dependencies = [ [[package]] name = "ibc-core-commitment-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1387,7 +1393,7 @@ dependencies = [ [[package]] name = "ibc-core-connection" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-client", "ibc-core-connection-types", @@ -1398,7 +1404,7 @@ dependencies = [ [[package]] name = "ibc-core-connection-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1414,7 +1420,7 @@ dependencies = [ [[package]] name = "ibc-core-handler" -version = "0.51.0" +version = "0.52.0" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -1428,7 +1434,7 @@ dependencies = [ [[package]] name = "ibc-core-handler-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1447,7 +1453,7 @@ dependencies = [ [[package]] name = "ibc-core-host" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1464,7 +1470,7 @@ dependencies = [ [[package]] name = "ibc-core-host-cosmos" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1486,7 +1492,7 @@ dependencies = [ [[package]] name = "ibc-core-host-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1496,7 +1502,7 @@ dependencies = [ [[package]] name = "ibc-core-router" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1509,7 +1515,7 @@ dependencies = [ [[package]] name = "ibc-core-router-types" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1523,7 +1529,7 @@ dependencies = [ [[package]] name = "ibc-derive" -version = "0.6.1" +version = "0.7.0" dependencies = [ "proc-macro2", "quote", @@ -1532,7 +1538,7 @@ dependencies = [ [[package]] name = "ibc-primitives" -version = "0.51.0" +version = "0.52.0" dependencies = [ "derive_more", "displaydoc", @@ -1758,9 +1764,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -1968,9 +1974,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" dependencies = [ "lock_api", "parking_lot_core", @@ -1978,15 +1984,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", - "windows-targets 0.48.5", + "windows-targets", ] [[package]] @@ -2247,11 +2253,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" dependencies = [ - "bitflags", + "bitflags 2.5.0", ] [[package]] @@ -2679,7 +2685,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb2dac7e47c7ddbb61efe196d5cce99f6ea88926c961fa39909bfeae46fc5a7b" dependencies = [ "array-bytes", - "bitflags", + "bitflags 1.3.2", "blake2", "bounded-collections", "bs58", @@ -3275,7 +3281,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.6", + "winnow 0.6.7", ] [[package]] @@ -3550,9 +3556,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134306a13c5647ad6453e8deaec55d3a44d6021970129e6188735e74bf546697" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ "windows-sys", ] @@ -3569,7 +3575,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.5", + "windows-targets", ] [[package]] @@ -3578,22 +3584,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-targets", ] [[package]] @@ -3602,46 +3593,28 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.5" @@ -3654,48 +3627,24 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.5" @@ -3713,9 +3662,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" +checksum = "14b9415ee827af173ebb3f15f9083df5a122eb93572ec28741fb153356ea2578" dependencies = [ "memchr", ] @@ -3751,9 +3700,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.8.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63381fa6624bf92130a6b87c0d07380116f80b565c42cf0d754136f0238359ef" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" dependencies = [ "zeroize_derive", ] From 5474db7597c8cd498c65d1d06960aeb7b0be38a1 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 26 Apr 2024 13:25:12 -0500 Subject: [PATCH 11/12] Incorporate PR feedback --- CHANGELOG.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4d2e3138..772427d3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,25 @@ # CHANGELOG -*April 26, 2024* - ## v0.52.0 +*April 26, 2024* + This release adds some exciting changes, improvements, and new features to ibc-rs. First and foremost, support for the IBC protocol's [client recovery][client-recovery] mechanism has been implemented, which provides a route for frozen and expired IBC clients to be re-instated following a successful governance vote. In addition, a new crate, `ibc-client-cw`, facilitates CosmWasm contract creation for light clients built using -`ibc-rs`. +`ibc-rs`. Lastly, the ics07 tendermint light client has also been packaged and included +as a CosmWasm contract. This release also includes a myriad of other bug-fixes and improvements, such as enhancing the portability of ibc-rs's Validation and Execution Context traits, as well as fixing an incompatibility with how ibc-rs parses `PrefixDenom`s compared to ibc-go, among many others. -Finally, the minimum-supported Rust version has been updated to `1.72`. +The minimum-supported Rust version has been updated to `1.72`. `ibc-proto` has been +bumped to `0.43`. `tendermint` has been bumped to `0.35`. `ibc-derive` has been +bumped to `0.7`. There are no consensus-breaking changes as part of this release. From 16ef5cf938c9cb300fcf5621447be7c7e2c79d36 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 26 Apr 2024 20:41:31 +0200 Subject: [PATCH 12/12] update summary.md --- .changelog/v0.52.0/summary.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.changelog/v0.52.0/summary.md b/.changelog/v0.52.0/summary.md index b91a9a9f0..eeb7f51bb 100644 --- a/.changelog/v0.52.0/summary.md +++ b/.changelog/v0.52.0/summary.md @@ -3,13 +3,16 @@ First and foremost, support for the IBC protocol's [client recovery][client-reco mechanism has been implemented, which provides a route for frozen and expired IBC clients to be re-instated following a successful governance vote. In addition, a new crate, `ibc-client-cw`, facilitates CosmWasm contract creation for light clients built using -`ibc-rs`. +`ibc-rs`. Lastly, the ics07 tendermint light client has also been packaged and included +as a CosmWasm contract. This release also includes a myriad of other bug-fixes and improvements, such as enhancing the portability of ibc-rs's Validation and Execution Context traits, as well as fixing an incompatibility with how ibc-rs parses `PrefixDenom`s compared to ibc-go, among many others. -Finally, the minimum-supported Rust version has been updated to `1.72`. +The minimum-supported Rust version has been updated to `1.72`. `ibc-proto` has been +bumped to `0.43`. `tendermint` has been bumped to `0.35`. `ibc-derive` has been +bumped to `0.7`. There are no consensus-breaking changes as part of this release.