Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b7c5b6d
feat: move sdk from crates dir to aggregation mode dir
MarcosNicolau Dec 22, 2025
b59f572
wip partial move of verify on chain to agg mode cli
MarcosNicolau Dec 22, 2025
d11b0a7
feat: verify agg proof command in cli
MarcosNicolau Jan 5, 2026
a67b118
fix: remove unused verifiers in agg mode
MarcosNicolau Jan 5, 2026
ba219fb
chore: use new cli to run proof verification
MarcosNicolau Jan 5, 2026
73021cd
refactor: remove agg mode function from fast mode
MarcosNicolau Jan 5, 2026
db7a40f
Merge remote-tracking branch 'origin/staging' into refactor/move-agg-…
MarcosNicolau Jan 5, 2026
747a730
feat: deposit into agg mode payment service command in cli
MarcosNicolau Jan 5, 2026
e9752c5
refactor: rename payment filename for deposit in agg mode cli commands
MarcosNicolau Jan 5, 2026
6ae59e0
chore: run cargo fmt
MarcosNicolau Jan 5, 2026
bfc489e
chore: address clippy warnings
MarcosNicolau Jan 6, 2026
787d516
ci: set specific rust version in test runner of rust
MarcosNicolau Jan 6, 2026
0200611
chore: fix tokio features deps
MarcosNicolau Jan 6, 2026
4fff098
Merge branch 'refs/heads/staging' into refactor/move-agg-mode-sdk-to-…
JuArce Jan 6, 2026
17e2a6b
fix cargo lock
JuArce Jan 6, 2026
120ae00
refactor: verify command rename vk for vk-hash
MarcosNicolau Jan 7, 2026
d1c40b0
chore: cargo fmt
MarcosNicolau Jan 7, 2026
a97690c
chore: remove old comment
MarcosNicolau Jan 7, 2026
9a0857c
Merge remote-tracking branch 'origin/staging' into refactor/move-agg-…
MarcosNicolau Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/build-and-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.88.0
components: rustfmt, clippy
override: true

- name: foundry-toolchain
uses: foundry-rs/foundry-toolchain@v1.2.0

# Reference: https://github.com/succinctlabs/sp1/actions/runs/8886659400/workflow#L61-L65
- name: Install sp1 toolchain
run: |
Expand Down
34 changes: 12 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -277,27 +277,15 @@ proof_aggregator_start_gpu_ethereum_package: is_aggregator_set reset_last_aggreg

verify_aggregated_proof_sp1:
@echo "Verifying SP1 in aggregated proofs on $(NETWORK)..."
@cd crates/cli/ && \
cargo run verify-agg-proof \
@cd aggregation_mode/cli/ && \
cargo run verify-on-chain \
--network $(NETWORK) \
--beacon-url $(BEACON_URL) \
--rpc-url $(RPC_URL) \
--from-block $(FROM_BLOCK) \
--proving_system SP1 \
--public_input ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub \
--program-id-file ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.vk \
--beacon_url $(BEACON_URL) \
--rpc_url $(RPC_URL)

verify_aggregated_proof_risc0:
@echo "Verifying RISC0 in aggregated proofs on $(NETWORK)..."
@cd crates/cli/ && \
cargo run verify-agg-proof \
--network $(NETWORK) \
--from-block $(FROM_BLOCK) \
--proving_system Risc0 \
--program-id-file ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_3_0_3.bin \
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_3_0_3.pub \
--beacon_url $(BEACON_URL) \
--rpc_url $(RPC_URL)
--proving-system SP1 \
--vk-hash ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.vk \
--public-inputs ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub

proof_aggregator_install: ## Install the aggregation mode with proving enabled
cargo install --path aggregation_mode --features prove,gpu --bin proof_aggregator_gpu --locked
Expand Down Expand Up @@ -331,9 +319,11 @@ agg_mode_payments_poller_start_ethereum_package: agg_mode_run_migrations

AGG_MODE_SENDER ?= 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
agg_mode_gateway_send_payment:
@cast send --value 1ether \
0x922D6956C99E12DFeB3224DEA977D0939758A1Fe \
--private-key 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
@cd aggregation_mode/cli && \
cargo run --release -- deposit \
--private-key 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d \
--network devnet \
--rpc-url http://localhost:8545

agg_mode_gateway_send_sp1_proof:
@cargo run --manifest-path aggregation_mode/cli/Cargo.toml -- submit sp1 \
Expand Down
Loading
Loading