Skip to content

Commit

Permalink
Merge pull request cosmos#164 from octopus-network/feature/merge-upst…
Browse files Browse the repository at this point in the history
…ream-ibc-rs

update new dep ibc-rs
  • Loading branch information
DaviRain-Su authored Feb 22, 2022
2 parents f85e140 + 691148c commit 7cd9679
Show file tree
Hide file tree
Showing 641 changed files with 32,022 additions and 14,020 deletions.
12 changes: 6 additions & 6 deletions .changelog/epilogue.md
Original file line number Diff line number Diff line change
Expand Up @@ -1003,21 +1003,21 @@ Other highlights:
[#195]: https://github.com/informalsystems/ibc-rs/pull/195
[ibc]: https://github.com/informalsystems/ibc-rs/tree/master/modules
[#198]: https://github.com/informalsystems/ibc-rs/issues/198
[ibc/ics02]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/ics02_client
[ibc/ics02]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/core/ics02_client
[#185]: https://github.com/informalsystems/ibc-rs/issues/185
[ibc/ics03]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/ics03_connection
[ibc/ics03]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/core/ics03_connection
[#193]: https://github.com/informalsystems/ibc-rs/issues/193
[ibc/ics04]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/ics04_channel
[ibc/ics04]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/core/ics04_channel
[#192]: https://github.com/informalsystems/ibc-rs/issues/192
[ibc-relayer-cli]: https://github.com/informalsystems/ibc-rs/tree/master/relayer-cli
[architecture/FSM-1]: https://github.com/informalsystems/ibc-rs/blob/master/docs/architecture/fsm-async-connection.md
[architecture/FSM-1]: https://github.com/informalsystems/ibc-rs/blob/v0.1.0/docs/architecture/fsm-async-connection.md
[#122]: https://github.com/informalsystems/ibc-rs/issues/122
[architecture/ADR-003]: https://github.com/informalsystems/ibc-rs/blob/master/docs/architecture/adr-003-handler-implementation.md
[#119]: https://github.com/informalsystems/ibc-rs/issues/119
[#194]: https://github.com/informalsystems/ibc-rs/issues/194
[ibc/ics24]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/ics24_host
[ibc/ics24]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/core/ics24_host
[#168]: https://github.com/informalsystems/ibc-rs/issues/168
[ibc/ics07]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/ics07_tendermint
[ibc/ics07]: https://github.com/informalsystems/ibc-rs/tree/master/modules/src/clients/ics07_tendermint

## v0.0.2

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fix support for non-standard ports in channel handshake
([#1861](https://github.com/informalsystems/ibc-rs/issues/1861),
[#1837](https://github.com/informalsystems/ibc-rs/issues/1837))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- IBC handlers now retrieve the host timestamp from the latest host consensus
state ([#1770](https://github.com/informalsystems/ibc-rs/issues/1770))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix duplicate SendPacket events emitted by EndBlock
([#1844](https://github.com/informalsystems/ibc-rs/issues/1844))
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/relayer/1872-clear-packets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixed bug where Hermes cleared packets at startup, despite
`clear_on_start = false` ([#1872](https://github.com/informalsystems/ibc-rs/issues/1872))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/1388-more-health-checks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add two more health checks: tx indexing enabled and historical entries > 0
([#1388](https://github.com/informalsystems/ibc-rs/issues/1388))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added `clear packets` command, combining the effects of
`tx raw packet-recv` and `tx raw packet-ack`.
([#1834](https://github.com/informalsystems/ibc-rs/pull/1834))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Changed `ConnectionEnd::versions` method to be non-allocating by having it return a `&[Version]` instead of `Vec<Version>`. ([#1880](https://github.com/informalsystems/ibc-rs/pull/1880))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Define CapabilityReader and CapabilityKeeper traits
([#1769](https://github.com/informalsystems/ibc-rs/issues/1769))
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/breaking-changes/1660-msrv-1.57.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update MSRV to Rust 1.57
([#1660](https://github.com/informalsystems/ibc-rs/issues/1660))
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/breaking-changes/1665-tendermint-0.23.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Pin tendermint-rs dependencies to =0.23.2
([#1665](https://github.com/informalsystems/ibc-rs/pull/1665))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve spawning of supervisor worker tasks ([#1656](https://github.com/informalsystems/ibc-rs/issues/1656))
- The `Supervisor` struct is removed.
- Supervisor is now spawned using the `spawn_supervisor` function.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Add the `frozen_height()` method to the `ClientState` trait. (Includes breaking changes to the Tendermint
`ClientState` API.)
([#1618](https://github.com/informalsystems/ibc-rs/issues/1618))
4 changes: 4 additions & 0 deletions .changelog/v0.10.0/breaking-changes/ibc/1665-remove-chrono.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Remove `Timestamp` API that depended on the `chrono` crate:
([#1665](https://github.com/informalsystems/ibc-rs/pull/1665)):
- `Timestamp::from_datetime`; use `From<tendermint::Time>`
- `Timestamp::as_datetime`, superseded by `Timestamp::into_datetime`
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/bug-fixes/1264-recover-acct-seq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a recovery mechanism to automatically retry or drop tx upon account
sequence mismatch errors ([#1264](https://github.com/informalsystems/ibc-rs/issues/1264))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update `CONTRIBUTING.md` for latest version of unclog
([#1634](https://github.com/informalsystems/ibc-rs/issues/1634))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Handle expired client errors in workers ([#1543](https://github.com/informalsystems/ibc-rs/issues/1543))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Perform `execute_schedule` after handling packet commands in packet worker ([#1715](https://github.com/informalsystems/ibc-rs/issues/1715))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Do not spawn detect misbehavior task if it is disabled in config [#1750](https://github.com/informalsystems/ibc-rs/issues/1750)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Delete packet commitment instead of acknowledgement in acknowledgePacket
[#1573](https://github.com/informalsystems/ibc-rs/issues/1573)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Set the `counterparty_channel_id` correctly to fix ICS04 [`chanOpenAck` handler verification](https://github.com/informalsystems/ibc-rs/blob/master/modules/src/core/ics04_channel/handler/chan_open_ack.rs)
([#1649](https://github.com/informalsystems/ibc-rs/issues/1649))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add missing assertion for non-zero trust-level in Tendermint client initialization.
([#1697](https://github.com/informalsystems/ibc-rs/issues/1697))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix conversion to Protocol Buffers of `ClientState`'s `frozen_height` field.
([#1710](https://github.com/informalsystems/ibc-rs/issues/1710))
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/features/1410-dynamic-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Support dynamic versions in channel open handshake & enable full support for
ibc-go v2 ([#1410](https://github.com/informalsystems/ibc-rs/issues/1410))
1 change: 1 addition & 0 deletions .changelog/v0.10.0/features/1550-ci-gaiav6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Extend CI test suite to include E2E tests using Gaia v6.0.0 [#1550](https://github.com/informalsystems/ibc-rs/issues/1550)
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/features/1606.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added the `extra_wallets` parameter to `gm` to create additional funded wallets.
- Added the possibility of JSON output to `gm` by setting the environment variable `OUTPUT=json`.
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/features/1633-allow-fee-granters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added support for fee granters through config file
([#1633](https://github.com/informalsystems/ibc-rs/issues/1633))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Allow custom proof-specs in chain config
([#1561](https://github.com/informalsystems/ibc-rs/issues/1561))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Implement proof verification for Tendermint client (ICS07).
([#1583](https://github.com/informalsystems/ibc-rs/pull/1583))

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve performance of standalone commands by starting the event monitor on-demand
([#1063](https://github.com/informalsystems/ibc-rs/issues/1063))
2 changes: 2 additions & 0 deletions .changelog/v0.10.0/improvements/ibc-relayer-cli/1636.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Increase the default for `max_gas` from `300_000` to `400_000` ([#1636](https://github.com/informalsystems/ibc-rs/pull/1636))

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Update to abscissa framework version 0.6.0-beta.1, adding support for
`--help` flags in subcommands and improving help and usage printouts.
The `--version` option of the `create channel` subcommand has been renamed
to `--channel-version`, with the old name still supported as an alias.
([#1576](https://github.com/informalsystems/ibc-rs/pull/1576),
[#1743](https://github.com/informalsystems/ibc-rs/pull/1743))
4 changes: 4 additions & 0 deletions .changelog/v0.10.0/improvements/ibc/1665-remove-chrono.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- More conventional ad-hoc conversion methods on `Timestamp`
([#1665](https://github.com/informalsystems/ibc-rs/pull/1665)):
- `Timestamp::nanoseconds` replaces `Timestamp::as_nanoseconds`
- `Timestamp::into_datetime` substitutes `Timestamp::as_datetime`
16 changes: 16 additions & 0 deletions .changelog/v0.10.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
*January 13th, 2021*

This release notably updates the underlying CLI framework (`abscissa`) to version 0.6.0-beta.1,
which now uses `clap` for parsing command line arguments. This substantially improves the UX of the CLI,
by adding support for `--help` flags in subcommands and improving help and usage printouts.

The `--version` option of the `create channel` subcommand has been renamed
to `--channel-version`, with the old name still supported as an alias.
Additionally, the `-h` short flag on many commands is now `-H` to avoid
clashes with the clap-provided short flag for help.

This release also improves the handling of account sequence mismatch errors,
with a recovery mechanism to automatically retry or drop tx upon such errors.

The relayer now also supports dynamic versions in channel open handshake (which is needed by Interchain Accounts), and enables full support for IBC v2.

2 changes: 2 additions & 0 deletions .changelog/v0.11.0/1749-build-aarch64.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Hermes builds for Linux on AArch64 are now released.
([#1749](https://github.com/informalsystems/ibc-rs/pull/1749))
1 change: 1 addition & 0 deletions .changelog/v0.11.0/breaking-changes/1612-ibc-clock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Hide `ibc::Timestamp::now()` behind `clock` feature flag (#1612)[https://github.com/informalsystems/ibc-rs/issues/1612]
1 change: 1 addition & 0 deletions .changelog/v0.11.0/breaking-changes/1765-msrv-1.58.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Update MSRV to Rust 1.58 ([#1765](https://github.com/informalsystems/ibc-rs/issues/1765))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update tendermint-rs dependencies to 0.23.5
([#1767](https://github.com/informalsystems/ibc-rs/issues/1767))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove `mode.packets.filter` config option and enable filtering by default
([#1817](https://github.com/informalsystems/ibc-rs/issues/1817))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a `denom` member to `upgrade_chain::UpgradePlanOptions`.
([#1662](https://github.com/informalsystems/ibc-rs/issues/1662))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- `foreign_client::CreateParams` struct added, passed as the parameter to
`ForeignClient::build_create_client` and
`ForeignClient::build_create_client_and_send`.
([#1807](https://github.com/informalsystems/ibc-rs/pull/1807))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Verify the client consensus proof against the client's consensus state root and not the host's state root
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Initialize consensus metadata on client creation
([#1763](https://github.com/informalsystems/ibc-rs/issues/1763))
3 changes: 3 additions & 0 deletions .changelog/v0.11.0/improvements/1536-fast-start.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve startup time of the relayer
- When scanning a chain with filtering enabled and an allow list, skip scanning all the clients and query the allowed channels directly. This results in much fewer queries and a faster start.
- Add a `--full-scan` option to `hermes start` to opt out of the fast start mechanism and do a full scan.
3 changes: 3 additions & 0 deletions .changelog/v0.11.0/improvements/1641-tendermint-0.23.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Update `tendermint-rs` to v0.23.4 and harmonize the dependencies to use a single TLS stack.
A system installation of OpenSSL is no longer required to build Hermes.
([#1641](https://github.com/informalsystems/ibc-rs/issues/1641))
1 change: 1 addition & 0 deletions .changelog/v0.11.0/improvements/1687-remove-mock-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Remove 1 second sleep in `generate_tm_block` during testing with mock context. [#1687](https://github.com/informalsystems/ibc-rs/issues/1687)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Make the deposit denomination configurable in `tx raw upgrade-chain` via a new `--denom` flag.
([#1662](https://github.com/informalsystems/ibc-rs/issues/1662))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update to abscissa_core 0.6.0-rc.0 and clap 3.x
([#1777](https://github.com/informalsystems/ibc-rs/pull/1777))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add `completions` CLI command to generate shell auto-completion scripts.
([#1789](https://github.com/informalsystems/ibc-rs/pull/1789))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add custom options to the `create client` command.
([#836](https://github.com/informalsystems/ibc-rs/issues/836))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Allow `ChainEndpoint` implementations to fetch any types of clients
and consensus states ([#1481](https://github.com/informalsystems/ibc-rs/issues/1481))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- More structural logging in relayer, using tracing spans and key-value pairs.
([#1491](https://github.com/informalsystems/ibc-rs/pull/1491))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improved documention w.r.t. keys for Ethermint-based chains
([#1785](https://github.com/informalsystems/ibc-rs/issues/1785))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Extract all `ics24_host::Path` variants into their separate types
([#1760](https://github.com/informalsystems/ibc-rs/issues/1760))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Disallow empty `CommitmentPrefix` and `CommitmentProofBytes`
([#1761](https://github.com/informalsystems/ibc-rs/issues/1761))
36 changes: 36 additions & 0 deletions .changelog/v0.11.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This release notably speeds up the startup time of Hermes,
adds options to the `create client` command to customize the client parameters,
makes the deposit denomination configurable in `tx raw upgrade-chain` via a new `--denom` flag,
and adds a `completions` CLI command to generate shell auto-completion scripts.

### Note for operators

This release includes a breaking change, which requires the configuration file to be edited.
The `mode.packets.filter` configuration option has been removed and is now enabled by default.

Before running Hermes v0.11.0, make sure you remove the `mode.packets.filter` option from the configuration file.

```diff
--- a/config.toml
+++ b/config.toml
@@ -50,18 +50,6 @@ clear_interval = 100
# Whether or not to clear packets on start. [Default: false]
clear_on_start = true

-# Enable or disable the filtering mechanism.
-# Valid options are 'true', 'false'.
-# Currently Hermes supports two filters:
-# 1. Packet filtering on a per-chain basis; see the chain-specific
-# filter specification below in [chains.packet_filter].
-# 2. Filter for all activities based on client state trust threshold; this filter
-# is parametrized with (numerator = 1, denominator = 3), so that clients with
-# thresholds different than this will be ignored.
-# If set to 'true', both of the above filters will be enabled.
-# [Default: false]
-filter = false
-
# Toggle the transaction confirmation mechanism.
# The tx confirmation mechanism periodically queries the `/tx_search` RPC
# endpoint to check that previously-submitted transactions
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Do not require a config file to be present for the `completions` command.
([#1822](https://github.com/informalsystems/ibc-rs/pull/1822))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add missing checks for `ConnectionEnd::version` and `Counterparty::prefix` fields in the `check_destination_connection_state` method. ([#1389](https://github.com/informalsystems/ibc-rs/issues/1389))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Increased tx confirmation timeout to 300s to prevent aggressive tx
resubmission ([#1663](https://github.com/informalsystems/ibc-rs/issues/1663))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Handle channel events originating from Tendermint ABCI's BeginBlock and EndBlock methods
([#1793](https://github.com/informalsystems/ibc-rs/issues/1793))
1 change: 1 addition & 0 deletions .changelog/v0.11.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This release adds support for channel events originating from Tendermint ABCI's `BeginBlock` and `EndBlock` methods.
3 changes: 3 additions & 0 deletions .changelog/v0.8.0-pre.1/breaking-changes/ibc/1214-ics07.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- The `check_header_and_update_state` method of the `ClientDef`
trait (ICS02) has been expanded to facilitate ICS07
([#1214](https://github.com/informalsystems/ibc-rs/issues/1214))
3 changes: 3 additions & 0 deletions .changelog/v0.8.0-pre.1/features/1433-memo-field.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Add support for the `tx.memo` field ([#1433])

[#1433]: https://github.com/informalsystems/ibc-rs/issues/1433
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add a `default_gas` setting to be used for submitting a tx when tx simulation
fails ([#1457](https://github.com/informalsystems/ibc-rs/issues/1457))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update compatibility check for IBC-Go dependency
([#1464](https://github.com/informalsystems/ibc-rs/issues/1464))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0-pre.1/features/ibc/1214-ics07.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add ICS07 verification functionality by using `tendermint-light-client`
([#1214](https://github.com/informalsystems/ibc-rs/issues/1214))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Handle SendPacket events originating from Tendermint ABCI's BeginBlock
and EndBlock methods ([#1231](https://github.com/informalsystems/ibc-rs/issues/1231))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve error message when `create client` fails and add a health
check for the trusting period being smaller than the unbonding period
([#1440](https://github.com/informalsystems/ibc-rs/issues/1440))
10 changes: 10 additions & 0 deletions .changelog/v0.8.0-pre.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This is a pre-release which depends on forks of various Rust libraries.
As such, it is advised to avoid depending on the `ibc` and `ibc-relayer` crates
at version 0.8.0-pre.1.

However, Hermes v0.8.0-pre.1 is considered stable and it is recommended for all
users to update to this version.

This release notably includes a new [`memo_prefix`][memo] configuration option
for specifying a prefix to be include in the memo of each transaction submitted
by Hermes.
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/breaking-changes/1519-msrv-1.56.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update MSRV to Rust 1.56 and use the 2021 edition
([#1519](https://github.com/informalsystems/ibc-rs/issues/1519))
9 changes: 9 additions & 0 deletions .changelog/v0.8.0/bug-fixes/1445-clock-drift.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- Fix for client state clock drift [#1445]:
* Added new config param `max_clock_drift` to prevent
the problem for appearing in newly-created clients.
* Added a synchronos waiting in client update logic
to allow destination chain to reach a new height
before submitting a client update message.


[#1445]: https://github.com/informalsystems/ibc-rs/issues/1445
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/bug-fixes/1504-timeout_check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix for packet timeout computation
([#1504](https://github.com/informalsystems/ibc-rs/issues/1504))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve performance of misbehaviour checks triggered by an `UpdateClient`
event ([#1417](https://github.com/informalsystems/ibc-rs/issues/1417))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/improvements/1502-update-prost-09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update to official releases of `prost` 0.9 and `tonic` 0.6
([#1502](https://github.com/informalsystems/ibc-rs/issues/1502))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Restructure the layout of the `ibc` crate to match `ibc-go`'s [layout][ibc-go-layout] ([#1436][issue-1436]).

[issue-1436]: https://github.com/informalsystems/ibc-rs/issues/1436
[ibc-go-layout]: https://github.com/cosmos/ibc-go#contents
1 change: 1 addition & 0 deletions .changelog/v0.8.0/improvements/ibc/1460-path-fromstr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Implement `FromStr<Path>` to enable string-encoded paths to be converted into Path identifiers ([#1460](https://github.com/informalsystems/ibc-rs/issues/1460))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Support for converting `ibc::events::IbcEvent` into `tendermint::abci::Event` ([#838](https://github.com/informalsystems/ibc-rs/issues/838))
10 changes: 10 additions & 0 deletions .changelog/v0.8.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This is the final release of version 0.8.0, which now depends on the official releases of the `prost` and `tonic` crates.
In addition to everything that's included in v0.8.0-pre.1, this release updates the minimum supported Rust version to 1.56,
and contains various bug fixes and performance improvements which make the relayer more reliable.

#### Notice for operators
A new setting was added to the Hermes configuration: `max_block_time`.
This setting specifies the maximum time per block for this chain.
The block time together with the clock drift are added to the source drift to estimate
the maximum clock drift when creating a client on this chain.
For Cosmos-SDK chains a good approximation is `timeout_propose` + `timeout_commit`
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Set the connection counterparty in the ICS03 [`connOpenAck` handler][conn-open-ack-handler]
([#1532](https://github.com/informalsystems/ibc-rs/issues/1532))

[conn-open-ack-handler]: https://github.com/informalsystems/ibc-rs/blob/master/modules/src/core/ics03_connection/handler/conn_open_ack.rs

2 changes: 2 additions & 0 deletions .changelog/v0.9.0/features/1408-vega-protos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Support for compatibility with gaia Vega upgrade (protos matching ibc-go v1.2.2 and SDK v0.44.3)
([#1408](https://github.com/informalsystems/ibc-rs/issues/1408))
2 changes: 2 additions & 0 deletions .changelog/v0.9.0/features/1534-ibc-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Optimize the WS client to subscribe to IBC events only (instead of all Tx
events) ([#1534](https://github.com/informalsystems/ibc-rs/issues/1534))
Loading

0 comments on commit 7cd9679

Please sign in to comment.