Skip to content

Commit 36919a2

Browse files
committed
Update makefile and anvil state
2 parents ba9d91b + 477de1d commit 36919a2

File tree

193 files changed

+6518
-9084
lines changed

Some content is hidden

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

193 files changed

+6518
-9084
lines changed
Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build-rust-projects
1+
name: build-and-test-rust-projects
22

33
on:
44
merge_group:
@@ -7,13 +7,13 @@ on:
77
pull_request:
88
branches: ["*"]
99
paths:
10-
- 'batcher/**'
11-
- '.github/workflows/build-rust.yml'
10+
- "batcher/**"
11+
- ".github/workflows/build-rust.yml"
1212

1313
jobs:
1414
build:
1515
runs-on: aligned-runner
16-
16+
1717
steps:
1818
- uses: actions/checkout@v4
1919

@@ -45,3 +45,24 @@ jobs:
4545
run: |
4646
cd batcher
4747
cargo build --all
48+
49+
test:
50+
runs-on: ubuntu-latest
51+
needs: build
52+
steps:
53+
- name: Checkout code
54+
uses: actions/checkout@v4
55+
- name: Cache Rust dependencies
56+
uses: actions/cache@v3
57+
with:
58+
path: |
59+
~/.cargo/registry
60+
~/.cargo/git
61+
batcher/target
62+
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
63+
restore-keys: |
64+
${{ runner.os }}-rust-
65+
- name: Run tests
66+
run: |
67+
cd batcher
68+
cargo test --all

.github/workflows/build-go.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,28 @@ on:
77
pull_request:
88
branches: ["*"]
99
paths:
10-
- 'operator/**'
11-
- 'aggregator/**'
12-
- 'common/**'
13-
- 'core/**'
14-
- 'metrics/**'
15-
- '.github/workflows/build-go.yml'
10+
- "operator/**"
11+
- "aggregator/**"
12+
- "common/**"
13+
- "core/**"
14+
- "metrics/**"
15+
- ".github/workflows/build-go.yml"
1616
env:
1717
FFI_FOR_RELEASE: false
1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
21-
21+
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-go@v5
2525
with:
26-
go-version: '1.22'
26+
go-version: "1.22"
2727
cache: false
2828
- name: Build SP1 bindings
2929
run: make build_sp1_linux
3030
- name: Build Risc Zero go bindings
3131
run: make build_risc_zero_linux
32-
- name: Build Halo2-KZG bindings
33-
run: make build_halo2_kzg_linux
34-
- name: Build Halo2-IPA bindings
35-
run: make build_halo2_ipa_linux
3632
- name: Build Merkle Tree bindings
3733
run: make build_merkle_tree_linux
3834
- name: Build Old Merkle Tree bindings

.github/workflows/test-halo2-ipa.yml

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

.github/workflows/test-halo2-kzg.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ batcher/aligned/batch_inclusion_responses/*
1111
**/aligned_verification_data
1212
**/broadcast
1313
volume
14+
config-files/*.last_processed_batch.json
1415

1516
nonce_*.bin

0 commit comments

Comments
 (0)