proof-aggregation/workflow/scripts/prove_and_verify.sh
2025-03-10 14:49:13 +01:00

14 lines
417 B
Bash
Executable File

#!/bin/bash
# Source the parameters from params.sh
source ./circ_params.sh
# Change to the parent directory of the script
cd "$(dirname "$0")/.." || { echo "Failed to change directory"; exit 1; }
# Build
cargo build --release || { echo "prove_and_verify.sh: cargo build failed"; exit 101; }
# Run the Rust executable
cargo run --bin prove_and_verify || { echo "prove_and_verify.sh: cargo run failed"; exit 102; }