File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed
Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ tests.tsv
1717website /static /api-docs /
1818
1919ledger /3.0.0mainnet
20+ ledger /3.0.1devnet
2021ledger /berkeley-devnet
22+ ledger /berkeley_rc1
2123mina-workdir
2224.idea /
Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ NETWORK ?= devnet
3737VERBOSITY ?= info
3838GIT_COMMIT := $(shell git rev-parse --short=8 HEAD)
3939
40+ # Circuit Blobs
41+ CIRCUITS_REPO ?= https://github.com/o1-labs/circuit-blobs.git
42+ CIRCUITS_REV ?= dw/add-berkeley-687bf44e97328e1cc0e85291663009410f64bd99
43+ CIRCUITS_NETWORKS ?= 3.0.0mainnet 3.0.1devnet berkeley_rc1 berkeley-devnet
44+
4045# Documentation server port
4146DOCS_PORT ?= 3000
4247
@@ -214,9 +219,12 @@ clean: ## Clean build artifacts
214219.PHONY : download-circuits
215220download-circuits : # # Download the circuits used by Mina from GitHub
216221 @if [ ! -d " circuit-blobs" ]; then \
217- git clone --depth 1 https://github.com/o1-labs/circuit-blobs.git -b dw/add-berkeley-687bf44e97328e1cc0e85291663009410f64bd99; \
218- ln -s " $$ PWD" /circuit-blobs/3.0.0mainnet ledger/; \
219- ln -s " $$ PWD" /circuit-blobs/berkeley-devnet ledger/; \
222+ git clone --depth 1 $(CIRCUITS_REPO ) -b $(CIRCUITS_REV ) ; \
223+ for network in $( CIRCUITS_NETWORKS) ; do \
224+ echo " Including circuits for $$ network" ; \
225+ rm -f " $$ PWD" /ledger/" $$ network" ; \
226+ ln -s " $$ PWD" /circuit-blobs/" $$ network" ledger/" $$ network" ; \
227+ done ; \
220228 else \
221229 echo " circuit-blobs already exists, skipping download." ; \
222230 fi
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Set the base URL for OpenMina
4- MINA_BASE_URL=" https://github.com/openmina "
4+ MINA_BASE_URL=" https://github.com/o1-labs "
55
66# Function to download circuit files
77download_circuit_files () {
88 CIRCUITS_BASE_URL=" $MINA_BASE_URL /circuit-blobs/releases/download"
9- CIRCUITS_VERSION=" 3.0.1devnet "
9+ CIRCUITS_VERSION=" berkeley-devnet "
1010
1111 DEVNET_CIRCUIT_FILES=(
1212 " block_verifier_index.postcard"
You can’t perform that action at this time.
0 commit comments