-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ZKWAS-425: Checkpointing Prover DB (#19) * init checkpointing update * readme update for checkpoint * refine * minor update * minor update * scripts + readme * readme * update * update mongo-merkle image name * mongodb8 dev * update mongo db image tag * ftp container in same file (#20) * update mem checks for db and prover script (#21) * feature release branch * Update README.md * update commit hash * dev notes * bump merkle db dev --------- Co-authored-by: Tim Yu <[email protected]>
- Loading branch information
Showing
8 changed files
with
153 additions
and
61 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 |
---|---|---|
|
@@ -19,7 +19,7 @@ RUN git config --global url.https://github.com/.insteadOf [email protected]: | |
|
||
RUN git clone https://github.com/DelphinusLab/prover-node-release && \ | ||
cd prover-node-release && \ | ||
git checkout 365abc4ac1b7c2859f4de8ca272834e9a1e71299 | ||
git checkout b3aa65fa0307b95fd9a24c03dfcdaf4649163b90 | ||
|
||
WORKDIR /home/zkwasm/prover-node-release | ||
|
||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Start prover node services | ||
docker compose up |
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,2 @@ | ||
# Stop prover node services | ||
docker compose down |
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,23 @@ | ||
# This script will perform some basic actions for when the prover node is upgraded. | ||
# Manually run this script to clear the workspace, previous mongodb merkle data to start fresh. | ||
|
||
# This script also assumes the prover node has been started using defaults. | ||
# If you used docker compose -p <project_name> up, then please modify the script to use the correct project name. | ||
|
||
# Prune unused docker containers | ||
docker container prune -f | ||
|
||
# Prune unused docker volumes | ||
docker volume prune -f | ||
|
||
# Remove the workspace volume | ||
docker volume rm prover-node-docker_workspace-volume | ||
|
||
# Remove the mongodb volume | ||
docker volume rm prover-node-docker_mongodb_data | ||
|
||
# Remove the image and re-pull the latest image | ||
docker image rm zkwasm:latest | ||
|
||
# Rebuild image locally | ||
DOCKER_BUILDKIT=0 docker build --rm --network=host -t zkwasm . |