Skip to content

Commit 0726970

Browse files
committed
add sp1 script
1 parent 4fe2d64 commit 0726970

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

batcher/aligned/send_proof_with_random_address.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ echo "Sending $PROOF_TYPE proof to the batcher"
1818

1919

2020
if [ $PROOF_TYPE == "sp1" ]; then
21-
echo "TOD SP1"
21+
cd batcher/aligned/
22+
cargo run --release -- submit \
23+
--proving_system SP1 \
24+
--proof ../../scripts/test_files/sp1/sp1_fibonacci_4_1_3.proof \
25+
--vm_program ../../scripts/test_files/sp1/sp1_fibonacci_4_1_3.elf \
26+
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
27+
--random_address \
28+
--rpc_url $RPC_URL \
29+
--network $NETWORK
2230

2331
elif [ $PROOF_TYPE == "groth16" ]; then
2432
cd batcher/aligned/
@@ -38,4 +46,7 @@ elif [ $PROOF_TYPE == "plonk" ]; then
3846
elif [ $PROOF_TYPE == "risc0" ]; then
3947
echo "TODO risc0 "
4048

49+
else
50+
echo "Incorrect proof type provided"
51+
exit 1
4152
fi

0 commit comments

Comments
 (0)