-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into romac/3397-lc-refresh
- Loading branch information
Showing
447 changed files
with
9,304 additions
and
3,802 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 @@ | ||
- Bump MSRV to 1.71 | ||
([\#3688](https://github.com/informalsystems/hermes/issues/3688)) |
8 changes: 8 additions & 0 deletions
8
.changelog/unreleased/breaking-changes/ibc-relayer-cli/3636-config-chain-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,8 @@ | ||
- The `type` key in the `[[chains]]` section is now required. ([\#3636](https://github.com/informalsystems/hermes/issues/3636)) | ||
If you previously did not specify that key, you must now set it to `type = "CosmosSdk"`, eg. | ||
|
||
```rust | ||
[[chains]] | ||
id = "osmosis-1" | ||
type = "CosmosSdk" | ||
``` |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/ibc-integration-test/3455-async-icq-test.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 @@ | ||
- Add a test for asynchronous Interchain Query relaying | ||
([\#3455](https://github.com/informalsystems/hermes/issues/3455)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/features/ibc-relayer-cli/3696-new-chain-upgrade-flag.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 @@ | ||
- Add a `--gov-account` option to `hermes tx upgrade-chain` to specify the | ||
authority account used to sign upgrade proposal for chains running IBC-Go v8+. | ||
([\#3696](https://github.com/informalsystems/hermes/issues/3696)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/features/ibc-relayer/3696-new-upgrade-proposal.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 @@ | ||
- Use legacy `UpgradeProposal` or newer `MsgIbcSoftwareUpgrade` message when upgrading | ||
a chain depending on whether the chain is running IBC-Go v8 or older. | ||
([\#3696](https://github.com/informalsystems/hermes/issues/3696)) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
.changelog/v1.7.0/features/ibc-relayer-cli/3456-evidence-command.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 @@ | ||
- Add a new `evidence` command for monitoring the blocks emitted | ||
by a chain for the presence of a misbehaviour evidence, and | ||
report that evidence to all counteparty clients of that chain. | ||
([\#3456](https://github.com/informalsystems/hermes/pull/3456)) |
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
.changelog/v1.7.0/improvements/ibc-relayer/3219-ics-consumer-misbehavior.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 @@ | ||
- When Hermes detects a misbehaviour on a chain that is CCV | ||
consumer, it will now send the misbehaviour evidence to the | ||
provider chain using the new `IcsConsumerMisbehaviour` message. | ||
([\#3219](https://github.com/informalsystems/hermes/issues/3219)) |
5 changes: 5 additions & 0 deletions
5
.changelog/v1.7.0/improvements/ibc-relayer/3223-submit-misbehavior-all-clients.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,5 @@ | ||
- When Hermes detects a misbehaviour from a on-chain client, eg. a light | ||
client attack or a double-sign, it will now submit the misbehaviour | ||
evidence to all counterparty clients of the misbehaving chain | ||
instead of to the counterparty client of the misbehaving client only. | ||
([\#3223](https://github.com/informalsystems/hermes/issues/3223)) |
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
.changelog/v1.7.0/improvements/ibc-relayer/3666-default-compat-mode-to-v034.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 @@ | ||
- Change fallback compatibility version for CometBFT from v0.37 to v0.34 | ||
([\#3666](https://github.com/informalsystems/hermes/issues/3666)) |
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,25 @@ | ||
*October 20th, 2023* | ||
|
||
This v1.7 release introduces new features and improvements to Hermes. | ||
|
||
One of the key highlights is the addition of new misbehavior detection features. | ||
|
||
Hermes now includes a new command called `evidence`, which monitors the blocks emitted by a chain for any presence of misbehavior evidence. | ||
|
||
If misbehavior is detected, the CLI will report that evidence to all counterparty clients of that chain. | ||
On top of that, misbehavior evidence detected on a chain that is a CCV (Cross-Chain Validation) consumer | ||
is now sent to its provider chain, alerting it directly of the misbehaving consumer chain. | ||
|
||
Furthermore, when misbehavior is detected from an on-chain client, such as a light client attack or a double-sign, | ||
the evidence is now submitted to all counterparty clients of the misbehaving chain, rather than just the | ||
counterparty client of the misbehaving client. | ||
|
||
In addition, the REST server of Hermes now has a `/clear_packets` endpoint which allows triggering | ||
packet clearing for a specific chain or all chains if no specific chain is provided. | ||
|
||
Another notable improvement is the ability to change `tracing` directives at runtime. | ||
This feature lets users adjust tracing settings dynamically as needed, providing a more | ||
customizable and efficient debugging experience. | ||
|
||
Overall, the new misbehavior detection features in Hermes contribute to a more robust and secure environment, | ||
enabling timely identification and response to potential misbehaving actors. |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.1/features/ibc-relayer/3623-compat-mode-configurability.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 @@ | ||
- Add an optional per-chain setting `compat_mode`, which can be | ||
used to specify which CometBFT compatibility mode is used for interacting with the node over RPC. | ||
([\#3623](https://github.com/informalsystems/hermes/issues/3623)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v1.7.1/features/ibc-relayer/3691-per-chain-clear-interval.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 @@ | ||
- Add a configuration which allows to override the `clear_interval` for specific | ||
chains ([\#3691](https://github.com/informalsystems/hermes/issues/3691)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.1/improvements/ibc-relayer/3521-client-update.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 @@ | ||
- Hermes now saves on fees by not including a client update if the | ||
consensus state at desired height is already present on chain. | ||
([\#3521](https://github.com/informalsystems/hermes/issues/3521)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.1/improvements/ibc-relayer/3636-config-enum.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 @@ | ||
- Change config format to scope configs by type. This enables adding support for | ||
more types of chain, even when those have different config options than each | ||
other. ([\#3636](https://github.com/informalsystems/hermes/issues/3636)) |
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,12 @@ | ||
This patch release of Hermes now allows operators to set the clearing interval | ||
at a different value for each chain, using the new per-chain `clear_interval` setting. | ||
The global `clear_interval` setting is used as a default value if the per-chain | ||
setting is not defined. | ||
|
||
Additionnaly, operators can now override the CometBFT compatibility mode to be used | ||
for a chain by using the new `compat_mode` per-chain setting. The main use case for this | ||
is to override the automatically detected compatibility mode in case Hermes gets it wrong | ||
or encounters a non-standard version number and falls back on the wrong CometBFT version. | ||
|
||
On top of that, Hermes will now attempt to save on fees by not building a client update | ||
for a given height if the consensus state for that height is already present on chain. |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.2/features/ibc-telemetry/3707-skipped-client-update-metric.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 @@ | ||
- Added metric `client_updates_skipped` to track the number of client | ||
update messages skipped due to the conscensus state existing already. | ||
([\#3707](https://github.com/informalsystems/hermes/issues/3707)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.2/features/ibc-telemetry/3708-add-broadcast-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,3 @@ | ||
- Add a new metric `broadcast_errors` which | ||
records the number of times a specific error is observed by Hermes when broadcasting transactions | ||
([\#3708](https://github.com/informalsystems/hermes/issues/3708)) |
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,7 @@ | ||
*November 28th, 2023* | ||
|
||
This patch release of Hermes adds a metric to improve monitoring errors and one | ||
to measure the efficiency of the client update skip feature released in patch v1.7.1. | ||
|
||
* `broadcast_errors` records the number of times a specific error is observed by Hermes when broadcasting transactions. | ||
* `client_updates_skipped` records the number of client updates skipped due to the consensus states already existing. |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.3/bug-fixes/ibc-relayer-cli/3702-evidence-patch.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 @@ | ||
- Improve reliability of `evidence` command and fix a bug that was | ||
preventing evidence to be reported, as seen on the Gaia RS testnet | ||
([\#3702](https://github.com/informalsystems/hermes/pull/3702)) |
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,5 @@ | ||
*November 29th, 2023* | ||
|
||
This release improves the reliability of the `evidence` command and | ||
fixes a bug that was preventing evidence to be reported, | ||
as seen on the Gaia RS testnet. |
4 changes: 4 additions & 0 deletions
4
.changelog/v1.7.4/bug-fixes/ibc-relayer-cli/3697-fix-evidence-report.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 @@ | ||
- Fix a bug in the `evidence` command which would sometimes | ||
prevent the detected misbehaviour evidence from being submitted, | ||
instead erroring out with a validator set hash mismatch. | ||
([\#3697](https://github.com/informalsystems/hermes/pull/3697)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.4/bug-fixes/ibc-relayer/3703-avoid-returning-stopped-worker.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 @@ | ||
- Avoid retrieving a worker which is being removed by the idle worker clean-up | ||
process. | ||
process ([\#3703](https://github.com/informalsystems/hermes/issues/3703)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v1.7.4/bug-fixes/ibc-telemetry/3720-fix-broadcasting-errors-metric.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 @@ | ||
- Fix the issue where `broadcast_errors` metric would not correctly batch | ||
the same errors together. | ||
together ([\#3720](https://github.com/informalsystems/hermes/issues/3720)) |
4 changes: 4 additions & 0 deletions
4
.changelog/v1.7.4/bug-fixes/ibc-telemetry/3723-fix-backlog-metrics.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 @@ | ||
- Update the values of `backlog` metrics when clearing packets. | ||
Change the `backlog_oldest_timestamp` to `backlog_latest_update_timestamp` | ||
which shows the last time the `backlog` metrics have been updated. | ||
([\#3723](https://github.com/informalsystems/hermes/issues/3723)) |
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,9 @@ | ||
*December 15th, 2023* | ||
|
||
This release improves the monitoring of Hermes instances by fixing the `broadcast_errors` metric so | ||
that it correctly batches the same errors together. It also improves the metrics `backlog_*` by | ||
updating them whenever Hermes queries pending packets. | ||
|
||
This release also improves the reliability of the idle worker clean-up and | ||
fixes a bug within the `evidence` command which would sometimes prevent | ||
the misbehaviour evidence from being reported. |
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 @@ | ||
[codespell] | ||
skip = *.js,*.ts,*.css,*.svg,./target | ||
ignore-words = .github/codespell/words.txt |
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 @@ | ||
crate | ||
shs | ||
ser | ||
numer |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Codespell | ||
on: | ||
pull_request: | ||
push: | ||
branches: master | ||
|
||
# Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
codespell: | ||
name: Check spelling | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: codespell-project/actions-codespell@v2 | ||
with: | ||
skip: '*.js,*.ts,*.css,*.svg,./target' | ||
ignore_words_file: .github/codespell/words.txt | ||
|
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.