From ec00a29557edbe4b6151ec54be418039bbdbd500 Mon Sep 17 00:00:00 2001 From: Matjaz Verbole Date: Thu, 20 Jun 2024 09:27:56 +0200 Subject: [PATCH] Remove deploying DAO when deploying Staking process --- ...AOAndStaking.sh => deployPausedStaking.sh} | 40 ------------------- 1 file changed, 40 deletions(-) rename script/paused/{deployPausedDAOAndStaking.sh => deployPausedStaking.sh} (57%) diff --git a/script/paused/deployPausedDAOAndStaking.sh b/script/paused/deployPausedStaking.sh similarity index 57% rename from script/paused/deployPausedDAOAndStaking.sh rename to script/paused/deployPausedStaking.sh index ce4f64d1..125682d1 100755 --- a/script/paused/deployPausedDAOAndStaking.sh +++ b/script/paused/deployPausedStaking.sh @@ -31,46 +31,6 @@ echo "Cleaning up the build artifacts to be able to deploy the contract..." forge clean echo "Done." -echo "Deploying and if enabled verifying L2GovernorPaused smart contract..." -if [ -z "$CONTRACT_VERIFIER" ] -then - forge script --rpc-url="$L2_RPC_URL" --broadcast -vvvv script/contracts/L2/paused/L2GovernorPaused.s.sol:L2GovernorPausedScript -else - if [ $CONTRACT_VERIFIER = "blockscout" ] - then - forge script --rpc-url="$L2_RPC_URL" --broadcast --verify --verifier blockscout --verifier-url $L2_VERIFIER_URL -vvvv script/contracts/L2/paused/L2GovernorPaused.s.sol:L2GovernorPausedScript - fi - if [ $CONTRACT_VERIFIER = "etherscan" ] - then - forge script --rpc-url="$L2_RPC_URL" --broadcast --verify --verifier etherscan --etherscan-api-key="$L2_ETHERSCAN_API_KEY" -vvvv script/contracts/L2/paused/L2GovernorPaused.s.sol:L2GovernorPausedScript - fi -fi -echo "Done." - -echo "Cleaning up the build artifacts to be able to deploy the next contract..." -forge clean -echo "Done." - -echo "Deploying and if enabled verifying L2VotingPowerPaused smart contract..." -if [ -z "$CONTRACT_VERIFIER" ] -then - forge script --rpc-url="$L2_RPC_URL" --broadcast -vvvv script/contracts/L2/paused/L2VotingPowerPaused.s.sol:L2VotingPowerPausedScript -else - if [ $CONTRACT_VERIFIER = "blockscout" ] - then - forge script --rpc-url="$L2_RPC_URL" --broadcast --verify --verifier blockscout --verifier-url $L2_VERIFIER_URL -vvvv script/contracts/L2/paused/L2VotingPowerPaused.s.sol:L2VotingPowerPausedScript - fi - if [ $CONTRACT_VERIFIER = "etherscan" ] - then - forge script --rpc-url="$L2_RPC_URL" --broadcast --verify --verifier etherscan --etherscan-api-key="$L2_ETHERSCAN_API_KEY" -vvvv script/contracts/L2/paused/L2VotingPowerPaused.s.sol:L2VotingPowerPausedScript - fi -fi -echo "Done." - -echo "Cleaning up the build artifacts to be able to deploy the next contract..." -forge clean -echo "Done." - echo "Deploying and if enabled verifying L2LockingPositionPaused smart contract..." if [ -z "$CONTRACT_VERIFIER" ] then