Skip to content

Commit

Permalink
Merge pull request #457 from dlt-green/release/v.4.5.7
Browse files Browse the repository at this point in the history
Release v.4.5.7
  • Loading branch information
dlt-green authored Jun 18, 2024
2 parents dff168e + e666b6b commit ad08034
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions node-installer.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

VRSN="v.4.5.6"
BUILD="20240613_210553"
VRSN="v.4.5.7"
BUILD="20240618_225742"

VAR_DOMAIN=''
VAR_HOST=''
Expand Down Expand Up @@ -147,19 +147,19 @@ DEBIAN_FRONTEND=noninteractive sudo apt-get install curl -y -qq >/dev/null 2>&1

InstallerHash=$(curl -L https://github.com/dlt-green/node-installer-docker/releases/download/$VRSN/checksum.txt) >/dev/null 2>&1

IotaHornetHash='f202e286736cc45e89567210a3122c671a08a83077fcdc7190a3e7f2bd26edfa'
IotaHornetHash='7865d182d19385a404046aad4e532a9566781c776e97a3b0d1b2d3f55e09f379'
IotaHornetPackage="https://github.com/dlt-green/node-installer-docker/releases/download/$VRSN/iota-hornet.tar.gz"

IotaWaspHash='b5b218240569815648b48ab9e3d0b8c94e947d60f75c0f0afdeae41f9dd88381'
IotaWaspHash='40d373f5d7a76afc9b120b64266725e99e4929cce0c76434ef764149dfd2ea60'
IotaWaspPackage="https://github.com/dlt-green/node-installer-docker/releases/download/$VRSN/iota-wasp.tar.gz"

ShimmerHornetHash='5c4dbaec829b8fa587f8d8cae236e8339c343883cd202e2be5f8b791347dd740'
ShimmerHornetHash='ba8dc7945707d26a43881383157a89e0d7d0e1a114bde2701ac8efc11bbe3c3e'
ShimmerHornetPackage="https://github.com/dlt-green/node-installer-docker/releases/download/$VRSN/shimmer-hornet.tar.gz"

ShimmerWaspHash='fb317b38516a8dbc9f903033cecab73f155b0eb83eb293d441615812975b2ab6'
ShimmerWaspHash='e63a890e65f2b129d83291f260903354df430ac98950eb2ba9ff550758fb8a0b'
ShimmerWaspPackage="https://github.com/dlt-green/node-installer-docker/releases/download/$VRSN/shimmer-wasp.tar.gz"

ShimmerChronicleHash='b4a7f12f716ff01fc376c1035fff3ec3200040e3dab0c67370eae6b55f483a80'
ShimmerChronicleHash='091c12aa9434eb43e3de7743d56dafa0c81b292f2d394e05584b2abc466aa143'
ShimmerChroniclePackage="https://github.com/dlt-green/node-installer-docker/releases/download/$VRSN/shimmer-chronicle.tar.gz"

if [ "$VRSN" = 'dev-latest' ]; then VRSN=$BUILD; fi
Expand Down Expand Up @@ -2622,15 +2622,11 @@ SubMenuWaspCLI() {
./wasp-cli-wrapper.sh login
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
clear
echo "$ca"; echo 'Add IOTA-EVM chain...'"$xx"
echo "$ca"; echo 'Add/Activate IOTA-EVM chain...'"$xx"
./wasp-cli-wrapper.sh chain add iota-evm $VAR_IOTA_EVM_ADDR
if [ -n $(cat ./data/waspdb/chains/chain_registry.json 2>/dev/null | grep $VAR_IOTA_EVM_ADDR | cut -d '=' -f 2) ]; then
echo "$gn"; echo 'IOTA-EVM chain successfully added...'"$xx"
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
clear
echo "$ca"; echo 'Activate IOTA-EVM chain...'"$xx"
./wasp-cli-wrapper.sh chain activate --chain iota-evm
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
./wasp-cli-wrapper.sh chain activate --chain iota-evm
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
if [ -n "$(cat ./data/waspdb/chains/chain_registry.json 2>/dev/null | grep $VAR_IOTA_EVM_ADDR | cut -d '=' -f 2)" ]; then
clear
echo "$ca"; echo 'Prepare wasp...'; echo "$xx"
./prepare_docker.sh
Expand All @@ -2639,7 +2635,7 @@ SubMenuWaspCLI() {
echo "$ca"; echo 'Restart wasp...'; echo "$xx"
docker stop iota-wasp
docker compose up -d
else echo "$rd"; echo "Error adding IOTA-EVM chain!""$xx"; fi
else echo "$rd"; echo "Error adding/activating IOTA-EVM chain!""$xx"; fi
else echo "$rd""Set at least two trusted accessnodes in the wasp config first!""$xx"; fi
else echo "$rd""Install/prepare Wasp-CLI first!""$xx"; fi
else
Expand All @@ -2665,15 +2661,11 @@ SubMenuWaspCLI() {
./wasp-cli-wrapper.sh login
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
clear
echo "$ca"; echo 'Add Shimmer-EVM chain...'"$xx"
echo "$ca"; echo 'Add/Activate Shimmer-EVM chain...'"$xx"
./wasp-cli-wrapper.sh chain add shimmer-evm $VAR_SHIMMER_EVM_ADDR
./wasp-cli-wrapper.sh chain activate --chain shimmer-evm
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
if [ -n "$(cat ./data/waspdb/chains/chain_registry.json 2>/dev/null | grep $VAR_SHIMMER_EVM_ADDR | cut -d '=' -f 2)" ]; then
echo "$gn"; echo 'Shimmer-EVM chain successfully added...'"$xx"
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
clear
echo "$ca"; echo 'Activate Shimmer-EVM chain...'"$xx"
./wasp-cli-wrapper.sh chain activate --chain shimmer-evm
echo "$fl"; PromptMessage "$opt_time" "Press [Enter] / wait ["$opt_time"s] to continue... Press [P] to pause / [C] to cancel"; echo "$xx"
clear
echo "$ca"; echo 'Prepare wasp...'; echo "$xx"
./prepare_docker.sh
Expand All @@ -2682,7 +2674,7 @@ SubMenuWaspCLI() {
echo "$ca"; echo 'Restart wasp...'; echo "$xx"
docker stop shimmer-wasp
docker compose up -d
else echo "$rd"; echo "Error adding Shimmer-EVM chain!""$xx"; fi
else echo "$rd"; echo "Error adding/activating Shimmer-EVM chain!""$xx"; fi
else echo "$rd""Set at least two trusted accessnodes in the wasp config first!""$xx"; fi
else echo "$rd""Install/prepare Wasp-CLI first!""$xx"; fi
else
Expand Down

0 comments on commit ad08034

Please sign in to comment.