Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed Sep 26, 2024
1 parent ff5f0d9 commit 38cd67e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/prover/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \
RUN npm install -g n
RUN n 22
RUN npm install -g yarn snarkjs

RUN git clone -b feat/gpu https://github.com/zkemail/ether-email-auth.git
WORKDIR /ether-email-auth/packages/prover
RUN pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion packages/prover/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def store_input(circuit_name: str, nonce: str, json_data: dict):
print(f"Json data type: {type(json_data)}")
# logger.info(f"Store user input to {json_file_path}")
with open(json_file_path, "w") as json_file:
json_file.write(json.dumps(json_data))
json_file.write(json_data)
# Read the file back
with open(json_file_path, "r") as json_file:
print(json_file.read())
Expand Down

0 comments on commit 38cd67e

Please sign in to comment.