Skip to content
Merged

v0.17.0 #1996

Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Please delete options that are not relevant.
- [ ] Has a known issue
- [Link to the open issue addressing it]()
- [ ] If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
- [ ] This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
- [ ] This PR adds compatibility for operator for both versions and do not change crates/docs/examples
- [ ] This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: build-go-projects

on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/build-and-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: build-and-test-rust-projects

on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
- "batcher/**"
- "crates/**"
- "aggregation_mode/**"
- ".github/workflows/build-and-test-rust.yml"

Expand Down Expand Up @@ -43,24 +45,24 @@ jobs:
path: |
~/.cargo/registry
~/.cargo/git
batcher/target
crates/target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-

- name: Check formatting of Batcher
- name: Check formatting
run: |
cd batcher
cd crates
cargo fmt --all -- --check

- name: Run Clippy on Batcher
- name: Run Clippy
run: |
cd batcher
cd crates
cargo clippy --all -- -D warnings

- name: Build Batcher
run: |
cd batcher
cd crates
cargo build --all

- name: Check formatting of AggregationMode
Expand Down Expand Up @@ -108,14 +110,14 @@ jobs:
path: |
~/.cargo/registry
~/.cargo/git
batcher/target
crates/target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-

- name: Run Batcher tests
run: |
cd batcher
cd crates
cargo test --all

- name: Run AggregationMode tests
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-contracts.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Build contracts
on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/foundry-gas-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Report gas diff
on:
push:
branches:
- main
- testnet
- staging
pull_request:
# Run only for changes in specific files.
paths:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint-contracts.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Lint contracts
on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: make build_batcher_client

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

- name: Release
uses: softprops/action-gh-release@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-merkle-tree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: test-merkle-tree

on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-risc-zero.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: test-risc-zero

on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-sp1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: test-sp1

on:
push:
branches: [main]
branches:
- testnet
- staging
pull_request:
branches: ["*"]
paths:
Expand Down
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cache
**/build
**/target
scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/**
batcher/aligned/batch_inclusion_responses/*
crates/cli/batch_inclusion_responses/*
**/aligned_verification_data
**/broadcast
volume
Expand All @@ -21,3 +21,17 @@ infra/ansible/playbooks/files/**.pem

examples/l2/crates/l2/db
examples/l2/crates/l2/zkvm_programs/sp1/elf/sp1_state_transition_program

# Circom
*.ptau
challenge_0003
response_0003
challenge_phase2_0003
circuit.r1cs
circuit.r1cs.json
circuit.sym
response_phase2_0003
witness.wtns
*.zkey
circuit_cpp/
circuit_js
Loading
Loading