File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -510,6 +510,8 @@ batcher_send_burst_groth16: batcher/target/release/aligned
510510 @mkdir -p scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs
511511 @./batcher/aligned/send_burst_tasks.sh $(BURST_SIZE ) $(START_COUNTER )
512512
513+ batcher_send_proof_with_random_address :
514+ @./batcher/aligned/send_proof_with_random_address.sh
513515
514516__TASK_SENDER__ :
515517BURST_TIME_SECS ?= 3
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ PROOF_TYPE=" sp1" # sp1|groth16|plonk|risc0
4+
5+ RPC_URL=${RPC_URL:- http:// localhost: 8545}
6+ if [ -z " $NETWORK " ]; then
7+ echo " NETWORK is not set. Setting it to devnet"
8+ NETWORK=" devnet"
9+ fi
10+
11+ if [ -z $1 ]; then
12+ echo " Proof type not provided, using SP1 default"
13+ else
14+ PROOF_TYPE=$1
15+ fi
16+
17+ echo " Sending $PROOF_TYPE proof to the batcher"
18+
19+
20+ if [ $PROOF_TYPE == " sp1" ]; then
21+ echo " TOD SP1"
22+
23+ elif [ $PROOF_TYPE == " groth16" ]; then
24+ cd batcher/aligned/
25+ cargo run --release -- submit \
26+ --proving_system Groth16Bn254 \
27+ --proof ../../scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/ineq_1_groth16.proof \
28+ --public_input ../../scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/ineq_1_groth16.pub \
29+ --vk ../../scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/ineq_1_groth16.vk \
30+ --proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
31+ --random_address \
32+ --rpc_url $RPC_URL \
33+ --network $NETWORK
34+
35+ elif [ $PROOF_TYPE == " plonk" ]; then
36+ echo " TOD plonk"
37+
38+ elif [ $PROOF_TYPE == " risc0" ]; then
39+ echo " TODO risc0 "
40+
41+ fi
Original file line number Diff line number Diff line change 1+ Subproject commit 26651fdb1c1d6513443560d42888dedc3f68bde6
You can’t perform that action at this time.
0 commit comments