-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#!/bin/bash | ||
# Set the -e option to stop the script if any command fails | ||
set -e | ||
rm -rf docker/gethData/geth_data | ||
DEV_PERIOD=1 docker compose -f docker/docker-compose.yml up -d geth | ||
sudo rm -rf docker/gethData/geth_data | ||
sudo DEV_PERIOD=1 docker compose -f docker/docker-compose.yml up -d geth | ||
sleep 5 | ||
node docker/scripts/fund-accounts.js | ||
cp docker/scripts/v2/deploy_parameters_docker.json deployment/v2/deploy_parameters.json | ||
cp docker/scripts/v2/create_rollup_parameters_docker.json deployment/v2/create_rollup_parameters.json | ||
npm run deploy:testnet:v2:localhost | ||
rm -rf docker/deploymentOutput | ||
mkdir docker/deploymentOutput | ||
mv deployment/v2/deploy_output.json docker/deploymentOutput | ||
mv deployment/v2/genesis.json docker/deploymentOutput | ||
mv deployment/v2/create_rollup_output.json docker/deploymentOutput | ||
DEV_PERIOD=1 docker compose -f docker/docker-compose.yml down | ||
docker build -t hermeznetwork/geth-zkevm-contracts -f docker/Dockerfile . | ||
sudo mv deployment/v2/deploy_output.json docker/deploymentOutput | ||
sudo mv deployment/v2/genesis.json docker/deploymentOutput | ||
sudo mv deployment/v2/create_rollup_output.json docker/deploymentOutput | ||
sudo DEV_PERIOD=1 docker compose -f docker/docker-compose.yml down | ||
sudo docker build -t hermeznetwork/geth-zkevm-contracts -f docker/Dockerfile . | ||
# Let it readable for the multiplatform build coming later! | ||
chmod -R go+rxw docker/gethData | ||
sudo chmod -R go+rxw docker/gethData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters