diff --git a/packages/prover/Dockerfile b/packages/prover/Dockerfile index 7f3f9e51..d7fe17bc 100644 --- a/packages/prover/Dockerfile +++ b/packages/prover/Dockerfile @@ -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 diff --git a/packages/prover/core.py b/packages/prover/core.py index 47826faf..eb4c1f74 100644 --- a/packages/prover/core.py +++ b/packages/prover/core.py @@ -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())