mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 00:41:08 +00:00
Fix zombienet-bridges-0001-asset-transfer-works (#4069)
Fixes https://github.com/paritytech/polkadot-sdk/issues/3999 --------- Co-authored-by: Branislav Kontur <bkontur@gmail.com>
This commit is contained in:
@@ -212,19 +212,19 @@ case "$1" in
|
||||
"ws://127.0.0.1:8943" \
|
||||
"//Alice" \
|
||||
"$ASSET_HUB_ROCOCO_SOVEREIGN_ACCOUNT_AT_BRIDGE_HUB_ROCOCO" \
|
||||
$((1000000000000 + 50000000000 * 20))
|
||||
100000000000000
|
||||
# drip SA of lane dedicated to asset hub for paying rewards for delivery
|
||||
transfer_balance \
|
||||
"ws://127.0.0.1:8943" \
|
||||
"//Alice" \
|
||||
"$ON_BRIDGE_HUB_ROCOCO_SOVEREIGN_ACCOUNT_FOR_LANE_00000002_bhwd_ThisChain" \
|
||||
$((1000000000000 + 2000000000000))
|
||||
100000000000000
|
||||
# drip SA of lane dedicated to asset hub for paying rewards for delivery confirmation
|
||||
transfer_balance \
|
||||
"ws://127.0.0.1:8943" \
|
||||
"//Alice" \
|
||||
"$ON_BRIDGE_HUB_ROCOCO_SOVEREIGN_ACCOUNT_FOR_LANE_00000002_bhwd_BridgedChain" \
|
||||
$((1000000000000 + 2000000000000))
|
||||
100000000000000
|
||||
# set XCM version of remote BridgeHubWestend
|
||||
force_xcm_version \
|
||||
"ws://127.0.0.1:9942" \
|
||||
@@ -270,19 +270,19 @@ case "$1" in
|
||||
"ws://127.0.0.1:8945" \
|
||||
"//Alice" \
|
||||
"$ASSET_HUB_WESTEND_SOVEREIGN_ACCOUNT_AT_BRIDGE_HUB_WESTEND" \
|
||||
$((1000000000000000 + 50000000000 * 20))
|
||||
100000000000000
|
||||
# drip SA of lane dedicated to asset hub for paying rewards for delivery
|
||||
transfer_balance \
|
||||
"ws://127.0.0.1:8945" \
|
||||
"//Alice" \
|
||||
"$ON_BRIDGE_HUB_WESTEND_SOVEREIGN_ACCOUNT_FOR_LANE_00000002_bhro_ThisChain" \
|
||||
$((1000000000000000 + 2000000000000))
|
||||
100000000000000
|
||||
# drip SA of lane dedicated to asset hub for paying rewards for delivery confirmation
|
||||
transfer_balance \
|
||||
"ws://127.0.0.1:8945" \
|
||||
"//Alice" \
|
||||
"$ON_BRIDGE_HUB_WESTEND_SOVEREIGN_ACCOUNT_FOR_LANE_00000002_bhro_BridgedChain" \
|
||||
$((1000000000000000 + 2000000000000))
|
||||
100000000000000
|
||||
# set XCM version of remote BridgeHubRococo
|
||||
force_xcm_version \
|
||||
"ws://127.0.0.1:9945" \
|
||||
|
||||
@@ -53,7 +53,7 @@ function call_polkadot_js_api() {
|
||||
# With it, it just submits it to the tx pool and exits.
|
||||
# --nonce -1: means to compute transaction nonce using `system_accountNextIndex` RPC, which includes all
|
||||
# transaction that are in the tx pool.
|
||||
polkadot-js-api --noWait --nonce -1 "$@"
|
||||
polkadot-js-api --nonce -1 "$@" || true
|
||||
}
|
||||
|
||||
function generate_hex_encoded_call_data() {
|
||||
|
||||
@@ -24,12 +24,6 @@ echo -e "Sleeping 90s before starting relayer ...\n"
|
||||
sleep 90
|
||||
${BASH_SOURCE%/*}/../../environments/rococo-westend/start_relayer.sh $rococo_dir $westend_dir relayer_pid
|
||||
|
||||
# Sometimes the relayer syncs multiple parachain heads in the beginning leading to test failures.
|
||||
# See issue: https://github.com/paritytech/parity-bridges-common/issues/2838.
|
||||
# TODO: Remove this sleep after the issue is fixed.
|
||||
echo -e "Sleeping 180s before runing the tests ...\n"
|
||||
sleep 180
|
||||
|
||||
run_zndsl ${BASH_SOURCE%/*}/rococo-to-westend.zndsl $westend_dir
|
||||
run_zndsl ${BASH_SOURCE%/*}/westend-to-rococo.zndsl $rococo_dir
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# this image is built on top of existing Zombienet image
|
||||
ARG ZOMBIENET_IMAGE
|
||||
# this image uses substrate-relay image built elsewhere
|
||||
ARG SUBSTRATE_RELAY_IMAGE=docker.io/paritytech/substrate-relay:v2023-11-07-rococo-westend-initial-relayer
|
||||
ARG SUBSTRATE_RELAY_IMAGE=docker.io/paritytech/substrate-relay:v1.2.1
|
||||
|
||||
# metadata
|
||||
ARG VCS_REF
|
||||
|
||||
Reference in New Issue
Block a user