File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -259,10 +259,10 @@ EOF
259259tf_run " ${DEPLOY_ROLLUP_CONTRACTS_DIR} " " ${DESTROY_ROLLUP_CONTRACTS} " " ${CREATE_ROLLUP_CONTRACTS} "
260260log " Deployed rollup contracts"
261261
262- # if [[ "${VERIFY_CONTRACTS:-}" == "true" ]]; then
263- # terraform -chdir="${DEPLOY_ROLLUP_CONTRACTS_DIR}" output -raw verification_json_b64 | base64 -d > $HOME/l1-verify.json
264- # ${REPO_ROOT}/l1-contracts/scripts/verify-from-json.sh $HOME/l1-verify.json --api-key $ETHERSCAN_API_KEY
265- # fi
262+ if [[ " ${VERIFY_CONTRACTS:- } " == " true" ]]; then
263+ terraform -chdir=" ${DEPLOY_ROLLUP_CONTRACTS_DIR} " output -raw verification_json_b64 | base64 -d > $HOME /l1-verify.json
264+ ${REPO_ROOT} /l1-contracts/scripts/verify-from-json.sh $HOME /l1-verify.json --api-key $ETHERSCAN_API_KEY
265+ fi
266266
267267REGISTRY_ADDRESS=$( terraform -chdir=" ${DEPLOY_ROLLUP_CONTRACTS_DIR} " output -raw registry_address)
268268SLASH_FACTORY_ADDRESS=$( terraform -chdir=" ${DEPLOY_ROLLUP_CONTRACTS_DIR} " output -raw slash_factory_address)
You can’t perform that action at this time.
0 commit comments