mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
6fc1d41d44
Related to https://github.com/paritytech/polkadot-sdk/issues/3400 Moving all bridges testing "framework" files under one folder in order to be able to download the entire folder when we want to add tests in other repos No significant functional changes
24 lines
559 B
Bash
Executable File
24 lines
559 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source "$FRAMEWORK_PATH/utils/common.sh"
|
|
source "$FRAMEWORK_PATH/utils/zombienet.sh"
|
|
|
|
rococo_dir=$1
|
|
westend_dir=$2
|
|
__relayer_pid=$3
|
|
|
|
logs_dir=$TEST_DIR/logs
|
|
helper_script="${BASH_SOURCE%/*}/helper.sh"
|
|
|
|
relayer_log=$logs_dir/relayer.log
|
|
echo -e "Starting rococo-westend relayer. Logs available at: $relayer_log\n"
|
|
start_background_process "$helper_script run-relay" $relayer_log relayer_pid
|
|
|
|
run_zndsl ${BASH_SOURCE%/*}/rococo.zndsl $rococo_dir
|
|
run_zndsl ${BASH_SOURCE%/*}/westend.zndsl $westend_dir
|
|
|
|
eval $__relayer_pid="'$relayer_pid'"
|
|
|