From c7998dce6b3b1786890efb0e7c75a3f6b9cbc323 Mon Sep 17 00:00:00 2001 From: tungla Date: Tue, 2 Apr 2024 18:32:15 +0700 Subject: [PATCH] feat: setup hyperspace --- Makefile | 1 - scripts/tweak-test-upgrade.sh | 6 ++++++ scripts/upgrade/v6_to_7/post_08_wasm.sh | 2 +- scripts/upgrade/v6_to_7/pre_08_wasm.sh | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9aaac731..0861975d 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,6 @@ ictest-push-wasm: include contrib/make/release.mk - test-upgrade: clean-testing-data @echo "Starting upgrade test" ./scripts/tweak-test-upgrade.sh diff --git a/scripts/tweak-test-upgrade.sh b/scripts/tweak-test-upgrade.sh index d9476c2f..b1b6e6fb 100755 --- a/scripts/tweak-test-upgrade.sh +++ b/scripts/tweak-test-upgrade.sh @@ -65,6 +65,8 @@ screen -dms old-node bash scripts/localnode.sh _build/old/centaurid $DENOM sleep 2 # wait for note to start +docker run -d --publish 38391:38391 --publish 9988:9988 --publish 9944:9944 --publish 34165:34165 composablefi/devnet-picasso + # execute additional pre scripts if [ ! -z "$ADDITIONAL_PRE_SCRIPTS" ]; then # slice ADDITIONAL_SCRIPTS by , @@ -81,6 +83,10 @@ if [ ! -z "$ADDITIONAL_PRE_SCRIPTS" ]; then done fi +bash scripts/relayer_hyperspace/config_relayer.sh + +# Wait parachain to start +sleep 10 run_fork () { echo "forking" diff --git a/scripts/upgrade/v6_to_7/post_08_wasm.sh b/scripts/upgrade/v6_to_7/post_08_wasm.sh index a813cf85..66a89322 100644 --- a/scripts/upgrade/v6_to_7/post_08_wasm.sh +++ b/scripts/upgrade/v6_to_7/post_08_wasm.sh @@ -2,7 +2,7 @@ KEY="mykey" KEYALGO="secp256k1" KEYRING="test" -HOME_DIR="mytestnet" +HOME_DIR=mytestnet sleep 2 diff --git a/scripts/upgrade/v6_to_7/pre_08_wasm.sh b/scripts/upgrade/v6_to_7/pre_08_wasm.sh index 4058c1ff..3258c827 100644 --- a/scripts/upgrade/v6_to_7/pre_08_wasm.sh +++ b/scripts/upgrade/v6_to_7/pre_08_wasm.sh @@ -2,7 +2,7 @@ KEY="mykey" KEYALGO="secp256k1" KEYRING="test" -HOME_DIR="mytestnet" +HOME_DIR=mytestnet