mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-10 14:38:18 -05:00
Signed-off-by: noelwei <fan@scroll.io> Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com> Co-authored-by: noelwei <fan@scroll.io> Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: Rohit Narurkar <rohit.narurkar@proton.me> Co-authored-by: colinlyguo <colinlyguo@scroll.io> Co-authored-by: Péter Garamvölgyi <peter@scroll.io> Co-authored-by: Morty <70688412+yiweichi@users.noreply.github.com> Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com> Co-authored-by: jonastheis <jonastheis@users.noreply.github.com> Co-authored-by: georgehao <georgehao@users.noreply.github.com> Co-authored-by: kunxian xia <xiakunxian130@gmail.com> Co-authored-by: Velaciela <git.rover@outlook.com> Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com> Co-authored-by: Morty <yiweichi1@gmail.com>
22 lines
709 B
Makefile
22 lines
709 B
Makefile
.PHONY: batch_production_submission launch_prover psql check_proving_status
|
|
|
|
export SCROLL_ZKVM_VERSION=0.4.2
|
|
PG_URL=postgres://postgres@localhost:5432/scroll
|
|
|
|
batch_production_submission:
|
|
docker compose --profile batch-production-submission up
|
|
|
|
launch_prover:
|
|
docker compose up -d
|
|
|
|
psql:
|
|
psql 'postgres://postgres@localhost:5432/scroll'
|
|
|
|
check_proving_status:
|
|
@echo "Checking proving status..."
|
|
@result=$$(psql "${PG_URL}" -t -c "SELECT proving_status = 4 AS is_status_success FROM batch ORDER BY index LIMIT 1;" | tr -d '[:space:]'); \
|
|
if [ "$$result" = "t" ]; then \
|
|
echo "✅ Prove succeeded! You're ready to submit permissionless batch and proof!"; \
|
|
else \
|
|
echo "Proof is not ready..."; \
|
|
fi
|