-
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.
Submit misbehaviour messages using the CCV consumer id (Permissionles…
…s ICS) (#4182) * Submit misbehaviour messages using the CCV consumer id (Permissionless ICS) * Use Gaia v20 for ICS light client attack integration test * Fix new clippy warnings * Update flake.nix * Update expedited voting period as well * wip * wip * Integrate with tendermint-rs fix for evidence reporting * Update tendermint-rs * Update cosmos.nix * Update tendermint-rs * Fix evidence submission * Fix build * Update double sign test on CI * Skip localhost clients * Codespell fix * Fix error post merge * Update light client attack test scripts with permissionless ics * Use pull mode for light client attack test * Add RPC debug when running Hermes in evidence mode in light client attack test * Nix flake update * Bump ibc-proto to v0.49.1 * Fix governance proposal submission with SDK v0.50 * Use Cosmos Nix main branch * Use tendermint-rs v0.40.0 and ibc-proto-rs v0.51.0 * Fix cargo doc hyper link warning * nit * Nix flake update * Add changelog entry * Fix compatibility with interchain-security v6.3.0 * Refactor submit_light_client_attack_evidence * Update crates/relayer/src/chain/cosmos.rs Co-authored-by: Anca Zamfir <[email protected]> Signed-off-by: Luca Joss <[email protected]> * Use fetch_ccv_consumer_id in submit_duplicate_vote_evidence to verify if chain is consumer * Move query_ccv_consumer_id to Chain Handle trait --------- Signed-off-by: Luca Joss <[email protected]> Co-authored-by: Luca Joss <[email protected]> Co-authored-by: Luca Joss <[email protected]> Co-authored-by: Anca Zamfir <[email protected]>
- Loading branch information
1 parent
c53a316
commit c3105e9
Showing
38 changed files
with
1,100 additions
and
561 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...released/improvements/ibc-relayer/4153-update-misbehaviour-to-permissionless.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 @@ | ||
- Use CCV consumer ID to submit misbehaviour messages | ||
([\#4153](https://github.com/informalsystems/hermes/issues/4153)) |
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 |
---|---|---|
|
@@ -43,20 +43,20 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
chain: | ||
- package: gaia18 | ||
- package: gaia20 | ||
command: gaiad | ||
account_prefix: cosmos | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
with: | ||
extra-conf: | | ||
substituters = https://cache.nixos.org | ||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= | ||
- name: Install Cachix | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
with: | ||
name: cosmos-nix | ||
- name: Install sconfig | ||
uses: jaxxstorm/[email protected] | ||
|
@@ -102,13 +102,13 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
with: | ||
extra-conf: | | ||
substituters = https://cache.nixos.org | ||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= | ||
- name: Install Cachix | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
with: | ||
name: cosmos-nix | ||
- name: Install sconfig | ||
uses: jaxxstorm/[email protected] | ||
|
@@ -154,13 +154,13 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
with: | ||
extra-conf: | | ||
substituters = https://cache.nixos.org | ||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= | ||
- name: Install Cachix | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
with: | ||
name: cosmos-nix | ||
- name: Install sconfig | ||
uses: jaxxstorm/[email protected] | ||
|
@@ -193,7 +193,6 @@ jobs: | |
run: | | ||
nix shell .#${{ matrix.chain.package }} -c bash light_client_attack_freeze_test.sh | ||
ics-double-sign: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 20 | ||
|
@@ -207,13 +206,13 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
with: | ||
extra-conf: | | ||
substituters = https://cache.nixos.org | ||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= | ||
- name: Install Cachix | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
with: | ||
name: cosmos-nix | ||
- name: Install sconfig | ||
uses: jaxxstorm/[email protected] | ||
|
@@ -245,4 +244,3 @@ jobs: | |
working-directory: ci/misbehaviour-ics | ||
run: | | ||
nix shell .#${{ matrix.chain.package }} -c bash double_sign_test.sh | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.