-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/cargo/derive_more-1.0.0
Signed-off-by: Rano | Ranadeep <[email protected]>
- Loading branch information
Showing
207 changed files
with
4,158 additions
and
4,693 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
.changelog/unreleased/breaking-changes/1311-migrate-cosmwasm-workspace
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...elog/unreleased/breaking-changes/1375-bump-ibc-proto-and-tendermint-and-msrv.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- [ibc] Update `ibc-proto` to `v0.51.1` and `tendermint` to `v0.40.0`. | ||
([\#1375](https://github.com/cosmos/ibc-rs/pull/1375)) | ||
- [ibc] Update MSRV to `1.75.0`. | ||
([\#1375](https://github.com/cosmos/ibc-rs/pull/1375)) |
2 changes: 2 additions & 0 deletions
2
.../unreleased/improvements/1362-relax-timeout-check-in-MsgTransfer-conversions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-apps] Relax timeout check during `MsgTransfer` proto to domain | ||
conversions ([#1362](https://github.com/cosmos/ibc-rs/issues/1362)). |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/1374-optimize-vec-push-avoid-realloc-mem.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-app-nft-transfer] Preallocate `Vec` to avoid reallocation of memory | ||
([\#1374](https://github.com/cosmos/ibc-rs/pull/1374)). |
6 changes: 3 additions & 3 deletions
6
.changelog/v0.31.0/breaking-changes/482-fix-validate-self-client-error-type.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
- Modify `validate_self_client` error type to return `ContextError` instead of | ||
`ConnectionError` | ||
([#482](https://github.com/cosmos/ibc-rs/issues/482)) | ||
- Modify `validate_self_client` error type to return `HostError` instead of | ||
`ConnectionError` | ||
([#482](https://github.com/cosmos/ibc-rs/issues/482)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
- Fix ContextError Display output | ||
- Fix HandlerError Display output | ||
([#547](https://github.com/cosmos/ibc-rs/issues/547)) |
2 changes: 1 addition & 1 deletion
2
.changelog/v0.45.0/breaking-changes/857-use-result-for-safe-counters-increment.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
- Allow hosts to handle overflow cases in `increase_*_counter` methods by | ||
returning `Result<(),ContextError>` type. | ||
returning `Result<(),HostError>` type. | ||
([#857](https://github.com/cosmos/ibc-rs/issues/857)) |
2 changes: 1 addition & 1 deletion
2
...g/v0.45.0/breaking-changes/859-return-result-in-logger-event-emitter-methods.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
- logger and event emitter methods return `Result<(), ContextError>` type. | ||
- logger and event emitter methods return `Result<(), HostError>` type. | ||
([#859](https://github.com/cosmos/ibc-rs/issues/859)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.55.0/breaking-changes/1311-migrate-cosmwasm-workspace.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [cosmwasm] Migrate the `cosmwasm` workspace into its own separate repository | ||
located at [cosmwasm-ibc](https://github.com/informalsystems/cosmwasm-ibc). | ||
([\#1311](https://github.com/cosmos/ibc-rs/issues/1311)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.55.0/breaking-changes/1319-consolidate-decoding-related-errors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc] Consolidate decoding-related errors into new `DecodingError` type | ||
([\1319](https://github.com/cosmos/ibc-rs/issues/1319)) |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.55.0/breaking-changes/1320-define-host-error-type.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- [ibc-core] Define a new `HostError` type in ICS-24 to draw distinction between | ||
protocol errors and host errors. Additionally, rename `ContextError` to | ||
`HandlerError` to better reflect its use case. | ||
([\1320](https://github.com/cosmos/ibc-rs/issues/1320)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.55.0/breaking-changes/1339-merge-packet-error-into-channel-error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-core-channel] Merge `PacketError` type into `ChannelError` | ||
([#1339](https://github.com/cosmos/ibc-rs/issues/1339)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.55.0/breaking-changes/1346-remove-generic-string-error-variants.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [ibc] Clean up multi-purpose variants like the `Other` variant and reduce | ||
unnecessary `String` allocations in `*Error` enums. | ||
([\#1346](https://github.com/cosmos/ibc-rs/issues/1346)) |
3 changes: 3 additions & 0 deletions
3
....55.0/breaking-changes/1352-update-ConsensusState-timestamp-to-return-Result.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [ibc-core-client] Update ICS-02 `ConsensusState::timestamp()` to return | ||
`Result<Timestamp, ClientError>` | ||
([\#1352](https://github.com/cosmos/ibc-rs/issues/1352)) |
3 changes: 3 additions & 0 deletions
3
.../v0.55.0/breaking-changes/270-standardize-error-variants-to-be-less-specific.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [ibc] Standardize error variants across the codebase to make them less | ||
specific and more consistent. | ||
([\#270](https://github.com/cosmos/ibc-rs/issues/270)) |
2 changes: 2 additions & 0 deletions
2
...0/breaking-changes/950-return-DecodingError-when-decoding-Any-to-MsgEnvelope.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-core-handler] Return `DecodingError` for `MsgEnvelope` when trying to | ||
decode from `Any` ([\#950](https://github.com/cosmos/ibc-rs/issues/950)) |
2 changes: 2 additions & 0 deletions
2
....55.0/bug-fixes/1336-remove-faulty-receipt-check-during-recv-packet-validate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-core] Remove faulty receipt check during `recv_packet_validate` | ||
([#1336](https://github.com/cosmos/ibc-rs/issues/1336)). |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.55.0/improvements/1323-Timestamp-converstions-to-from-host-time.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [ibc-primitives] Define utility traits for converting between `Timestamp` and | ||
host-specific time types. | ||
([#1323](https://github.com/cosmos/ibc-rs/pull/1323)). |
3 changes: 3 additions & 0 deletions
3
...log/v0.55.0/improvements/1338-remove-redundant-path-constructions-in-testkit.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [ibc-testkit] Remove redundant path constructions in the implementation of | ||
`ValidationContext` for `MockIbcStore` | ||
([#1338](https://github.com/cosmos/ibc-rs/pull/1338)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
This release brings major improvements to error handling in `ibc-rs`, giving | ||
hosting environments better control over errors and easier debugging for the | ||
developers. A key enhancement is the clearer distinction between host-sourced | ||
errors and those propagated by `ibc-rs`, effectively separating host-level | ||
errors from protocol-level ones. Therefore, a noticeable update is the renaming | ||
of the previous `ContextError` to `HandlerError`, which now exclusively manages | ||
errors from IBC handlers. In parallel, a new `HostError` has been introduced to | ||
handle errors originating from hosts, particularly those from validation and | ||
execution contexts. Additionally, error definitions within `ibc-rs` have been | ||
unified, reducing the granularity of error variants. For more details, please | ||
refer to [ADR-011](./docs/architecture/adr-11-refactor-errors.md). | ||
|
||
In addition, it introduces various fixes and enhancements. Notably, helper | ||
traits with default implementations have been added to simplify the conversion | ||
between host time types and `Timestamp`. Consequently, the `ibc-primitives` | ||
crate has been fully decoupled from the `tendermint` dependency. | ||
|
||
It’s also worth noting that the `cosmwasm` workspace has been relocated to its | ||
own repository, now available under | ||
[cosmwasm-ibc](https://github.com/informalsystems/cosmwasm-ibc). | ||
|
||
There are no consensus-breaking changes in this release. |
2 changes: 2 additions & 0 deletions
2
...elog/v0.55.1/bug-fixes/1357-remove-non-existing-ibc-client-cw-from-workspace.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc] Remove non-existing `ibc-client-cw` link in the `Cargo.toml` workspace. | ||
([#1357](https://github.com/cosmos/ibc-rs/issues/1357)). |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.55.1/improvements/1356-impl-From-Infallible-for-ClientError.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-core] Implement `From<Infallible>` for `ClientError` | ||
([#1356](https://github.com/cosmos/ibc-rs/issues/1356)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This patch release fixes the `Cargo.toml` workspace file and adds a helper | ||
`From<Infallible>` implementation for `ClientError`. | ||
|
||
There are no consensus-breaking changes in this release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.