diff --git a/mpc_demo_infra/coordination_server/docker/Dockerfile b/mpc_demo_infra/coordination_server/docker/Dockerfile index b28b51d..27b4d79 100644 --- a/mpc_demo_infra/coordination_server/docker/Dockerfile +++ b/mpc_demo_infra/coordination_server/docker/Dockerfile @@ -24,7 +24,7 @@ RUN git clone https://github.com/ZKStats/tlsn.git \ && git checkout mpspdz-compat-binance \ && cd tlsn \ && cargo build --release --example binance_verifier \ - && mv /root/tlsn/tlsn/target/release/examples/binance_verifier /root/mpc-demo-infra + && mv /root/tlsn/tlsn/target/release/examples/binance_verifier /root/tlsn/tlsn/examples/ COPY .env.coord /root/mpc-demo-infra/ COPY ssl_certs/ /root/mpc-demo-infra/ssl_certs/ diff --git a/mpc_demo_infra/coordination_server/routes.py b/mpc_demo_infra/coordination_server/routes.py index e2aad35..487dbe2 100644 --- a/mpc_demo_infra/coordination_server/routes.py +++ b/mpc_demo_infra/coordination_server/routes.py @@ -27,8 +27,8 @@ router = APIRouter() -CMD_VERIFY_TLSN_PROOF = "cargo run --release --example binance_verifier" TLSN_VERIFIER_PATH = Path(settings.tlsn_project_root) / "tlsn" / "examples" / "binance" +CMD_VERIFY_TLSN_PROOF = "cargo run --release --example binance_verifier" CMD_TLSN_VERIFIER = "./binance_verifier" @@ -96,6 +96,7 @@ def locate_binance_verifier(): # can be built from the source. binance_verifiers = [ (Path('.').resolve(), CMD_TLSN_VERIFIER), + (TLSN_VERIFIER_PATH, CMD_TLSN_VERIFIER), (TLSN_VERIFIER_PATH, CMD_VERIFY_TLSN_PROOF), ] binance_verifier_dir = None