mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 20:07:56 +00:00
Bump bridges relay version + uncomment bridges zombeinet tests (#4289)
TODOs: - [x] wait and see if test `1` works; - [x] ~think of whether we need remaining tests.~ I think we should keep it - will try to revive and update it
This commit is contained in:
committed by
GitHub
parent
e8f7c81db6
commit
c66d8a8468
@@ -0,0 +1,20 @@
|
||||
Description: While relayer is idle, we only sync free Rococo (and a single Rococo BH) headers to Westend BH.
|
||||
Network: {{ENV_PATH}}/bridge_hub_westend_local_network.toml
|
||||
Creds: config
|
||||
|
||||
# local chain spec gives `1u64 << 60` tokens to every endowed account: if it'll ever
|
||||
# change, it'd need to be fixed here as well
|
||||
|
||||
# //Charlie only submits free and mandatory relay chain headers, so the balance should stay the same
|
||||
bridge-hub-westend-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y" return is 1152921504606846976 within 30 seconds
|
||||
# //Dave only submits free parachain headers, so the balance should stay the same
|
||||
bridge-hub-westend-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy" return is 1152921504606846976 within 30 seconds
|
||||
|
||||
# ensure that we have synced multiple relay and parachain headers while idle. This includes both
|
||||
# headers that were generated while relay was offline and those in the next 100 seconds while script is active.
|
||||
bridge-hub-westend-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/multiple-headers-synced.js with "300,rococo-at-westend" within 600 seconds
|
||||
|
||||
# //Charlie only submits free and mandatory relay chain headers, so the balance should stay the same
|
||||
bridge-hub-westend-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y" return is 1152921504606846976 within 30 seconds
|
||||
# //Dave only submits free parachain headers, so the balance should stay the same
|
||||
bridge-hub-westend-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy" return is 1152921504606846976 within 30 seconds
|
||||
+1
-1
@@ -22,7 +22,7 @@ echo
|
||||
# which is expected to be 60 seconds for the test environment.
|
||||
echo -e "Sleeping 90s before starting relayer ...\n"
|
||||
sleep 90
|
||||
${BASH_SOURCE%/*}/../../environments/rococo-westend/start_relayer.sh $rococo_dir $westend_dir relayer_pid
|
||||
${BASH_SOURCE%/*}/../../environments/rococo-westend/start_relayer.sh $rococo_dir $westend_dir finality_relayer_pid parachains_relayer_pid messages_relayer_pid
|
||||
|
||||
run_zndsl ${BASH_SOURCE%/*}/rococo-to-westend.zndsl $westend_dir
|
||||
run_zndsl ${BASH_SOURCE%/*}/westend-to-rococo.zndsl $rococo_dir
|
||||
@@ -0,0 +1,20 @@
|
||||
Description: While relayer is idle, we only sync free Westend (and a single Westend BH) headers to Rococo BH.
|
||||
Network: {{ENV_PATH}}/bridge_hub_rococo_local_network.toml
|
||||
Creds: config
|
||||
|
||||
# local chain spec gives `1u64 << 60` tokens to every endowed account: if it'll ever
|
||||
# change, it'd need to be fixed here as well
|
||||
|
||||
# //Charlie has inital balance
|
||||
bridge-hub-rococo-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y" return is 1152921504606846976 within 30 seconds
|
||||
# //Dave has inital balance
|
||||
bridge-hub-rococo-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy" return is 1152921504606846976 within 30 seconds
|
||||
|
||||
# ensure that we have synced multiple relay and parachain headers while idle. This includes both
|
||||
# headers that were generated while relay was offline and those in the next 100 seconds while script is active.
|
||||
bridge-hub-rococo-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/multiple-headers-synced.js with "300,westend-at-rococo" within 600 seconds
|
||||
|
||||
# //Charlie only submits free and mandatory relay chain headers, so the balance should stay the same
|
||||
bridge-hub-rococo-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y" return is 1152921504606846976 within 30 seconds
|
||||
# //Dave only submits free parachain headers, so the balance should stay the same
|
||||
bridge-hub-rococo-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/native-asset-balance.js with "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy" return is 1152921504606846976 within 30 seconds
|
||||
@@ -1,8 +0,0 @@
|
||||
Description: While relayer is idle, we only sync mandatory Rococo (and a single Rococo BH) headers to Westend BH.
|
||||
Network: {{ENV_PATH}}/bridge_hub_westend_local_network.toml
|
||||
Creds: config
|
||||
|
||||
# ensure that relayer is only syncing mandatory headers while idle. This includes both headers that were
|
||||
# generated while relay was offline and those in the next 100 seconds while script is active.
|
||||
bridge-hub-westend-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/only-mandatory-headers-synced-when-idle.js with "300,rococo-at-westend" within 600 seconds
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
Description: While relayer is idle, we only sync mandatory Westend (and a single Westend BH) headers to Rococo BH.
|
||||
Network: {{ENV_PATH}}/bridge_hub_rococo_local_network.toml
|
||||
Creds: config
|
||||
|
||||
# ensure that relayer is only syncing mandatory headers while idle. This includes both headers that were
|
||||
# generated while relay was offline and those in the next 100 seconds while script is active.
|
||||
bridge-hub-rococo-collator1: js-script {{FRAMEWORK_PATH}}/js-helpers/only-mandatory-headers-synced-when-idle.js with "300,westend-at-rococo" within 600 seconds
|
||||
Reference in New Issue
Block a user