Skip to content

Commit

Permalink
rm old step
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Nov 16, 2023
1 parent ebeb4d4 commit 777757f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions docker/upgrade_csc.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
cd /app
cp /app/config/deployment.config.json /app/deployment.config.json
cp /app/config/upgrade.config.json /app/upgrade.config.json

if [[ -n "$PARENTCHAIN_WALLET_PK" ]]; then
PRIVATE_KEY=${PARENTCHAIN_WALLET_PK}
Expand Down Expand Up @@ -50,14 +49,4 @@ else
echo $JSON > upgrade.config.json
fi

# UPGRADE=$(npx hardhat run scripts/proxy/UpgradeCSC.js --network xdcparentnet | awk '{print $NF}')
# FULL=$(echo $UPGRADE | cut -d' ' -f2)
# FULL="FULL=$FULL"
# LITE=$(echo $UPGRADE | cut -d' ' -f3)
# LITE="LITE=$LITE"
# echo "Upgraded Proxy Gateway with CSC"
# echo "$FULL"
# echo "$LITE"

npx hardhat run scripts/proxy/UpgradeCSC.js --network xdcparentnet
# echo "Upgraded Proxy Gateway with CSC"
npx hardhat run scripts/proxy/UpgradeCSC.js --network xdcparentnet

0 comments on commit 777757f

Please sign in to comment.