Skip to content

Commit

Permalink
Update prover
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Oct 26, 2024
1 parent 016440d commit cb5bd35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/prover/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && \
RUN npm install -g n
RUN n 18
RUN npm install -g yarn snarkjs
RUN git clone -b feat/body-parsing-circuit 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
Expand All @@ -26,8 +26,8 @@ WORKDIR /root/params
# RUN gdown "https://drive.google.com/uc?id=1XDPFIL5YK8JzLGoTjmHLXO9zMDjSQcJH"
# RUN unzip params.zip
# RUN mv params/* /root/params
RUN curl https://storage.googleapis.com/circom-ether-email-auth/v0.1.1-preview/email_auth.zkey --output ./email_auth.zkey
RUN curl https://storage.googleapis.com/circom-ether-email-auth/v0.1.1-preview/email_auth.wasm --output ./email_auth.wasm
RUN curl https://storage.googleapis.com/circom-ether-email-auth/v2.0.1-preview/email_auth.zkey --output ./email_auth.zkey
RUN curl https://storage.googleapis.com/circom-ether-email-auth/v2.0.1-preview/email_auth.wasm --output ./email_auth.wasm
WORKDIR /root
RUN ls params
# RUN mv build params
Expand Down
4 changes: 2 additions & 2 deletions packages/prover/local_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ npm install -g snarkjs@latest
pip install -r requirements.txt
mkdir build && cd build
# gdown "https://drive.google.com/uc?id=1XDPFIL5YK8JzLGoTjmHLXO9zMDjSQcJH"
curl https://storage.googleapis.com/circom-ether-email-auth/v0.1.1-preview/email_auth.zkey --output ./email_auth.zkey
curl https://storage.googleapis.com/circom-ether-email-auth/v0.1.1-preview/email_auth.wasm --output ./email_auth.wasm
curl https://storage.googleapis.com/circom-ether-email-auth/v2.0.1-preview/email_auth.zkey --output ./email_auth.zkey
curl https://storage.googleapis.com/circom-ether-email-auth/v2.0.1-preview/email_auth.wasm --output ./email_auth.wasm
# unzip params.zip
# curl https://email-wallet-trusted-setup-ceremony-pse-p0tion-production.s3.eu-central-1.amazonaws.com/circuits/emailwallet-account-creation/contributions/emailwallet-account-creation_00019.zkey --output /root/params/account_creation.zkey
# curl https://email-wallet-trusted-setup-ceremony-pse-p0tion-production.s3.eu-central-1.amazonaws.com/circuits/emailwallet-account-init/contributions/emailwallet-account-init_00007.zkey --output /root/params/account_init.zkey
Expand Down
2 changes: 1 addition & 1 deletion packages/prover/modal_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from google.cloud.logging_v2.handlers import setup_logging
from google.oauth2 import service_account

app = modal.App("email-auth-prover-v1.5.0")
app = modal.App("email-auth-prover-v1.5.1")

image = modal.Image.from_dockerfile("Dockerfile")

Expand Down

0 comments on commit cb5bd35

Please sign in to comment.