Skip to content

Commit

Permalink
Modify the proving key path
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Apr 25, 2024
1 parent 7422d45 commit 8dbde27
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ $ yarn test

Run integration tests

Before running integration tests, you need to make a `packages/contracts/test/build_integration` directory, download the zip file from the following link, and place its unziped directory under that directory.
https://drive.google.com/file/d/1waD-GzzpCmo3xN4rdDqQ2A2B7id1JR7V/view?usp=sharing
Before running integration tests, you need to make a `packages/contracts/test/build_integration` directory, download the zip file from the following link, and place its unzipped directory under that directory.
https://drive.google.com/file/d/13_RItK372JdfQFM3TmQFU_svN7q0k5iF/view?usp=drive_link

Then, move `email_auth.zkey` and `email_auth.wasm` in the unzipped directory `params` to `build_integration`.

Expand Down
2 changes: 1 addition & 1 deletion packages/prover/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN ls /root
# RUN cp /email-wallet/packages/prover/params/email_sender.wasm /root/params
RUN mkdir params
WORKDIR /root/params
RUN gdown "https://drive.google.com/uc?id=1ky3XyabnBFwcyBoWBimhoePT9kbFyEBR"
RUN gdown "https://drive.google.com/uc?id=13_RItK372JdfQFM3TmQFU_svN7q0k5iF"
RUN unzip params.zip
RUN mv params/* /root/params
WORKDIR /root
Expand Down
2 changes: 1 addition & 1 deletion packages/prover/local_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdir -p build
npm install -g snarkjs@latest
pip install -r requirements.txt
mkdir build && cd build
gdown "https://drive.google.com/uc?id=1ky3XyabnBFwcyBoWBimhoePT9kbFyEBR"
gdown "https://drive.google.com/uc?id=13_RItK372JdfQFM3TmQFU_svN7q0k5iF"
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 @@
)


stub = modal.Stub("email-auth-prover-v1.0.1")
stub = modal.Stub("email-auth-prover-v1.0.2")

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

Expand Down

0 comments on commit 8dbde27

Please sign in to comment.