From 871281783c1be03157319d5143096fd3dd860d0a Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Fri, 3 May 2024 14:49:04 +0300 Subject: [PATCH] Bridge: fix zombienet tests (#4367) Due to recent bump of Rococo/Westend versions + the fact that https://github.com/paritytech/parity-bridges-common/pull/2894 has finally reached this repo, tests now fail, because we've started checking all client versions (even source) unless we specify `--source-version-mode Auto` in CLI arguments. This looks like an overkill, but all those version checks will be fixed by https://github.com/paritytech/polkadot-sdk/pull/4256, so now it makes sense just to add this CLI option. We also need to propagate it to running relays eventually. --- .../environments/rococo-westend/bridges_rococo_westend.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bridges/testing/environments/rococo-westend/bridges_rococo_westend.sh b/bridges/testing/environments/rococo-westend/bridges_rococo_westend.sh index 2f11692d97b9..57a3e08502f2 100755 --- a/bridges/testing/environments/rococo-westend/bridges_rococo_westend.sh +++ b/bridges/testing/environments/rococo-westend/bridges_rococo_westend.sh @@ -177,6 +177,7 @@ function run_finality_relay() { --only-free-headers \ --source-host localhost \ --source-port 9942 \ + --source-version-mode Auto \ --target-host localhost \ --target-port 8945 \ --target-version-mode Auto \ @@ -188,6 +189,7 @@ function run_finality_relay() { --only-free-headers \ --source-host localhost \ --source-port 9945 \ + --source-version-mode Auto \ --target-host localhost \ --target-port 8943 \ --target-version-mode Auto \ @@ -203,6 +205,7 @@ function run_parachains_relay() { --only-free-headers \ --source-host localhost \ --source-port 9942 \ + --source-version-mode Auto \ --target-host localhost \ --target-port 8945 \ --target-version-mode Auto \ @@ -214,6 +217,7 @@ function run_parachains_relay() { --only-free-headers \ --source-host localhost \ --source-port 9945 \ + --source-version-mode Auto \ --target-host localhost \ --target-port 8943 \ --target-version-mode Auto \