Skip to content

Commit 5d651af

Browse files
committed
Merge branch 'refs/heads/staging' into 1978-choremakefile-unify-naming-conventions-in-targets
# Conflicts: # Makefile
2 parents b300b54 + 50c9c93 commit 5d651af

File tree

106 files changed

+119
-124
lines changed

Some content is hidden

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

106 files changed

+119
-124
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
branches: ["*"]
88
paths:
9-
- "batcher/**"
9+
- "crates/**"
1010
- "aggregation_mode/**"
1111
- ".github/workflows/build-and-test-rust.yml"
1212

@@ -43,24 +43,24 @@ jobs:
4343
path: |
4444
~/.cargo/registry
4545
~/.cargo/git
46-
batcher/target
46+
crates/target
4747
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
4848
restore-keys: |
4949
${{ runner.os }}-rust-
5050
51-
- name: Check formatting of Batcher
51+
- name: Check formatting
5252
run: |
53-
cd batcher
53+
cd crates
5454
cargo fmt --all -- --check
5555
56-
- name: Run Clippy on Batcher
56+
- name: Run Clippy
5757
run: |
58-
cd batcher
58+
cd crates
5959
cargo clippy --all -- -D warnings
6060
6161
- name: Build Batcher
6262
run: |
63-
cd batcher
63+
cd crates
6464
cargo build --all
6565
6666
- name: Check formatting of AggregationMode
@@ -108,14 +108,14 @@ jobs:
108108
path: |
109109
~/.cargo/registry
110110
~/.cargo/git
111-
batcher/target
111+
crates/target
112112
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
113113
restore-keys: |
114114
${{ runner.os }}-rust-
115115
116116
- name: Run Batcher tests
117117
run: |
118-
cd batcher
118+
cd crates
119119
cargo test --all
120120
121121
- name: Run AggregationMode tests

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: make build_batcher_client
2626

2727
- name: Rename binary
28-
run: mv batcher/target/release/aligned ${{ matrix.artifact_name }}
28+
run: mv crates/target/release/aligned ${{ matrix.artifact_name }}
2929

3030
- name: Release
3131
uses: softprops/action-gh-release@v2

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cache
77
**/build
88
**/target
99
scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/**
10-
batcher/aligned/batch_inclusion_responses/*
10+
crates/cli/batch_inclusion_responses/*
1111
**/aligned_verification_data
1212
**/broadcast
1313
volume

Makefile

Lines changed: 49 additions & 49 deletions
Large diffs are not rendered by default.

aggregation_mode/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ciborium = "=0.2.2"
1919
lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks.git", rev = "5f8f2cfcc8a1a22f77e8dff2d581f1166eefb80b", features = ["serde"]}
2020
rayon = "1.10.0"
2121
# Necessary for the VerificationData type
22-
aligned-sdk = { path = "../batcher/aligned-sdk" }
22+
aligned-sdk = { path = "../crates/sdk/" }
2323
# zkvms
2424
sp1-sdk = "5.0.0"
2525
sp1_aggregation_program = { path = "./aggregation_programs/sp1" }

aggregation_mode/aggregation_programs/risc0/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl Risc0ImageIdAndPubInputs {
2929
// All 3 implementations should match
3030
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
3131
// Additionally, a version that takes the leaves as already hashed data is defined on:
32-
// - batcher/aligned-sdk/src/sdk/aggregation.rs
32+
// - crates/sdk/src/aggregation_layer/types.rs
3333
// This one is used in the SDK since,
3434
// the user may not have access to the proofs that he didn't submit
3535
impl IsMerkleTreeBackend for Risc0ImageIdAndPubInputs {

aggregation_mode/aggregation_programs/sp1/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl SP1VkAndPubInputs {
2626
// All 3 implementations should match
2727
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
2828
// Additionally, a version that takes the leaves as already hashed data is defined on:
29-
// - batcher/aligned-sdk/src/sdk/aggregation.rs
29+
// - crates/sdk/src/aggregation_layer/types.rs
3030
// This one is used in the SDK since
3131
// the user may not have access to the proofs that they didn't submit
3232
impl IsMerkleTreeBackend for SP1VkAndPubInputs {

aggregation_mode/src/aggregators/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl AlignedProof {
181181
// All 3 implementations should match
182182
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
183183
// Additionally, a version that takes the leaves as already hashed data is defined on:
184-
// - batcher/aligned-sdk/src/sdk/aggregation.rs
184+
// - crates/sdk/src/aggregation_layer/types.rs
185185
// This one is used in the SDK since,
186186
// the user may not have access to the proofs that he didn't submit
187187
impl IsMerkleTreeBackend for AlignedProof {

batcher/Cargo.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)