Skip to content

Commit

Permalink
update zkey and verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Nov 11, 2024
1 parent c0d11e1 commit c970041
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/contracts/src/utils/Groth16Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ contract Groth16Verifier {
uint256 constant gammax2 = 10857046999023057135944570762232829481370756359578518086990519993285655852781;
uint256 constant gammay1 = 4082367875863433681332203403145435568316851327593401208105741076214120093531;
uint256 constant gammay2 = 8495653923123431417604973247489272438418190587263600148770280649306958101930;
uint256 constant deltax1 = 11446424213964984487905578392625614149094688044307845550442286628464006036477;
uint256 constant deltax2 = 12539263072870538080564134544991895274663086364591345966661618406914330158370;
uint256 constant deltay1 = 842720447424709130319267681125472186194718176411766510886481093260233848461;
uint256 constant deltay2 = 3808949683207586635631760641545252721716054641430110651128219981358045505117;
uint256 constant deltax1 = 17321117490467991551004039976141713368755273259054816981094885308298257468746;
uint256 constant deltax2 = 12206727395119032572075275407523163442640631937249159592734225098709365609525;
uint256 constant deltay1 = 4417177391410880611353118834592763024626678905178826818545984339262284861270;
uint256 constant deltay2 = 2880796425164205982474607914269871986813613330489984606315585308781367270397;


uint256 constant IC0x = 19613578381454247848148468609153373990024337494801498093921075984524147080543;
Expand Down
2 changes: 1 addition & 1 deletion packages/prover/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN ls /root
RUN mkdir params
WORKDIR /root/params

RUN curl https://storage.googleapis.com/circom-ether-email-auth/v1.0.2/email_auth.zkey --output ./email_auth.zkey
RUN curl https://storage.googleapis.com/circom-ether-email-auth/v1.0.2/email_auth_prod1.zkey --output ./email_auth.zkey
# RUN curl https://storage.googleapis.com/circom-ether-email-auth/v1.0.2/email_auth.wasm --output ./email_auth.wasm
RUN mkdir ./email_auth_cpp
WORKDIR /root/params/email_auth_cpp
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 @@ -7,7 +7,7 @@ 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/v1.0.2/email_auth.zkey --output ./email_auth.zkey
curl https://storage.googleapis.com/circom-ether-email-auth/v1.0.2/email_auth_prod1.zkey --output ./email_auth.zkey
mkdir ./email_auth_cpp
cd ./email_auth_cpp
curl https://storage.googleapis.com/circom-ether-email-auth/v1.0.2/email_auth --output ./email_auth
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 @@ -6,7 +6,7 @@
from google.cloud.logging_v2.handlers import setup_logging
from google.oauth2 import service_account

app = modal.App("email-auth-prover-v1.5.3")
app = modal.App("email-auth-prover-v1.5.4")

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

Expand Down

0 comments on commit c970041

Please sign in to comment.