From 2a54c8aae65f2b95f194402c1846570ffdd7deeb Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:58:47 +0800 Subject: [PATCH] build: fix Makefile (#947) --- coordinator/Makefile | 4 ++-- prover/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/coordinator/Makefile b/coordinator/Makefile index 67070cf2f1..b9fe1d35b6 100644 --- a/coordinator/Makefile +++ b/coordinator/Makefile @@ -5,10 +5,10 @@ IMAGE_VERSION=latest REPO_ROOT_DIR=./.. ifeq (4.3,$(firstword $(sort $(MAKE_VERSION) 4.3))) - ZKEVM_VERSION=$(shell grep -m 1 "scroll-prover" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) + ZKEVM_VERSION=$(shell grep -m 1 "zkevm-circuits" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) HALO2_VERSION=$(shell grep -m 1 "halo2.git" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) else - ZKEVM_VERSION=$(shell grep -m 1 "scroll-prover" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) + ZKEVM_VERSION=$(shell grep -m 1 "zkevm-circuits" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) HALO2_VERSION=$(shell grep -m 1 "halo2.git" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) endif diff --git a/prover/Makefile b/prover/Makefile index 4874507a88..b7510fc961 100644 --- a/prover/Makefile +++ b/prover/Makefile @@ -1,10 +1,10 @@ .PHONY: lint docker clean prover mock-prover ifeq (4.3,$(firstword $(sort $(MAKE_VERSION) 4.3))) - ZKEVM_VERSION=$(shell grep -m 1 "scroll-prover" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) + ZKEVM_VERSION=$(shell grep -m 1 "zkevm-circuits" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) HALO2_VERSION=$(shell grep -m 1 "halo2.git" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) else - ZKEVM_VERSION=$(shell grep -m 1 "scroll-prover" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) + ZKEVM_VERSION=$(shell grep -m 1 "zkevm-circuits" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) HALO2_VERSION=$(shell grep -m 1 "halo2.git" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) endif @@ -39,7 +39,7 @@ test-gpu-prover: libzkp go test -tags="gpu ffi" -timeout 0 -v ./prover lastest-zk-version: - curl -sL https://api.github.com/repos/scroll-tech/scroll-prover/commits | jq -r ".[0].sha" + curl -sL https://api.github.com/repos/scroll-tech/zkevm-circuits/commits | jq -r ".[0].sha" lint: ## Lint the files - used for CI cp -r ../common/libzkp/interface ./core/lib