-
Notifications
You must be signed in to change notification settings - Fork 332
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/remove-runtime
- Loading branch information
Showing
51 changed files
with
2,119 additions
and
903 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.changelog/unreleased/features/ibc-relayer/3224-light-attacks-detector.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,7 @@ | ||
- When enabled for misbehaviour (ie. when `mode.misbehaviour.enabled = true`), | ||
Hermes will now monitors on-chain client updates and verify the submitted | ||
headers comparing with headers it retrieves from its RPC node. | ||
If it detects conflicting headers, it will now submit a `MisbehaviourMsg` | ||
to the chain hosting the IBC client. | ||
In addition, Hermes will also submit the evidence to the reference chain. | ||
([\#3224](https://github.com/informalsystems/hermes/issues/3224)) |
2 changes: 2 additions & 0 deletions
2
...og/unreleased/improvements/ibc-integration-test/3345-ics29-test-with-migaloo.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 White Whale migaloo chain to ICS29 tests | ||
([#3345](https://github.com/informalsystems/hermes/issues/3345)) |
5 changes: 5 additions & 0 deletions
5
.changelog/unreleased/improvements/ibc-relayer/3331-batch-delay.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 @@ | ||
- Emit event batches after a configurable delay. | ||
This considerably reduces the latency when relaying | ||
and therefore increases performance substantially on high traffic channels. | ||
See the `batch_delay` setting in the per-chain configuration. | ||
([\#3331](https://github.com/informalsystems/hermes/issues/3331)) |
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,96 @@ | ||
name: Misbehaviour | ||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/misbehaviour.yaml | ||
- Cargo.toml | ||
- Cargo.lock | ||
- flake.nix | ||
- flake.lock | ||
- ci/** | ||
- scripts/** | ||
- crates/** | ||
push: | ||
branches: master | ||
paths: | ||
- .github/workflows/misbehaviour.yaml | ||
- Cargo.toml | ||
- Cargo.lock | ||
- flake.nix | ||
- flake.lock | ||
- ci/** | ||
- scripts/** | ||
- crates/** | ||
|
||
env: | ||
CARGO_INCREMENTAL: 0 | ||
CARGO_PROFILE_DEV_DEBUG: 1 | ||
CARGO_PROFILE_RELEASE_DEBUG: 1 | ||
RUST_BACKTRACE: short | ||
CARGO_NET_RETRY: 10 | ||
RUSTUP_MAX_RETRIES: 10 | ||
|
||
# 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: | ||
misbehaviour: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 20 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
chain: | ||
- package: gaia8 | ||
command: gaiad | ||
account_prefix: cosmos | ||
- package: gaia9 | ||
command: gaiad | ||
account_prefix: cosmos | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@v20 | ||
with: | ||
extra_nix_config: | | ||
experimental-features = nix-command flakes | ||
- name: Use cachix cache | ||
uses: cachix/cachix-action@v12 | ||
with: | ||
name: cosmos | ||
- name: Install sconfig | ||
uses: jaxxstorm/action-install-gh-release@v1.10.0 | ||
with: | ||
repo: freshautomations/sconfig | ||
platform: linux | ||
arch: amd64 | ||
extension-matching: disable | ||
rename-to: sconfig | ||
chmod: 0755 | ||
- name: Install stoml | ||
uses: jaxxstorm/action-install-gh-release@v1.10.0 | ||
with: | ||
repo: freshautomations/stoml | ||
platform: linux | ||
arch: amd64 | ||
extension-matching: disable | ||
rename-to: stoml | ||
chmod: 0755 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
- name: Use Rust cache | ||
uses: Swatinem/rust-cache@v1 | ||
- name: Build Hermes | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
- name: Run test | ||
working-directory: ci/misbehaviour | ||
run: | | ||
nix shell .#${{ matrix.chain.package }} -c bash misbehaviour_test.sh | ||
Oops, something went wrong.