Skip to content

Commit 35193c3

Browse files
feat(aggregation mode): bump SP1 to v6.9.0 (#2308)
Co-authored-by: Julian Arce <52429267+JuArce@users.noreply.github.com>
1 parent 4083e30 commit 35193c3

74 files changed

Lines changed: 8626 additions & 16117 deletions

File tree

Some content is hidden

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

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,20 @@ jobs:
3434
run: |
3535
curl -L https://sp1.succinct.xyz | bash
3636
source /home/runner/.bashrc
37-
~/.sp1/bin/sp1up
37+
~/.sp1/bin/sp1up -v 6.9.0
3838
3939
- name: Install risc0 toolchain
4040
run: |
4141
curl -L https://risczero.com/install | bash
4242
source ~/.bashrc
4343
~/.risc0/bin/rzup install
4444
45+
# Required to build sp1-sdk (sp1-prover-types compiles protobuf definitions)
46+
- name: Install protoc
47+
run: |
48+
sudo apt-get update
49+
sudo apt-get install -y protobuf-compiler
50+
4551
- name: Cache Rust dependencies
4652
uses: actions/cache@v3
4753
with:

‎Makefile‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ anvil_upgrade_aligned_contracts: ## Upgrade Aligned Contracts (Verification Laye
129129
@echo "Upgrading Aligned Contracts..."
130130
. contracts/scripts/anvil/upgrade_aligned_contracts.sh
131131

132+
anvil_upgrade_proof_aggregator_sp1: ## Add the current SP1 verifier route and allow the SP1 aggregation program on ANVIL
133+
@echo "Upgrading Proof Aggregator SP1 setup..."
134+
. contracts/scripts/anvil/upgrade_proof_aggregator_sp1.sh
135+
132136
anvil_upgrade_batcher_payment_service: ## Upgrade BatcherPaymentService contract on ANVIL
133137
@echo "Upgrading BatcherPayments contract..."
134138
. contracts/scripts/anvil/upgrade_batcher_payment_service.sh
@@ -288,8 +292,8 @@ verify_aggregated_proof_sp1:
288292
--rpc-url $(RPC_URL) \
289293
--from-block $(FROM_BLOCK) \
290294
--proving-system SP1 \
291-
--vk-hash ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.vk \
292-
--public-inputs ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub
295+
--vk-hash ../../scripts/test_files/sp1/sp1_fibonacci_6_1_0.vk \
296+
--public-inputs ../../scripts/test_files/sp1/sp1_fibonacci_6_1_0.pub
293297

294298
proof_aggregator_install: ## Install the aggregation mode with proving enabled
295299
cargo install --path aggregation_mode/proof_aggregator --features prove,gpu --bin proof_aggregator_gpu --locked
@@ -331,8 +335,8 @@ agg_mode_gateway_send_payment:
331335

332336
agg_mode_gateway_send_sp1_proof:
333337
@cargo run --manifest-path aggregation_mode/cli/Cargo.toml -- submit sp1 \
334-
--proof scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
335-
--vk scripts/test_files/sp1/sp1_fibonacci_5_0_0_vk.bin \
338+
--proof scripts/test_files/sp1/sp1_fibonacci_6_1_0.proof \
339+
--vk scripts/test_files/sp1/sp1_fibonacci_6_1_0_vk.bin \
336340
--private-key "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
337341

338342
agg_mode_install_cli: ## Install the aggregation mode CLI

0 commit comments

Comments
 (0)