#!/usr/bin/env bash set -euo pipefail # Load global and circuit-specific parameters source "$(dirname "$0")/params.sh" source "$(dirname "$0")/circ_params.sh" usage() { cat < /dev/null echo "[$name] Completed" } $DO_GEN && run_cmd "GenInput" gen-input $DO_BUILD && run_cmd "Build" build $DO_PROVE && run_cmd "Prove" prove $DO_AGG && run_cmd "Aggregate" aggregate $DO_AGG_COMP && run_cmd "AggregateAndCompress" aggregate-and-compress $DO_WRAP_SAMP && run_cmd "WrapSampling" wrap $DO_WRAP_TREE && run_cmd "WrapTree" wrap-tree $DO_WRAP_COMP && run_cmd "WrapCompress" wrap-compress $DO_VER_SAMP && run_cmd "VerifySampling" verify $DO_VER_TREE && run_cmd "VerifyTree" verify-tree $DO_VER_COMP && run_cmd "VerifyCompressed" verify-compressed $DO_VER_WRAP && run_cmd "VerifyWrapped" verify-wrapped echo "All requested steps done."