Skip to content

Commit

Permalink
Merge pull request #98 from exfinen/fix-prove-path-issue
Browse files Browse the repository at this point in the history
Specify binance prover path with cwd parameter
  • Loading branch information
exfinen authored Dec 14, 2024
2 parents a570c9f + 91d8bec commit b508f87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mpc_demo_infra/client_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ async def generate_tlsn_proof(api_key: str, api_secret: str):
secret_file = PROJECT_ROOT/ f"secret{timestamp}.json"

process = await asyncio.create_subprocess_shell(
f"cd {binance_prover_dir} && {binance_prover_exec_cmd} {settings.notary_server_host} {settings.notary_server_port} {api_key} {api_secret} {str(proof_file.resolve())} {str(secret_file.resolve())}",
f"{binance_prover_exec_cmd} {settings.notary_server_host} {settings.notary_server_port} {api_key} {api_secret} {str(proof_file.resolve())} {str(secret_file.resolve())}",
cwd=binance_prover_dir,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,
)
Expand Down

0 comments on commit b508f87

Please sign in to comment.