Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ICS test bootstrapping #3657

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
fail-fast: false
matrix:
chain:
- package: gaia11
- package: gaia12
command: gaiad
account_prefix: cosmos
- package: ibc-go-v4-simapp
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
fail-fast: false
matrix:
chain:
- package: gaia11
- package: gaia12
command: gaiad
account_prefix: cosmos
- package: juno
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
fail-fast: false
matrix:
chain:
- package: .#gaia11 .#stride-no-admin
- package: .#gaia12 .#stride-no-admin
command: gaiad,strided
account_prefix: cosmos,stride
steps:
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
fail-fast: false
matrix:
chain:
- package: gaia11
- package: gaia12
command: gaiad
account_prefix: cosmos
steps:
Expand Down Expand Up @@ -458,7 +458,7 @@ jobs:
CHAIN_COMMAND_PATHS: gaiad,${{ matrix.chain.command }}
ACCOUNT_PREFIXES: cosmos,${{ matrix.chain.account_prefix }}
run: |
nix shell .#gaia11 .#${{ matrix.chain.package }} -c \
nix shell .#gaia12 .#${{ matrix.chain.package }} -c \
cargo nextest run -p ibc-integration-test --no-fail-fast --failure-output final --test-threads=2 \
--features interchain-security interchain_security::

Expand Down Expand Up @@ -501,7 +501,7 @@ jobs:
CHAIN_COMMAND_PATHS: gaiad,${{ matrix.chain.command }}
ACCOUNT_PREFIXES: cosmos,${{ matrix.chain.account_prefix }}
run: |
nix shell .#gaia11 .#${{ matrix.chain.package }} -c \
nix shell .#gaia12 .#${{ matrix.chain.package }} -c \
cargo nextest run -p ibc-integration-test --no-fail-fast --failure-output final --test-threads=2 \
--features interchain-security,ica interchain_security::

Expand Down Expand Up @@ -543,7 +543,7 @@ jobs:
CHAIN_COMMAND_PATHS: gaiad,${{ matrix.chain.command }}
ACCOUNT_PREFIXES: cosmos,${{ matrix.chain.account_prefix }}
run: |
nix shell .#gaia11 .#${{ matrix.chain.package }} -c \
nix shell .#gaia12 .#${{ matrix.chain.package }} -c \
cargo nextest run -p ibc-integration-test --no-fail-fast --failure-output final --test-threads=2 \
--features interchain-security,ics31 interchain_security::

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/misbehaviour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
fail-fast: false
matrix:
chain:
- package: gaia11
- package: gaia12
command: gaiad
account_prefix: cosmos
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multi-chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
fail-fast: false
matrix:
first-package:
- package: gaia11
- package: gaia12
command: gaiad
account_prefix: cosmos
- package: ibc-go-v7-simapp
Expand Down
4 changes: 2 additions & 2 deletions crates/relayer-cli/src/commands/tx/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ impl Runnable for TxUpgradeClientsCmd {
.chains
.iter()
.filter(|&chain| {
(self.reference_chain_id != chain.id
self.reference_chain_id != chain.id
&& (self.host_chain_id.is_none()
|| self.host_chain_id == Some(chain.id.clone())))
|| self.host_chain_id == Some(chain.id.clone()))
})
.map(|chain| {
self.upgrade_clients_for_chain(
Expand Down
Loading
Loading