Skip to content

Commit a4336a1

Browse files
Create a specific folder for the random proof verification data
1 parent 417a63a commit a4336a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

alerts/sender_with_alert.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ x=$((nonce + 1)) # So we don't have any issues with nonce = 0
100100
echo "Generating proof $x != 0, nonce: $nonce"
101101
go run ./scripts/test_files/gnark_groth16_bn254_infinite_script/cmd/main.go $x
102102

103+
verification_data_dir="./aligned_verification_data_$x"
104+
mkdir -p $verification_data_dir
105+
103106
## Send Proof
104107
echo "Submitting $REPETITIONS proofs $x != 0"
105108
submit=$(aligned submit \
@@ -113,6 +116,7 @@ submit=$(aligned submit \
113116
--network $NETWORK \
114117
--max_fee 0.004ether \
115118
--random_address \
119+
--aligned_verification_data_path $verification_data_dir \
116120
2>&1)
117121

118122
echo "$submit"
@@ -221,6 +225,6 @@ send_slack_message "$slack_message"
221225

222226
## Remove Proof Data
223227
rm -rf ./scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/*
224-
rm -rf ./aligned_verification_data/*
228+
rm -rf ./aligned_verification_data_$x
225229

226230
exit 0

0 commit comments

Comments
 (0)