Skip to content

Commit 999d9b0

Browse files
committed
Merge branch 'staging' into feat/min-max-fee-min-bump
2 parents f3cb180 + 0cf435a commit 999d9b0

File tree

124 files changed

+10163
-1733
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+10163
-1733
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ out
66
cache
77
**/build
88
**/target
9+
**/CLAUDE.md
910
scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/**
1011
crates/cli/batch_inclusion_responses/*
1112
**/aligned_verification_data
1213
**/broadcast
1314
volume
15+
volume2
1416
config-files/*.last_processed_batch.json
1517
config-files/*.last_aggregated_block.json
1618

Makefile

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ CONFIG_FILE?=config-files/config.yaml
1919
export OPERATOR_ADDRESS ?= $(shell yq -r '.operator.address' $(CONFIG_FILE))
2020
AGG_CONFIG_FILE?=config-files/config-aggregator.yaml
2121

22-
OPERATOR_VERSION=v0.17.0
22+
OPERATOR_VERSION=v0.18.0
2323
EIGEN_SDK_GO_VERSION_DEVNET=v0.2.0-beta.1
2424
EIGEN_SDK_GO_VERSION_TESTNET=v0.2.0-beta.1
2525
EIGEN_SDK_GO_VERSION_MAINNET=v0.2.0-beta.1
@@ -292,13 +292,13 @@ verify_aggregated_proof_risc0:
292292
--network $(NETWORK) \
293293
--from-block $(FROM_BLOCK) \
294294
--proving_system Risc0 \
295-
--program-id-file ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_1_0.bin \
296-
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.pub \
295+
--program-id-file ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_2_0.bin \
296+
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.pub \
297297
--beacon_url $(BEACON_URL) \
298298
--rpc_url $(RPC_URL)
299299

300300
proof_aggregator_install: ## Install the aggregation mode with proving enabled
301-
cargo install --path aggregation_mode --features prove,gpu --bin proof_aggregator --locked
301+
cargo install --path aggregation_mode --features prove,gpu --bin proof_aggregator_gpu --locked
302302

303303
proof_aggregator_write_program_ids: ## Write proof aggregator zkvm programs ids
304304
@cd aggregation_mode && ./scripts/build_programs.sh
@@ -381,7 +381,7 @@ operator_update: ## Update the Operator to the latest version and build it. Para
381381
$(GET_SDK_VERSION)
382382
@echo "Updating Operator..."
383383
@./scripts/fetch_latest_release.sh
384-
@make build_operator
384+
@make operator_build
385385
@./operator/build/aligned-operator --version
386386

387387
operator_valid_marshall_fuzz_macos:
@@ -515,6 +515,9 @@ aligned_uninstall: ## Uninstall Aligned CLI
515515
aligned_install_compiling: ## Install Aligned CLI by compiling from source
516516
@cargo install --path crates/cli
517517

518+
build_batcher_client:
519+
@cd crates/cli && cargo build --release
520+
518521
__SEND_PROOFS__: ## ____
519522

520523
crates/target/release/aligned:
@@ -526,6 +529,7 @@ batcher_send_sp1_task: ## Send a SP1 fibonacci proof to Batcher. Parameters: RPC
526529
--proving_system SP1 \
527530
--proof ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
528531
--vm_program ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.elf \
532+
--public_input ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub \
529533
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
530534
--rpc_url $(RPC_URL) \
531535
--network $(NETWORK)
@@ -536,6 +540,7 @@ batcher_send_sp1_burst: ## Send a burst of SP1 fibonacci proofs to Batcher. Para
536540
--proving_system SP1 \
537541
--proof ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
538542
--vm_program ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.elf \
543+
--public_input ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub \
539544
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
540545
--repetitions $(BURST_SIZE) \
541546
--rpc_url $(RPC_URL) \
@@ -549,9 +554,9 @@ batcher_send_risc0_task: ## Send a Risc0 fibonacci proof to Batcher. Parameters:
549554
@echo "Sending Risc0 fibonacci proof to Batcher..."
550555
@cd crates/cli/ && cargo run --release -- submit \
551556
--proving_system Risc0 \
552-
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.proof \
553-
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_1_0.bin \
554-
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.pub \
557+
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.proof \
558+
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_2_0.bin \
559+
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.pub \
555560
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
556561
--rpc_url $(RPC_URL) \
557562
--network $(NETWORK)
@@ -560,8 +565,8 @@ batcher_send_risc0_task_no_pub_input: ## Send a Risc0 proof without public input
560565
@echo "Sending Risc0 no pub input proof to Batcher..."
561566
@cd crates/cli/ && cargo run --release -- submit \
562567
--proving_system Risc0 \
563-
--proof ../../scripts/test_files/risc_zero/no_public_inputs/risc_zero_no_pub_input_2_1_0.proof \
564-
--vm_program ../../scripts/test_files/risc_zero/no_public_inputs/risc_zero_no_pub_input_id_2_1_0.bin \
568+
--proof ../../scripts/test_files/risc_zero/no_public_inputs/risc_zero_no_pub_input_2_2_0.proof \
569+
--vm_program ../../scripts/test_files/risc_zero/no_public_inputs/risc_zero_no_pub_input_id_2_2_0.bin \
565570
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
566571
--rpc_url $(RPC_URL) \
567572
--network $(NETWORK)
@@ -570,9 +575,9 @@ batcher_send_risc0_burst: ## Send a burst of Risc0 fibonacci proofs to Batcher.
570575
@echo "Sending Risc0 fibonacci proof to Batcher..."
571576
@cd crates/cli/ && cargo run --release -- submit \
572577
--proving_system Risc0 \
573-
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.proof \
574-
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_1_0.bin \
575-
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.pub \
578+
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.proof \
579+
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_2_0.bin \
580+
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.pub \
576581
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
577582
--repetitions $(BURST_SIZE) \
578583
--rpc_url $(RPC_URL) \
@@ -760,6 +765,10 @@ generate_sp1_fibonacci_proof: ## Run the SP1 Fibonacci proof generator script
760765
@cd scripts/test_files/sp1/fibonacci_proof_generator/script && RUST_LOG=info cargo run --release
761766
@echo "Fibonacci proof and ELF generated in scripts/test_files/sp1 folder"
762767

768+
generate_sp1_fibonacci_proof_no_pub_input: ## Run the SP1 Fibonacci proof generator script with empty journal
769+
@cd scripts/test_files/sp1/no_public_inputs/script && RUST_LOG=info cargo run --release
770+
@echo "Fibonacci proof and ELF with no public inputs generated in scripts/test_files/sp1 folder"
771+
763772
generate_risc_zero_fibonacci_proof: ## Run the Risc0 Fibonacci proof generator script
764773
@cd scripts/test_files/risc_zero/fibonacci_proof_generator && \
765774
RUST_LOG=info cargo run --release && \
@@ -1070,6 +1079,7 @@ docker_batcher_send_sp1_burst:
10701079
--proving_system SP1 \
10711080
--proof ./scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
10721081
--vm_program ./scripts/test_files/sp1/sp1_fibonacci_5_0_0.elf \
1082+
--public_input ./scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub \
10731083
--repetitions $(DOCKER_BURST_SIZE) \
10741084
--proof_generator_addr $(PROOF_GENERATOR_ADDRESS) \
10751085
--rpc_url $(DOCKER_RPC_URL) \
@@ -1080,9 +1090,9 @@ docker_batcher_send_risc0_burst:
10801090
docker exec $(shell docker ps | grep batcher | awk '{print $$1}') aligned submit \
10811091
--private_key $(DOCKER_PROOFS_PRIVATE_KEY) \
10821092
--proving_system Risc0 \
1083-
--proof ./scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.proof \
1084-
--vm_program ./scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_1_0.bin \
1085-
--public_input ./scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_1_0.pub \
1093+
--proof ./scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.proof \
1094+
--vm_program ./scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_2_0.bin \
1095+
--public_input ./scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_2_0.pub \
10861096
--repetitions $(DOCKER_BURST_SIZE) \
10871097
--proof_generator_addr $(PROOF_GENERATOR_ADDRESS) \
10881098
--rpc_url $(DOCKER_RPC_URL) \

0 commit comments

Comments
 (0)