From 635853f170088bf4f84deda75512581ec1e081ff Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Sun, 13 Sep 2026 11:31:28 +0300 Subject: [PATCH] fix typos and add numeration gap for gatekeeper deployment Signed-off-by: Uncle Fatso --- deployer.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deployer.sh b/deployer.sh index f4ecdcf..8f29ed7 100644 --- a/deployer.sh +++ b/deployer.sh @@ -1,9 +1,9 @@ set -e -AVAILIABLE_NETWORKS=(anvil-localnet sepolia-testnet hoodi-testnet mordor-testnet) -NETWORK="${AVAILIABLE_NETWORKS[0]}" +AVAILABLE_NETWORKS=(anvil-localnet sepolia-testnet hoodi-testnet mordor-testnet) +NETWORK="${AVAILABLE_NETWORKS[0]}" START=1 -END=14 +END=13 VERIFY_NEEDED="--verify" LEGACY_FLAGS="" @@ -13,7 +13,7 @@ usage() { echo -e "\t-e, --end - last contract deployment to be done." echo -e "\t-n, --network - network name to be deployed on." echo -e "\t-b, --blockscout - should try to use blockscout as verifier." - echo -e "\nAvailable network names: ${AVAILIABLE_NETWORKS[@]}" + echo -e "\nAvailable network names: ${AVAILABLE_NETWORKS[@]}" echo -e "\nContract enumeration:" echo "0) Reserve" echo "1) Authority" @@ -29,7 +29,7 @@ usage() { echo "11) AfterPartyFirst" echo "12) AfterPartySecond" echo "13) AfterPartyThird" - echo "14) Gatekeeper" + echo "69) Gatekeeper" exit 1 } @@ -70,7 +70,7 @@ if [ "$NETWORK" == "anvil-localnet" ]; then fi found=false -for i in "${AVAILIABLE_NETWORKS[@]}" +for i in "${AVAILABLE_NETWORKS[@]}" do if [ "$i" == "$NETWORK" ] ; then found=true @@ -82,7 +82,7 @@ done if [ $found == false ] ; then echo "ERROR: '${NETWORK}' is incorrect network for deployment, valid networks are:" - for i in "${AVAILIABLE_NETWORKS[@]}" + for i in "${AVAILABLE_NETWORKS[@]}" do echo -e "\t${i}" done @@ -118,7 +118,7 @@ for i in $(seq $START $END); do CONTRACT="AfterPartySecond" elif [ "13" == "$i" ]; then CONTRACT="AfterPartyThird" - elif [ "14" == "$i" ]; then + elif [ "69" == "$i" ]; then CONTRACT="Gatekeeper" else echo "No contract found for index $i"