Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
ceb0517
fix(examples): use correct `verifyBatchInclusion` function and update…
JuArce Mar 18, 2025
d1770fb
Update sp1 (#1816)
MauroToscano Mar 21, 2025
c237af4
docs: update to v0.15.0 (#1820)
JuArce Mar 21, 2025
22ee224
docs: fix examples and sdk spec (#1819)
JuArce Mar 21, 2025
824201c
Mainnet staging deployment (#1822)
JuArce Mar 25, 2025
d9fd29d
Delete contracts/script/output/mainnet_staging/.gitkeep
MauroToscano Mar 26, 2025
42bcd72
Pull changes from tesnet (#1825)
MauroToscano Mar 26, 2025
67eb85e
chore: update contract address of mainnet stage implementations (#1827)
JuArce Mar 26, 2025
539756c
chore: add mainnet-stage to SDK (#1824)
JuArce Mar 27, 2025
469119b
Merge branch 'refs/heads/testnet' into merge_testnet_into_staging
JuArce Mar 27, 2025
52a1495
fix: add mainnet stage values
JuArce Mar 27, 2025
01ae6f6
fix: fmt
JuArce Mar 27, 2025
0d9731e
Merge testnet into staging (#1828)
MauroToscano Mar 27, 2025
956b4a7
Update risc0 (#1829)
MauroToscano Mar 27, 2025
48d768b
v0.15.0 (#1814)
MauroToscano Mar 27, 2025
0237f45
docs: update dependencies for operators (#1832)
JuArce Mar 27, 2025
ece2874
hotfix(operator): add SP1 path to LD_LIBRARY_PATH and OPERATOR_FFIS (…
JuArce Mar 28, 2025
76d3e34
docs: update to v0.15.1 (#1837)
JuArce Mar 28, 2025
e62624b
docs: update examples and SDK specs (#1839)
JuArce Mar 28, 2025
0b61e81
Pull testnet to staging (#1838)
MauroToscano Mar 28, 2025
8819bec
fix: clippy (#1844)
JuArce Apr 3, 2025
486dcaf
Merge branch 'refs/heads/testnet' into pull_fixes
JuArce Apr 3, 2025
16f3f93
Pull fixes from testnet (#1847)
JuArce Apr 3, 2025
cc3a360
hotfix: add flag to use random addresses for proof_generator_addr in …
JuArce Apr 4, 2025
43a1084
feat: aggregation mode (#1840)
MarcosNicolau Apr 7, 2025
357d071
1853 fix use -z instead of eq when checking if variable is empty (#…
Mechanix97 Apr 8, 2025
37be9e4
feat: integrate sp1 verifier with aggregation mode (#1843)
JuArce Apr 8, 2025
7671453
modify anvil_start (#1857)
Mechanix97 Apr 8, 2025
b41ad31
feat: aggregation mode explorer (#1846)
MarcosNicolau Apr 10, 2025
ca2bc86
perf: aggregation-mode sp1 prover setup (#1862)
MarcosNicolau Apr 10, 2025
9772aca
feat: aggregated proofs explorer views (#1856)
MarcosNicolau Apr 10, 2025
b36b0a6
infra(aggregation_mode): update testnet addresses (#1868)
JuArce Apr 10, 2025
b63a928
Checks functions refactor (#1860)
MauroToscano Apr 11, 2025
b77e8fd
chore: update contract addresses (#1869)
JuArce Apr 14, 2025
c5b5494
# Pull testnet hotfixes (#1873)
MauroToscano Apr 14, 2025
104109d
Change match for if let in serialization on connections (#1858)
MauroToscano Apr 14, 2025
9e70085
refactor: agg mode (#1871)
MarcosNicolau Apr 14, 2025
fb7e037
Change SP1-sdk version from 4.1.3 to 4.1.7 (#1851)
Mechanix97 Apr 14, 2025
0d8b99b
feat(aggregation_mode): save last processed block in a file (#1872)
Mechanix97 Apr 15, 2025
3f48779
fix(ci): pin eigenlayer cli version to v0.11.3 (#1881)
JuArce Apr 21, 2025
a089f30
feat: aggregation mode sdk (#1861)
MarcosNicolau Apr 21, 2025
16e61ad
fix(operatorsaggregator): update EigenSDK version for mainnet (#1883)
JuArce Apr 21, 2025
837b4fb
docs: update to v0.15.2 (#1885)
JuArce Apr 21, 2025
004debe
v0.15.2 (#1879)
JuArce Apr 21, 2025
2e8796f
feat(agg-mode): support risc0 stark proofs (#1874)
MarcosNicolau Apr 24, 2025
42c7549
infra(aggregation_mode): add setup files (#1866)
JuArce Apr 24, 2025
6fdcc2d
fix: use eigenSDK v0.1.13 for devnet
JuArce Apr 25, 2025
83576e3
feat: proof aggregator upgrade scripts (#1888)
MarcosNicolau Apr 25, 2025
3ef2976
feat: deploy risc0 groth16 verifier contracts in anvil (#1876)
MarcosNicolau Apr 28, 2025
df61c76
hotfix: use eigenSDK v0.1.13 for devnet (#1895)
MauroToscano Apr 28, 2025
5d78e56
refactor(agg-mode): reduce types, abstractions and double merkle root…
MarcosNicolau Apr 28, 2025
d5235ed
feat(explorer): show aggregation mode componentes on testnet only (#1…
MarcosNicolau Apr 28, 2025
0656d2b
Pull fixes from testnet (#1903)
MauroToscano Apr 28, 2025
14f831f
fix(contracts): revert #1762 verifyBatchInclusion function (#1892)
JuArce Apr 28, 2025
a132bf0
fix(aggregation_mode): invert variables order and add setter for risc…
JuArce Apr 29, 2025
d9e91f6
Merge
MauroToscano Apr 29, 2025
b31292e
feat: risc0 for sdk and cli (#1886)
MarcosNicolau Apr 29, 2025
99b447d
fix(aggregation_mode): add testnet contract address to SDK (#1909)
JuArce Apr 30, 2025
d2c297b
infra(alerts): add alerts for aggregation mode (#1906)
JuArce May 6, 2025
c4b5f75
feat: explorer show aggregtor (risc0, sp1) on aggregation mode views …
MarcosNicolau May 6, 2025
83b1750
feat(aggregation_mode): use deterministic build for SP1 (#1916)
JuArce May 6, 2025
c8ace7b
fix: explorer aggregated proofs pagination (#1899)
MarcosNicolau May 6, 2025
d003201
infra(aggregation_mode): add Risc0 setup (#1898)
JuArce May 6, 2025
252cb52
fix(aggregation_mode): reset `proof-aggregator.last_aggregated_block.…
JuArce May 6, 2025
2ff8262
feat(aggregation_mode): use deterministic build for Risc0 (#1918)
JuArce May 6, 2025
c10d89b
fix(explorer): show unknown if no aggregator set in aggregated proof …
JuArce May 7, 2025
3b38eb5
script to send proofs with random addresses (#1865)
Mechanix97 May 7, 2025
9588fd7
docs: add metrics references for operators (#1913)
JuArce May 7, 2025
0a6419f
fix(aggregation-mode): hardcode image_id and vk_hash from solidity co…
MarcosNicolau May 8, 2025
0eab47e
refactor(aggregation_mode): migrate merkle tree to lambdaworks (#1911)
MarcosNicolau May 8, 2025
fbc0b96
fix(aggregation_mode: update `vk hash` and `image id` (#1927)
JuArce May 9, 2025
9fcdd63
fix(explorer): update aggregation mode functions (#1929)
JuArce May 12, 2025
5607821
Add missing functions and events (#1930)
MauroToscano May 12, 2025
68089e0
docs: add missing proof aggregator address (#1933)
MarcosNicolau May 14, 2025
57d3209
fix: update eigenlayer contracts for devnet (#1932)
JuArce May 14, 2025
1eac88a
fix(explorer): redesign aggregator badges design (#1935)
MarcosNicolau May 14, 2025
f8db023
feat(batcher): add queue limit (#1875)
Mechanix97 May 15, 2025
10f3048
fix(CI): set rust version to 1.86.0 (#1939)
JuArce May 15, 2025
a90fd3a
fix(ethereum_package): fix localnet/devnet on Ethereum package (#1937)
JuArce May 15, 2025
adc5793
fix(aggregation_mode): merkle-tree backend openzeppelin compliant (#1…
MarcosNicolau May 15, 2025
c01526e
Refactor sdk modules (#1941)
MauroToscano May 16, 2025
124eba8
feat(aggregation_mode): verify aggregated proof on chain (#1915)
MarcosNicolau May 20, 2025
deecb46
Pull from testnet to staging (#1952)
MauroToscano May 27, 2025
12e0642
feat(examples): full example and docs for aggregation mode (#1942)
MarcosNicolau May 29, 2025
b39a038
feat(aggregation_mode): aggregate proofs in chunks (#1896)
MarcosNicolau May 29, 2025
703f766
feat(aggregation-mode): limit number of proofs to fetch (#1956)
MarcosNicolau Jun 3, 2025
c94d77c
fix(batcher): non paying proofs are ignored when queue is full (#1958)
JuArce Jun 3, 2025
52d5c8c
docs: update to v0.15.3 (#1954)
JuArce Jun 3, 2025
c2e8af6
v0.15.3 (#1940)
JuArce Jun 3, 2025
c7b139c
feat/perf(aggregation-mode): verification & sp1 aggregation (#1955)
MarcosNicolau Jun 3, 2025
05191dc
feat(explorer): support search for aggregation mode (#1944)
MarcosNicolau Jun 4, 2025
ef6a851
fix(operator): manage subscription to events without panic (#1729)
JuArce Jun 4, 2025
6ec1dc6
fix(batcher): stop listening to blocks when one of the rpcs disconnec…
MarcosNicolau Jun 4, 2025
72583d9
feat: bump gnark version to 0.12 (#1863)
Mechanix97 Jun 4, 2025
3574467
chore(dev): targets to verify aggregated proof for every network (#1943)
MarcosNicolau Jun 4, 2025
62b9058
Change all addresses in yamls to be quoted, as to avoid them being in…
MauroToscano Jun 5, 2025
33bbe91
feat: bump SP1 version to v5.0.0 (#1965)
JuArce Jun 5, 2025
ab0ed86
ci: update golangci-lint.yml versions (#1967)
JuArce Jun 5, 2025
17f7dec
docs: update to v0.16.0 (#1970)
JuArce Jun 5, 2025
13932a0
pull fixes from testnet (#1973)
MauroToscano Jun 5, 2025
69f3b92
v0.16.0
MauroToscano Jun 5, 2025
7f5e050
set channel stable on risc0 and merkle tree ffi
JuArce Jun 5, 2025
1a6be72
fix(operator): set channel stable on risc0 and merkle tree ffi (#1974)
MauroToscano Jun 5, 2025
d6c5ffd
docs: update to v0.16.1
JuArce Jun 5, 2025
399dfc7
pull fixes from testnet (#1977)
JuArce Jun 5, 2025
3f47eca
Avoid recompilation of Aggregation Mode by using receipts on the Make…
MauroToscano Jun 6, 2025
50c9c93
refactor: rename `batcher` folder to `crates` (#1951)
MarcosNicolau Jun 6, 2025
17ea3a9
chore(makefile): unify naming conventions in targets (#1979)
JuArce Jun 11, 2025
c70c25d
fix(ci): run workflows on pushes to testnet/staging (#1981)
JuArce Jun 11, 2025
8a3a644
docs: aggregation mode (#1964)
MarcosNicolau Jun 13, 2025
0d7b600
Merge branch 'testnet' into staging
JuArce Jun 24, 2025
72421b1
docs: improve ethereum package steps (#1990)
maximopalopoli Jun 24, 2025
2e9d5db
feat: update risc zero version up to 2.1.0 (#1992)
maximopalopoli Jun 24, 2025
37e8e60
fix: update explorer URL printed after proof submission (#1989)
maximopalopoli Jun 24, 2025
7b35184
docs: improve docs folder (#1988)
maximopalopoli Jun 24, 2025
794087c
feat: integrate circom verifier (#1987)
JuArce Jun 25, 2025
f1d207d
docs: update to v0.17.0 (#1997)
maximopalopoli Jun 25, 2025
9a88ee8
fix: rename groth16/plonk to gnark_groth16 and gnark_plonk to avoid a…
JuArce Jun 26, 2025
b1a1ba6
refactor: migrate go-circom-prover-verifier to go-rapidsnark (#2002)
JuArce Jun 26, 2025
23d950c
fix(CI and tests): merkle tree ffi tests and pin go-ethereum version …
JuArce Jun 27, 2025
f8b33ac
fix(operator): pin go-ethereum and eigenlayer-cli version (#2007)
JuArce Jun 27, 2025
1c8ac16
v0.17.0 (#1996)
JuArce Jun 27, 2025
5f7d1f8
fix: missing target build_batcher_client (#2009)
JuArce Jun 27, 2025
86cfefd
hotfix: operator_update target (#2011)
JuArce Jun 27, 2025
f8a5cef
refactor: avoid cloning immutable values (#1995)
maximopalopoli Jul 15, 2025
a54750c
feat: update risc0 to v2.2.0/2.3.0 (#2020)
JuArce Jul 18, 2025
4cfa24e
Merge branch 'testnet' into staging
JuArce Jul 18, 2025
069f990
docs: v0.18.0 (#2022)
JuArce Jul 21, 2025
72dcbe8
v0.18.0 (#2023)
JuArce Jul 21, 2025
0987620
docs: fix operator upgrade guide (#2026)
JuArce Jul 21, 2025
7e2161c
Pull testnet to staging (#2027)
MauroToscano Jul 22, 2025
50d74e0
Update docs with latest roadmap
cliraa Jul 22, 2025
5fdb723
hotfix(operator): retry logic for batches download (#2030)
JuArce Jul 31, 2025
5b30c6a
fix: improve sp1 proof handling (#2037)
JuArce Jul 31, 2025
7be0542
Add Risc0 to task sender (#2036)
MauroToscano Jul 31, 2025
0d3df06
Pull testnet changes to staging (#2038)
MauroToscano Jul 31, 2025
ecb6ca2
fix: bump ethereum-genesis-generator image version in network_params.…
avilagaston9 Jul 31, 2025
58d5b99
Sp1 task sender (#2039)
MauroToscano Jul 31, 2025
15e7eec
docs: update SUMMARY.md (#2040)
cliraa Aug 5, 2025
e345a37
feat: upload batches to multiple storage services (#2045)
JuArce Aug 6, 2025
1f4accb
feat(aggregation mode): add retry logic to batches download (#2046)
JuArce Aug 7, 2025
c73d995
Fix fmt Agg Mode (#2048)
MauroToscano Aug 8, 2025
0cf435a
Optimize verification data size calculation (#2055)
MauroToscano Aug 18, 2025
d57521b
Fix links and add script to look for them (#2060)
MauroToscano Aug 21, 2025
47139ef
Pull staging updates (#2061)
MauroToscano Aug 21, 2025
15c8d13
Rework batcher concurrency (#2017)
MauroToscano Aug 22, 2025
62bd0f8
Remove readme file (#2070)
MauroToscano Aug 25, 2025
a3675f1
Fix cbor serialization overhead (#2064)
MauroToscano Aug 27, 2025
7bf60ac
feat: Sepolia deployment (#2066)
JuArce Aug 29, 2025
ea99689
feat(batcher): enforce a min max_fee and min bump for replacements (#…
MauroToscano Aug 29, 2025
1822fa9
feat: Hoodi deployment (#2076)
JuArce Aug 29, 2025
8b6e173
fix(operator): reduce polling frecuency and remove newbatchv2 logic (…
JuArce Aug 29, 2025
6ead110
fix: circom public inputs commitment (#2077)
MarcosNicolau Sep 1, 2025
86180c3
feat: circom example (#2078)
MarcosNicolau Sep 1, 2025
4ba8efb
fix(ethereum-package): pin to v5.0.1 (#2099)
JuArce Sep 4, 2025
a85f27f
fix(explorer): get proof bytes correctly (#2101)
JuArce Sep 4, 2025
d17f072
docs: add Operator config file template for Sepolia Network (#2095)
JuArce Sep 4, 2025
5f2344e
docs: add operator config file template for hoodi network (#2094)
JuArce Sep 4, 2025
45bb06c
fix(makefile): remove duplicated target (#2082)
JuArce Sep 4, 2025
26b6685
infra: upload ansible inventories (#2104)
JuArce Sep 4, 2025
fc04800
feat: bump Risc0 to v3.0.3 (#2102)
JuArce Sep 4, 2025
8a04127
feat(operator): add thread pool operator to avoid exhausting the syst…
MauroToscano Sep 4, 2025
26c9eb7
docs: add link to Hoodi explorer (#2105)
JuArce Sep 4, 2025
4bf62cd
docs: update Submitting proofs with Hoodi network (#2109)
JuArce Sep 5, 2025
6505a6e
docs: add Hoodi contracts and strategies addresses (#2106)
JuArce Sep 5, 2025
7868d49
docs: update Aligned CLI section with Hoodi network (#2107)
JuArce Sep 5, 2025
22b70ff
docs: update SDK reference with Hoodi network (#2108)
JuArce Sep 5, 2025
cc698f1
docs: update Running an Operator guide with Hoodi network (#2096)
JuArce Sep 5, 2025
b3dc01d
Pull docs from testnet to staging (#2110)
MauroToscano Sep 5, 2025
d944734
fix(explorer): do not use @firstBlock to fetch logs from Ethereum (#2…
JuArce Sep 8, 2025
737be76
Docs update use cases 20250905 (#2111)
bjdyakov Sep 8, 2025
b90a5b3
Merge branch 'testnet' into staging
JuArce Sep 8, 2025
b7d720a
docs: v0.19.0 (#2116)
JuArce Sep 8, 2025
27d2913
fix(makefile): load operator address correctly (#2113)
JuArce Sep 8, 2025
5f309e6
v0.19.0 (#2059)
MauroToscano Sep 8, 2025
4705e18
Log address on lack of funds error (#2119)
MauroToscano Sep 15, 2025
8924dbe
feat(batcher): poll for unlock events and remove users with unlocked …
JuArce Sep 19, 2025
18f330b
fix(test): Change the tests Holesky RPC url to the Hoodi one (#2133)
maximopalopoli Oct 2, 2025
24695db
Pull fixes from testnet (#2135)
JuArce Oct 2, 2025
73661ab
feat: notify user after replacement message (#2131)
maximopalopoli Oct 2, 2025
b3cb3ec
docs: update Holesky network for Hoodi in the examples of submitting …
maximopalopoli Oct 2, 2025
6514422
fix: change pub input curl URL in get_proof_test_files script (#2136)
maximopalopoli Oct 2, 2025
fe21a4a
Restore flush logic (Nuclear option for state recovery) (#2121)
MauroToscano Oct 2, 2025
a36e5e3
docs: change Holesky network for Hoodi in the Try Aligned section (#2…
maximopalopoli Oct 3, 2025
d63e823
docs: change Holesky for Hoodi in Generating proofs for Aligned secti…
maximopalopoli Oct 3, 2025
5eaccba
docs: use Hoodi instead of Holesky in Aligned CLI section examples (#…
maximopalopoli Oct 3, 2025
c724e3b
fix: add Hoodi support for the circom example (#2141)
maximopalopoli Oct 6, 2025
1e07adc
fix: use hoodi instead of holesky in the verify example (#2143)
maximopalopoli Oct 6, 2025
ebb110c
fix: use hoodi network instead of holesky on zkquiz example (#2144)
maximopalopoli Oct 6, 2025
d78b64c
fix: add Hoodi support for l2 example (#2142)
maximopalopoli Oct 6, 2025
c281383
Merge branch 'testnet' into staging
JuArce Oct 6, 2025
9d8d86c
feat: unlock, lock and withdraw funds in sdk and cli (#2149)
MarcosNicolau Oct 6, 2025
38f16e2
docs: v0.19.1 (#2148)
JuArce Oct 6, 2025
030e128
v0.19.1 (#2137)
JuArce Oct 7, 2025
92f097f
feat(batcher): get last max fee msg (#2127)
MarcosNicolau Oct 8, 2025
f7e49f6
test(batcher): add script to test unlocked funds flow (#2126)
JuArce Oct 14, 2025
fa389e1
fix(zkquiz): use compressed mode for sp1 (#2155)
JuArce Oct 16, 2025
129a539
fix(examples): l2 missing public inputs when submitting proof to Alig…
MarcosNicolau Oct 16, 2025
19b8074
fix(sdk): hoddi proof aggregator address in sdk (#2158)
MarcosNicolau Oct 17, 2025
ecfef61
feat: improve periodic proof sending script (#2156)
maximopalopoli Oct 21, 2025
cf01286
Merge branch 'testnet' into staging
JuArce Oct 23, 2025
c70e1db
chore: update gnark dep (#2157)
MarcosNicolau Oct 23, 2025
895cd41
docs: v0.20.0 (#2161)
JuArce Oct 23, 2025
21f45f8
v0.20.0 (#2159)
JuArce Oct 28, 2025
a0ebc25
Merge remote-tracking branch 'aligned/testnet' into mina
MarcosNicolau Oct 31, 2025
6d8a3a2
fix: makefile targets
MarcosNicolau Oct 31, 2025
477736a
merge error in verfier
MarcosNicolau Oct 31, 2025
1aa74de
fix compilation failure due to dependency versions mistmatch by bumpi…
MarcosNicolau Oct 31, 2025
c38c31f
fix go lint
MarcosNicolau Oct 31, 2025
6386260
Update Makefile
MarcosNicolau Nov 3, 2025
a54c2de
revert build and test go runner
MarcosNicolau Nov 3, 2025
f2dfdf6
copy mina folder in batcher docker
MarcosNicolau Nov 4, 2025
ccfc8be
move mina docker targets to the bottom
MarcosNicolau Nov 4, 2025
11ca8d0
apply patches to Batcher cargo.toml
MarcosNicolau Nov 4, 2025
6bf89dd
fix ci stuck because of low max fee in mina account docker task
MarcosNicolau Nov 4, 2025
3d3036b
fix docker sent proofs in makefile
MarcosNicolau Nov 4, 2025
8d00024
Update docs/3_guides/6_setup_aligned.md
MauroToscano Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
6 changes: 4 additions & 2 deletions .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 All @@ -16,7 +18,7 @@ env:
FFI_FOR_RELEASE: false
jobs:
build:
runs-on: aligned-runner
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down
83 changes: 70 additions & 13 deletions .github/workflows/build-and-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ name: build-and-test-rust-projects

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

jobs:
build:
Expand All @@ -19,51 +22,105 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.86.0
components: rustfmt, clippy
override: true

# Reference: https://github.com/succinctlabs/sp1/actions/runs/8886659400/workflow#L61-L65
- name: Install sp1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
source /home/runner/.bashrc
~/.sp1/bin/sp1up

- name: Install risc0 toolchain
run: |
curl -L https://risczero.com/install | bash
source ~/.bashrc
~/.risc0/bin/rzup install

- name: Cache Rust dependencies
uses: actions/cache@v3
with:
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 Rust projects

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

- name: Run Clippy
run: |
cd batcher
cd crates
cargo clippy --all -- -D warnings
- name: Build Rust projects

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

- name: Check formatting of AggregationMode
run: |
cd aggregation_mode
cargo fmt --all -- --check

- name: Build AggregationMode # We build before clippy to generate the ELF
run: |
cd batcher
cd aggregation_mode
cargo build --all

- name: Run Clippy on AggregationMode
run: |
cd aggregation_mode
# We need to skip the build as clippy does not support the riscv32im-risc0-zkvm-elf target
RISC0_SKIP_BUILD=1 cargo clippy --all -- -D warnings

test:
runs-on: aligned-runner
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: foundry-toolchain
uses: foundry-rs/foundry-toolchain@v1.2.0

# Reference: https://github.com/succinctlabs/sp1/actions/runs/8886659400/workflow#L61-L65
- name: Install sp1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
source /home/runner/.bashrc
~/.sp1/bin/sp1up

- name: Install risc0 toolchain
run: |
curl -L https://risczero.com/install | bash
source ~/.bashrc
~/.risc0/bin/rzup install

- name: Cache Rust dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
batcher/target
crates/target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-
- name: Run tests

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

- name: Run AggregationMode tests
run: |
cd batcher
cd aggregation_mode
cargo test --all
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
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: golangci-lint
on:
push:
branches:
- master
- main
- testnet
- staging
pull_request:
paths:
- 'operator/**'
Expand All @@ -26,13 +26,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.24'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v8
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.54
version: v2.1.6
args: --timeout=5m
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
26 changes: 25 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,38 @@ out
cache
**/build
**/target
**/CLAUDE.md
CLAUDE.md
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
volume2
config-files/*.last_processed_batch.json
config-files/*.last_aggregated_block.json

nonce_*.bin

infra/ansible/playbooks/ini/**.ini
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

# Reports
docs/dead_links_report.txt
15 changes: 15 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,18 @@
[submodule "claim_contracts/lib/openzeppelin-contracts"]
path = claim_contracts/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "contracts/lib/sp1-contracts"]
path = contracts/lib/sp1-contracts
url = https://github.com/succinctlabs/sp1-contracts
[submodule "contracts/lib/risc0-ethereum"]
path = contracts/lib/risc0-ethereum
url = https://github.com/risc0/risc0-ethereum
[submodule "contracts/eigenlayer_contracts/eigenlayer-contracts"]
path = contracts/eigenlayer_contracts/eigenlayer-contracts
url = https://github.com/Layr-Labs/eigenlayer-contracts.git
[submodule "examples/l2/contracts/lib/forge-std"]
path = examples/l2/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "examples/circom/contracts/lib/forge-std"]
path = examples/circom/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
Loading
Loading