Skip to content

Commit 9392503

Browse files
feat(aggregation-mode): batcher component skeleton (#2178)
1 parent 492ed20 commit 9392503

File tree

68 files changed

+16813
-4017
lines changed

Some content is hidden

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

68 files changed

+16813
-4017
lines changed

.github/workflows/build-and-test-rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,5 @@ jobs:
123123
124124
- name: Run AggregationMode tests
125125
run: |
126-
cd aggregation_mode
127-
cargo test --all
126+
cd aggregation_mode/proof_aggregator && cargo test
127+
cd ../batcher && cargo test

Makefile

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,25 @@ proof_aggregator_install: ## Install the aggregation mode with proving enabled
300300
cargo install --path aggregation_mode --features prove,gpu --bin proof_aggregator_gpu --locked
301301

302302
proof_aggregator_write_program_ids: ## Write proof aggregator zkvm programs ids
303-
@cd aggregation_mode && ./scripts/build_programs.sh
303+
@cd aggregation_mode/proof_aggregator && ./scripts/build_programs.sh
304+
305+
agg_mode_docker_up:
306+
@cd aggregation_mode && docker-compose up -d
307+
308+
agg_mode_docker_down:
309+
@cd aggregation_mode && docker-compose down
310+
311+
agg_mode_docker_clean: agg_mode_docker_down
312+
docker volume rm aggregation-mode_postgres_data
313+
314+
agg_mode_run_migrations: agg_mode_docker_up
315+
cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --bin migrate -- postgres://postgres:postgres@localhost:5435/
316+
317+
agg_mode_batcher_start_local: agg_mode_run_migrations
318+
cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --bin agg_mode_batcher -- config-files/config-agg-mode-batcher.yaml
319+
320+
agg_mode_batcher_start_ethereum_package: agg_mode_run_migrations
321+
cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --bin agg_mode_batcher -- config-files/config-agg-mode-batcher-ethereum-package.yaml
304322

305323
__AGGREGATOR__: ## ____
306324

0 commit comments

Comments
 (0)