File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,22 @@ if [ -z "$MULTISIG" ]; then
44 echo " Missing MULTISIG env variable"
55 exit 1
66fi
7+ if [ -z " $OUTPUT_PATH " ]; then
8+ echo " Missing OUTPUT_PATH env variable"
9+ exit 1
10+ fi
11+ if [ -z " $EXISTING_DEPLOYMENT_INFO_PATH " ]; then
12+ echo " Missing EXISTING_DEPLOYMENT_INFO_PATH env variable"
13+ exit 1
14+ fi
15+ if [ -z " $RPC_URL " ]; then
16+ echo " Missing RPC_URL env variable"
17+ exit 1
18+ fi
19+ if [ -z " $PRIVATE_KEY " ]; then
20+ echo " Missing PRIVATE_KEY env variable"
21+ exit 1
22+ fi
723
824# cd to the directory of this script so that this can be run from anywhere
925parent_path=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " ; pwd -P )
@@ -35,9 +51,6 @@ jq --arg new_aligned_layer_service_manager_implementation "$new_aligned_layer_se
3551# Replace the original file with the temporary file
3652mv " script/output/holesky/alignedlayer_deployment_output.temp.json" $OUTPUT_PATH
3753
38- # Delete the temporary file
39- rm -f " script/output/holesky/alignedlayer_deployment_output.temp.json"
40-
4154data=$( cast calldata " upgrade(address, address)" $aligned_layer_service_manager $new_aligned_layer_service_manager_implementation )
4255
4356if [ " $MULTISIG " = false ]; then
You can’t perform that action at this time.
0 commit comments