Skip to content

Commit

Permalink
TEST COMMIT DELETE!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
BGluth committed Aug 14, 2024
1 parent d4f4b4b commit 5ae99d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zero_bin/tools/prove_stdio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export TOKIO_WORKER_THREADS=$num_procs

export RUST_MIN_STACK=33554432
export RUST_BACKTRACE=full
export RUST_LOG=info
export RUST_LOG=trace
# Script users are running locally, and might benefit from extra perf.
# See also .cargo/config.toml.
export RUSTFLAGS='-C target-cpu=native -Zlinker-features=-lld'
Expand Down Expand Up @@ -90,7 +90,7 @@ fi
# proof. This is useful for quickly testing decoding and all of the
# other non-proving code.
if [[ $TEST_ONLY == "test_only" ]]; then
cargo run --release --features test_only --bin leader -- --runtime in-memory --load-strategy on-demand stdio < $INPUT_FILE &> $TEST_OUT_PATH
cargo run --release --features test_only --bin leader -- --runtime in-memory --load-strategy on-demand stdio < $INPUT_FILE
if grep -q 'All proof witnesses have been generated successfully.' $TEST_OUT_PATH; then
echo -e "\n\nSuccess - Note this was just a test, not a proof"
rm $TEST_OUT_PATH
Expand All @@ -104,7 +104,7 @@ fi
cargo build --release --jobs "$num_procs"

start_time=$(date +%s%N)
"${TOOLS_DIR}/../../target/release/leader" --runtime in-memory --load-strategy on-demand stdio < $INPUT_FILE &> $LEADER_OUT_PATH
"${TOOLS_DIR}/../../target/release/leader" --runtime in-memory --load-strategy on-demand stdio < $INPUT_FILE
end_time=$(date +%s%N)

tail -n 1 $LEADER_OUT_PATH > $PROOFS_JSON_PATH
Expand Down

0 comments on commit 5ae99d3

Please sign in to comment.