Skip to content

Commit

Permalink
remove old proof generators
Browse files Browse the repository at this point in the history
  • Loading branch information
PatStiles committed Oct 17, 2024
1 parent 89f5c3a commit 912efa1
Show file tree
Hide file tree
Showing 28 changed files with 157 additions and 10,925 deletions.
57 changes: 0 additions & 57 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -292,28 +292,6 @@ batcher_send_sp1_burst:
--rpc_url $(RPC_URL) \
--network $(NETWORK)

batcher_send_sp1_old_task:
@echo "Sending SP1 fibonacci task to Batcher..."
@cd batcher/aligned/ && cargo run --release -- submit \
--proving_system SP1 \
--proof ../../scripts/test_files/sp1/sp1_fibonacci_old.proof \
--vm_program ../../scripts/test_files/sp1/sp1_fibonacci_old.elf \
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
--rpc_url $(RPC_URL) \
--network $(NETWORK)

batcher_send_sp1_old_burst:
@echo "Sending SP1 fibonacci task to Batcher..."
@cd batcher/aligned/ && cargo run --release -- submit \
--proving_system SP1 \
--proof ../../scripts/test_files/sp1/sp1_fibonacci_old.proof \
--vm_program ../../scripts/test_files/sp1/sp1_fibonacci_old.elf \
--repetitions $(BURST_SIZE) \
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
--rpc_url $(RPC_URL) \
--network $(NETWORK)


batcher_send_infinite_sp1:
@echo "Sending infinite SP1 fibonacci task to Batcher..."
@./batcher/aligned/send_infinite_sp1_tasks/send_infinite_sp1_tasks.sh
Expand All @@ -329,17 +307,6 @@ batcher_send_risc0_task:
--rpc_url $(RPC_URL) \
--network $(NETWORK)

batcher_send_risc0_old_task:
@echo "Sending Risc0 fibonacci task to Batcher..."
@cd batcher/aligned/ && cargo run --release -- submit \
--proving_system Risc0 \
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator_old/risc_zero_fibonacci_old.proof \
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator_old/fibonacci_id_old.bin \
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator_old/risc_zero_fibonacci_old.pub \
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
--rpc_url $(RPC_URL) \
--network $(NETWORK)

batcher_send_risc0_task_no_pub_input:
@echo "Sending Risc0 fibonacci task to Batcher..."
@cd batcher/aligned/ && cargo run --release -- submit \
Expand All @@ -362,18 +329,6 @@ batcher_send_risc0_burst:
--rpc_url $(RPC_URL) \
--network $(NETWORK)

batcher_send_risc0_old_burst:
@echo "Sending Risc0 fibonacci task to Batcher..."
@cd batcher/aligned/ && cargo run --release -- submit \
--proving_system Risc0 \
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator_old/risc_zero_fibonacci_old.proof \
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator_old/fibonacci_id_old.bin \
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator_old/risc_zero_fibonacci_old.pub \
--repetitions $(BURST_SIZE) \
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
--rpc_url $(RPC_URL) \
--network $(NETWORK)

batcher_send_plonk_bn254_task: batcher/target/release/aligned
@echo "Sending Groth16Bn254 1!=0 task to Batcher..."
@cd batcher/aligned/ && cargo run --release -- submit \
Expand Down Expand Up @@ -579,13 +534,6 @@ test_sp1_go_bindings_linux_old: build_sp1_linux_old
@echo "Testing SP1 Go bindings..."
go test ./operator/sp1_old/... -v

# @cp -r scripts/test_files/sp1/fibonacci_proof_generator/script/sp1_fibonacci.elf scripts/test_files/sp1/
generate_sp1_fibonacci_proof_old:
@cd scripts/test_files/sp1/fibonacci_proof_generator_old/script && RUST_LOG=info cargo run --release
@mv scripts/test_files/sp1/fibonacci_proof_generator_old/program/elf/riscv32im-succinct-zkvm-elf scripts/test_files/sp1/sp1_fibonacci_old.elf
@mv scripts/test_files/sp1/fibonacci_proof_generator_old/script/sp1_fibonacci_old.proof scripts/test_files/sp1/
@echo "Fibonacci proof and ELF generated in scripts/test_files/sp1 folder"

__RISC_ZERO_FFI__: ##
build_risc_zero_macos:
@cd operator/risc_zero/lib && cargo build $(RELEASE_FLAG)
Expand Down Expand Up @@ -632,11 +580,6 @@ test_risc_zero_go_bindings_linux_old: build_risc_zero_linux_old
@echo "Testing RISC Zero Go bindings..."
go test ./operator/risc_zero_old/... -v

generate_risc_zero_fibonacci_proof_old:
@cd scripts/test_files/risc_zero/fibonacci_proof_generator_old && \
RUST_LOG=info cargo run --release && \
echo "Fibonacci proof, pub input and image ID generated in scripts/test_files/risc_zero_old folder"

__MERKLE_TREE_FFI__: ##
build_merkle_tree_macos:
@cd operator/merkle_tree/lib && cargo build $(RELEASE_FLAG)
Expand Down
Loading

0 comments on commit 912efa1

Please sign in to comment.