Add two new zombienet tests for bridges (manual run) (#3072)
extracted useful code from #2982 This PR: - adds test 2 for Rococo <> Westend bridge: checks that relayer doesn't submit any extra headers while there are no any messages; - adds test 3 for Rococo <> Westend bridge: checks that relayer doesn't submit any extra headers when there are messages; - fixes most of comments from #2439 (like: log names, ability to run specify test number when calling `run-tests.sh`). Right now of all our tests, only test 2 is working (until BHs will be upgraded to use async backing), so you can test it with `./bridges/zombienet/run-tests.sh --test 2` locally.
Showing
- bridges/zombienet/helpers/chains/rococo-at-westend.js 6 additions, 0 deletionsbridges/zombienet/helpers/chains/rococo-at-westend.js
- bridges/zombienet/helpers/chains/westend-at-rococo.js 6 additions, 0 deletionsbridges/zombienet/helpers/chains/westend-at-rococo.js
- bridges/zombienet/helpers/only-mandatory-headers-synced-when-idle.js 44 additions, 0 deletions...bienet/helpers/only-mandatory-headers-synced-when-idle.js
- bridges/zombienet/helpers/only-required-headers-synced-when-idle.js 81 additions, 0 deletions...mbienet/helpers/only-required-headers-synced-when-idle.js
- bridges/zombienet/helpers/utils.js 103 additions, 0 deletionsbridges/zombienet/helpers/utils.js
- bridges/zombienet/run-tests.sh 22 additions, 20 deletionsbridges/zombienet/run-tests.sh
- bridges/zombienet/scripts/invoke-script.sh 3 additions, 1 deletionbridges/zombienet/scripts/invoke-script.sh
- bridges/zombienet/scripts/start-relayer.sh 7 additions, 0 deletionsbridges/zombienet/scripts/start-relayer.sh
- bridges/zombienet/tests/0001-asset-transfer-works-rococo-to-westend.zndsl 16 additions, 11 deletions...t/tests/0001-asset-transfer-works-rococo-to-westend.zndsl
- bridges/zombienet/tests/0001-asset-transfer-works-westend-to-rococo.zndsl 16 additions, 11 deletions...t/tests/0001-asset-transfer-works-westend-to-rococo.zndsl
- bridges/zombienet/tests/0002-mandatory-headers-synced-while-idle-rococo-to-westend.zndsl 26 additions, 0 deletions...ndatory-headers-synced-while-idle-rococo-to-westend.zndsl
- bridges/zombienet/tests/0002-mandatory-headers-synced-while-idle-westend-to-rococo.zndsl 26 additions, 0 deletions...ndatory-headers-synced-while-idle-westend-to-rococo.zndsl
- bridges/zombienet/tests/0003-required-headers-synced-while-active-rococo-to-westend.zndsl 26 additions, 0 deletions...uired-headers-synced-while-active-rococo-to-westend.zndsl
- bridges/zombienet/tests/0003-required-headers-synced-while-active-westend-to-rococo.zndsl 26 additions, 0 deletions...uired-headers-synced-while-active-westend-to-rococo.zndsl
- cumulus/scripts/bridges_common.sh 13 additions, 5 deletionscumulus/scripts/bridges_common.sh
-
mentioned in commit ae23c1d0
-
mentioned in commit cbcfae56
-
mentioned in commit 029e1c18
-
mentioned in commit ce6f226b
-
mentioned in commit bd037d3a
-
mentioned in commit cff7ed35
-
mentioned in commit 68d3c1a8
-
mentioned in commit 7136dd90
-
mentioned in commit 4bcef1b5
-
mentioned in commit f378c40e
-
mentioned in commit e2ac539e
-
mentioned in commit 79d9164f
Please register or sign in to comment