From d775461fb8fb1f948f933081b5fb701953506a42 Mon Sep 17 00:00:00 2001 From: Carson Date: Fri, 20 Sep 2024 18:46:40 -0400 Subject: [PATCH] fix: makefile error --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8c595ef..9d92005 100644 --- a/Makefile +++ b/Makefile @@ -10,23 +10,23 @@ checkL2: deployL1: @echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" - cp ./deployment-config/out-template.json ./deployment-config/out.json + cp ./deployment-config/out-template.json ./deployment-config/outL1.json @export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} deployL2: @echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" - cp ./deployment-config/out-template.json ./deployment-config/out.json + cp ./deployment-config/out-template.json ./deployment-config/outL2.json @export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} live-deployL1: @echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" - cp ./deployment-config/out-template.json ./deployment-config/out.json + cp ./deployment-config/out-template.json ./deployment-config/outL1.json @export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} --private-key=$(PRIVATE_KEY) --broadcast --slow --verify mv ./deployment-config/out.json ./deployment-config/outL1.json live-deployL2: @echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" - cp ./deployment-config/out-template.json ./deployment-config/out.json + cp ./deployment-config/out-template.json ./deployment-config/outL2.json @export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} --private-key=$(PRIVATE_KEY) --broadcast --slow --verify mv ./deployment-config/out.json ./deployment-config/outL2.json @@ -62,4 +62,4 @@ post-deploy: cp ./broadcast/deployAll.s.sol/$(chain2)/run-latest.json ./nucleus-deployments/$(symbol)/L2.json cp ./deployment-config/$(fileL1) ./nucleus-deployments/$(symbol)/L1Config.json cp ./deployment-config/$(fileL2) ./nucleus-deployments/$(symbol)/L2Config.json - cd nucleus-deployments && git checkout -b $(symbol) && git add . && git commit -m "$(symbol) deployment" && git push origin $(symbol) && git checkout main \ No newline at end of file + cd nucleus-deployments && git checkout -b $(symbol) && git add . && git commit -m "$(symbol) deployment" && git push origin $(symbol) && git checkout main