Skip to content

Commit 81ae4d3

Browse files
refactor(libzkp): suppress compilation warnings (#575)
1 parent a83e035 commit 81ae4d3

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

common/libzkp/interface/libzkp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
init_prover(char *params_path, char *seed_path);
1+
void init_prover(char *params_path, char *seed_path);
22
char* create_agg_proof(char *trace);
33
char* create_agg_proof_multi(char *trace);
4-
init_verifier(char *params_path, char *agg_vk_path);
4+
void init_verifier(char *params_path, char *agg_vk_path);
55
char verify_agg_proof(char *proof);

roller/Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
.PHONY: lint docker clean roller mock_roller
22

3-
IMAGE_NAME=go-roller
4-
IMAGE_VERSION=latest
5-
63
ifeq (4.3,$(firstword $(sort $(MAKE_VERSION) 4.3)))
74
ZKEVM_VERSION=$(shell grep -m 1 "scroll-zkevm" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7)
85
HALO2_VERSION=$(shell grep -m 1 "halo2.git" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7)
@@ -11,7 +8,7 @@ else
118
HALO2_VERSION=$(shell grep -m 1 "halo2.git" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7)
129
endif
1310

14-
HALO2_GPU_VERSION=$(shell ./halo2gpu_version.sh | sed -n '2p')
11+
HALO2_GPU_VERSION=$(shell ./print_halo2gpu_version.sh | sed -n '2p')
1512

1613
ifeq (${HALO2_GPU_VERSION},)
1714
# use halo2_proofs with CPU
@@ -50,6 +47,3 @@ lint: ## Lint the files - used for CI
5047

5148
clean: ## Empty out the bin folder
5249
@rm -rf build/bin
53-
54-
# docker:
55-
# docker build -t scrolltech/${IMAGE_NAME}:${IMAGE_VERSION} ../ -f ./Dockerfile
File renamed without changes.

0 commit comments

Comments
 (0)