From 87b1d924f34bf4abdf25bc97c1e52f4fbe3b9495 Mon Sep 17 00:00:00 2001 From: Aditya Bisht Date: Sat, 19 Oct 2024 11:08:34 +0000 Subject: [PATCH] chore: prover --- packages/prover/Dockerfile | 3 +-- packages/prover/modal_server.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/prover/Dockerfile b/packages/prover/Dockerfile index 97296dd7..d362a94f 100644 --- a/packages/prover/Dockerfile +++ b/packages/prover/Dockerfile @@ -36,11 +36,10 @@ RUN npm install -g n RUN n 22 RUN npm install -g yarn snarkjs -RUN git clone https://github.com/zkemail/ether-email-auth.git +RUN git clone -b feat/body-parsing-with-audit-fix https://github.com/zkemail/ether-email-auth.git WORKDIR /ether-email-auth/packages/prover RUN pip install -r requirements.txt RUN cp ./circom_proofgen.sh /root -RUN cp ./email_auth_with_body_parsing_with_qp_encoding /root WORKDIR /root RUN ls /root RUN mkdir params diff --git a/packages/prover/modal_server.py b/packages/prover/modal_server.py index 44d95f58..435338ef 100644 --- a/packages/prover/modal_server.py +++ b/packages/prover/modal_server.py @@ -15,7 +15,7 @@ mounts=[ modal.Mount.from_local_python_packages("core"), ], - cpu=16, + cpu=1, gpu="any", secrets=[modal.Secret.from_name("gc-ether-email-auth-prover")], keep_warm=True