Skip to content

Commit

Permalink
Update docker entrypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
ly0va committed Oct 28, 2020
1 parent d5e080c commit 198db6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docker/exit-tool/exit-tool-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ then
exit 1
fi

zksync plonk-setup check || zksync plonk-setup download
zksync verify-keys unpack
zk run plonk-setup
zk run verify-keys unpack
f db-wait

COMMAND=$1
Expand Down
15 changes: 4 additions & 11 deletions docker/integration-test/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,10 @@ nohup /usr/local/bin/geth-entry.sh &>/dev/null &
service postgresql restart

# Prepare dummy-prover in the contract (so the redeployed version will be OK)
zksync dummy-prover enable-no-redeploy

# Initialize the stack (mostly, it's an init command with some steps skipped for docker environment)
zksync verify-keys unpack
zksync yarn || true # It can fail.
zksync db-setup
zksync build-dev-contracts
zksync deploy-erc20 dev
zksync build-contracts
zksync genesis
zksync redeploy
zk dummy-prover enable --no-redeploy

# Initialize the stack
zk init

# Compile required dependencies
f cargo build --bin zksync_server --release
Expand Down

0 comments on commit 198db6b

Please sign in to comment.