forked from matter-labs/zksync
-
Notifications
You must be signed in to change notification settings - Fork 0
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
15 changed files
with
48 additions
and
58 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
. .setup_env | ||
|
||
export LABEL=$FRANKLIN_ENV-Contract_deploy-`date +%Y-%m-%d-%H%M%S` | ||
mkdir -p logs/$LABEL/ | ||
cp ./$ENV_FILE logs/$LABEL/$FRANKLIN_ENV.bak | ||
|
||
python3 bin/replace-env-variable.py ./$ENV_FILE $(cat $ENV_FILE.example|grep "DATABASE_URL") | ||
python3 bin/replace-env-variable.py ./$ENV_FILE $(cat $ENV_FILE.example|grep "PROVER_DATABASE_URL") | ||
python3 bin/replace-env-variable.py ./$ENV_FILE $(cat $ENV_FILE.example|grep "WEB3_URL") | ||
python3 bin/replace-env-variable.py ./$ENV_FILE $(cat $ENV_FILE.example|grep "TESSERACTS_URL") |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
. .setup_env | ||
|
||
export LABEL=$FRANKLIN_ENV-Contract_deploy-`date +%Y-%m-%d-%H%M%S` | ||
mkdir -p logs/$LABEL/ | ||
cp ./$ENV_FILE logs/$LABEL/$FRANKLIN_ENV.bak | ||
|
||
python3 bin/replace-env-variable.py ./$ENV_FILE DATABASE_URL=$(bin/kube-database-url) | ||
python3 bin/replace-env-variable.py ./$ENV_FILE PROVER_DATABASE_URL=$(bin/kube-database-url) | ||
python3 bin/replace-env-variable.py ./$ENV_FILE WEB3_URL=$(bin/kube-database-url) | ||
python3 bin/replace-env-variable.py ./$ENV_FILE TESSERACTS_URL=$(bin/kube-database-url) |
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
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 |
---|---|---|
|
@@ -15,8 +15,8 @@ OPERATOR_ETH_ACCOUNT_PASSWORD="fine music test" | |
# account stored on the local eth node. | ||
GENESIS_ROOT=0x16026b70a351d68d7119a9a743c5e21e072bc3cb40d2355e623079499ce58f44 | ||
|
||
WEB3_URL=$(bin/dev-geth-url) | ||
TESSERACTS_URL=$(bin/dev-tesseracts-url) | ||
WEB3_URL=http://localhost:8545 | ||
TESSERACTS_URL=http://localhost:8000 | ||
TRUFFLE_NETWORK=universal | ||
|
||
# Client | ||
|
@@ -33,12 +33,8 @@ LOGDIR=~/var/log/ | |
LOGFILE=$~/var/log/plasma.log | ||
|
||
# For more details see service configuration at <franklink-dir>/etc/kube/minikube/postgres.yaml | ||
DATABASE_URL=$(bin/dev-database-url) | ||
PROVER_DATABASE_URL=$(bin/dev-database-url) | ||
|
||
# in docker | ||
#DATABASE_URL=postgres://[email protected]/plasma | ||
#PROVER_DATABASE_URL=postgres://[email protected]/plasma | ||
DATABASE_URL=postgres://postgres@localhost/plasma | ||
PROVER_DATABASE_URL=postgres://postgres@localhost/plasma | ||
|
||
DB_POOL_SIZE=10 | ||
|
||
|