@@ -241,23 +241,37 @@ reset_last_aggregated_block:
241241 @echo " Resetting last aggregated block..."
242242 @echo ' {"last_aggregated_block":0}' > config-files/proof-aggregator.last_aggregated_block.json
243243
244- proof_aggregator_start_dev : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with mock proofs (DEV mode). Parameters: AGGREGATOR=<sp1|risc0>
245- AGGREGATOR=$(AGGREGATOR ) RISC0_DEV_MODE=1 cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --bin proof_aggregator -- config-files/config-proof-aggregator-mock.yaml
244+ AGGREGATION_MODE_SOURCES = $(wildcard ./aggregation_mode/Cargo.toml) $(wildcard ./aggregation_mode/src/** ) $(wildcard ./aggregation_mode/aggregation_programs/risc0/Cargo.toml) $(wildcard ./aggregation_mode/aggregation_programs/risc0/src/** ) $(wildcard ./aggregation_mode/aggregation_programs/sp1/Cargo.toml) $(wildcard ./aggregation_mode/aggregation_programs/sp1/src/** )
246245
247- proof_aggregator_start : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with proving activated. Parameters: AGGREGATOR=<sp1|risc0>
248- AGGREGATOR=$(AGGREGATOR ) cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove --bin proof_aggregator -- config-files/config-proof-aggregator.yaml
246+ # ## All Dev proof aggregator receipts with no real proving
247+ ./aggregation_mode/target/release/proof_aggregator_dev : $(AGGREGATION_MODE_SOURCES )
248+ AGGREGATOR=$(AGGREGATOR ) cargo build --manifest-path ./aggregation_mode/Cargo.toml --release --bin proof_aggregator_dev
249249
250- proof_aggregator_start_dev_ethereum_package : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with mock proofs (DEV mode) in ethereum package . Parameters: AGGREGATOR=<sp1|risc0>
251- AGGREGATOR=$(AGGREGATOR ) RISC0_DEV_MODE=1 cargo run --manifest-path ./aggregation_mode/Cargo.toml -- release --bin proof_aggregator -- config-files/config-proof-aggregator-mock-ethereum-package .yaml
250+ proof_aggregator_start_dev : is_aggregator_set reset_last_aggregated_block ./aggregation_mode/target/release/proof_aggregator_dev # # Starts proof aggregator with mock proofs (DEV mode). Parameters: AGGREGATOR=<sp1|risc0>
251+ AGGREGATOR=$(AGGREGATOR ) RISC0_DEV_MODE=1 ./aggregation_mode/target/ release/proof_aggregator_dev config-files/config-proof-aggregator-mock.yaml
252252
253- proof_aggregator_start_ethereum_package : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with proving activated in ethereum package. Parameters: AGGREGATOR=<sp1|risc0>
254- AGGREGATOR=$(AGGREGATOR ) cargo run --manifest-path ./aggregation_mode/Cargo.toml -- release --features prove --bin proof_aggregator -- config-files/config-proof-aggregator-ethereum-package.yaml
253+ proof_aggregator_start_dev_ethereum_package : is_aggregator_set reset_last_aggregated_block ./aggregation_mode/target/release/proof_aggregator_dev # # Starts proof aggregator with mock proofs (DEV mode) in ethereum package. Parameters: AGGREGATOR=<sp1|risc0>
254+ AGGREGATOR=$(AGGREGATOR ) RISC0_DEV_MODE=1 ./aggregation_mode/target/ release/proof_aggregator_dev config-files/config-proof-aggregator-mock -ethereum-package.yaml
255255
256- proof_aggregator_start_gpu : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with proving + GPU acceleration (CUDA). Parameters: AGGREGATOR=<sp1|risc0>
257- AGGREGATOR=$(AGGREGATOR ) SP1_PROVER=cuda cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove,gpu --bin proof_aggregator -- config-files/config-proof-aggregator.yaml
256+ # ## All CPU proof aggregator receipts
257+ ./aggregation_mode/target/release/proof_aggregator_cpu : $(AGGREGATION_MODE_SOURCES )
258+ AGGREGATOR=$(AGGREGATOR ) cargo build --features prove --manifest-path ./aggregation_mode/Cargo.toml --release --bin proof_aggregator_cpu
258259
259- proof_aggregator_start_gpu_ethereum_package : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with proving activated in ethereum package. Parameters: AGGREGATOR=<sp1|risc0>
260- AGGREGATOR=$(AGGREGATOR ) SP1_PROVER=cuda cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove,gpu --bin proof_aggregator -- config-files/config-proof-aggregator-ethereum-package.yaml
260+ proof_aggregator_start : is_aggregator_set reset_last_aggregated_block ./aggregation_mode/target/release/proof_aggregator_cpu # # Starts proof aggregator with proving activated. Parameters: AGGREGATOR=<sp1|risc0>
261+ AGGREGATOR=$(AGGREGATOR ) ./aggregation_mode/target/release/proof_aggregator_cpu config-files/config-proof-aggregator.yaml
262+
263+ proof_aggregator_start_ethereum_package : is_aggregator_set reset_last_aggregated_block ./aggregation_mode/target/release/proof_aggregator_cpu # # Starts proof aggregator with proving activated in ethereum package. Parameters: AGGREGATOR=<sp1|risc0>
264+ AGGREGATOR=$(AGGREGATOR ) ./aggregation_mode/target/release/proof_aggregator_cpu config-files/config-proof-aggregator-ethereum-package.yaml
265+
266+ # ## All GPU proof aggregator receipts
267+ ./aggregation_mode/target/release/proof_aggregator_gpu : $(AGGREGATION_MODE_SOURCES )
268+ AGGREGATOR=$(AGGREGATOR ) cargo build --features " prove,gpu" --manifest-path ./aggregation_mode/Cargo.toml --release --bin proof_aggregator_gpu
269+
270+ proof_aggregator_start_gpu : is_aggregator_set reset_last_aggregated_block ./aggregation_mode/target/release/proof_aggregator_gpu # # Starts proof aggregator with proving + GPU acceleration (CUDA). Parameters: AGGREGATOR=<sp1|risc0>
271+ AGGREGATOR=$(AGGREGATOR ) SP1_PROVER=cuda ./aggregation_mode/target/release/proof_aggregator_gpu config-files/config-proof-aggregator.yaml
272+
273+ proof_aggregator_start_gpu_ethereum_package : is_aggregator_set reset_last_aggregated_block ./aggregation_mode/target/release/proof_aggregator_gpu # # Starts proof aggregator with proving activated in ethereum package. Parameters: AGGREGATOR=<sp1|risc0>
274+ AGGREGATOR=$(AGGREGATOR ) SP1_PROVER=cuda ./aggregation_mode/target/release/proof_aggregator_gpu config-files/config-proof-aggregator-ethereum-package.yaml
261275
262276verify_aggregated_proof_sp1 :
263277 @echo " Verifying SP1 in aggregated proofs on $( NETWORK) ..."
@@ -1345,10 +1359,6 @@ ethereum_package_rm: ## Stops and removes the ethereum_package environment and u
13451359 kurtosis enclave rm aligned -f
13461360 kurtosis engine stop
13471361
1348-
1349-
1350-
1351-
13521362spamoor_install : # # Instal spamoor to spam transactions
13531363 @echo " Installing spamoor..."
13541364 @git clone https://github.com/ethpandaops/spamoor.git
0 commit comments