Skip to content

Commit 2fee7f6

Browse files
committed
refactor: update missing paths
1 parent 99441c0 commit 2fee7f6

20 files changed

Lines changed: 55 additions & 54 deletions

File tree

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ Please delete options that are not relevant.
2727
- [ ] Has a known issue
2828
- [Link to the open issue addressing it]()
2929
- [ ] If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
30-
- [ ] This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
30+
- [ ] This PR adds compatibility for operator for both versions and do not change crates/docs/examples
3131
- [ ] This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

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

Lines changed: 3 additions & 3 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,7 +43,7 @@ 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-
@@ -108,7 +108,7 @@ 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-

.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

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
@@ -139,7 +139,7 @@ impl AlignedProof {
139139
// All 3 implementations should match
140140
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
141141
// Additionally, a version that takes the leaves as already hashed data is defined on:
142-
// - batcher/aligned-sdk/src/sdk/aggregation.rs
142+
// - crates/sdk/src/aggregation_layer/types.rs
143143
// This one is used in the SDK since,
144144
// the user may not have access to the proofs that he didn't submit
145145
impl IsMerkleTreeBackend for AlignedProof {

crates/cli/generate_proof_and_send.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if [ -z "$NETWORK" ]; then
3232
fi
3333

3434
cmd=(
35-
./batcher/target/release/aligned
35+
./crates/target/release/aligned
3636
submit
3737
--proving_system Groth16Bn254
3838
--repetitions "$repetitions"

crates/cli/send_burst_tasks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727
while true
2828
do
2929
# Run in backaground to be able to run onece per second, and not wait for the previous one to finish
30-
. ./batcher/aligned/generate_proof_and_send.sh $counter $burst &
30+
. ./crates/cli/generate_proof_and_send.sh $counter $burst &
3131
sleep 3
3232
counter=$((counter + 1))
3333
done

crates/cli/send_infinite_sp1_tasks/send_infinite_sp1_tasks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ -z "$NETWORK" ]; then
1818
NETWORK="devnet"
1919
fi
2020

21-
cd ./batcher/aligned
21+
cd ./crates/cli
2222

2323
while true
2424
do

0 commit comments

Comments
 (0)