Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
868 commits
Select commit Hold shift + click to select a range
790d114
refactor: Update imports and remove unnecessary sections in counter c…
critesjosh Sep 23, 2025
18c5199
refactor(bb): batch commit wire polys (#17117)
ludamad Sep 24, 2025
97df734
refactor!: dropping PXE JSON RPC
benesjan Sep 24, 2025
111f81d
fix: broker restarts on rollup change
alexghr Sep 24, 2025
3c6b592
chore: branching.md
just-mitch Sep 19, 2025
2c9e790
chore: Refactor staging network deployments
PhilWindle Sep 24, 2025
4ed4f57
feat(AVM): Fail on incomplete toRadix decompositions (#17233)
sirasistant Sep 24, 2025
34326b2
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Sep 25, 2025
48bf351
chore: add comment to addRollup
LHerskind Sep 22, 2025
4f81d28
chore: update gse deposit natspec (#17247)
LHerskind Sep 25, 2025
7fe635b
fix: secp256k1 ecdsa mul - fix handling of point at infinity (#16679)
suyash67 Sep 25, 2025
d86c1e6
feat: Flag to always reexecute block proposals
spalladino Sep 24, 2025
c49e970
fix: secp256k1 ecdsa mul handling of stagger point additions (#16685)
suyash67 Sep 25, 2025
6f8a8a1
feat: check remote-signer is available
alexghr Sep 23, 2025
26c3bd1
fix: orchestrator and agents retry more when connecting to the broker
alexghr Sep 25, 2025
cf3cd7f
chore: biggroup audit of lookup and rom tables (#16895)
suyash67 Sep 25, 2025
2f0c8ce
Refactor and add tests.
LeilaWang Sep 24, 2025
75aa1c3
chore(docs): Add migration notes instructions to the docs README
critesjosh Sep 24, 2025
123c4cd
fix: Execute old slashing round if skipped during first round
spalladino Sep 23, 2025
1abef7f
chore: Refactor l1 tx utils
spalladino Sep 24, 2025
9339af0
fix(bb): oversight that disabled batch commits (#17278)
ludamad Sep 25, 2025
d7d6b8f
refactor: remove typed oracle and txe typed oracle
nventuro Sep 25, 2025
c0cbc1e
chore: fix misc issues for clarity
LHerskind Sep 22, 2025
31e872c
chore: use CloudFlare R2 storage for snapshot storage
spypsy Sep 25, 2025
b38fd26
docs(bb): add initial cli reference (#17244)
marciw-aztec Sep 25, 2025
b4b4460
chore!: cycle group #6 (#17174)
ledwards2225 Sep 25, 2025
4771cf9
chore(avm): tune commitment batch size (#17289)
fcarreiro Sep 25, 2025
c06febd
chore(avm): remove perf bench from opt poseidon2
fcarreiro Sep 25, 2025
2e1a160
fix: avm gracefully handles shifts (shl) with huge bit sizes (#17171)
dbanks12 Sep 25, 2025
6147155
fix: mac bb publish (#17276)
ludamad Sep 25, 2025
fd2cb9e
fix: gas boundary and removal of isOnCurve
LHerskind Sep 25, 2025
9fe1564
init
Sep 25, 2025
e3114ba
chore: Deflake gossip network test
spalladino Sep 25, 2025
48378b2
fix: Fix the hash to point function randomness
LHerskind Sep 25, 2025
6c3d3ec
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Sep 26, 2025
7191217
refactor: TestWallet API cleanup pt. 1
benesjan Sep 26, 2025
5a3d954
fix: tmnt 405, 411, 413, 414, 418, 419, 421, 425
LHerskind Sep 26, 2025
b5f6244
refactor: merging PXE interface and its implementation
benesjan Sep 26, 2025
177c33c
Add prover id to public tube.
LeilaWang Sep 24, 2025
3b6ad0d
chore: spartan cleanup
alexghr Sep 24, 2025
7ed4880
chore: Streamline staging deployments
PhilWindle Sep 25, 2025
0a38d6c
fix: tmnt 412
LHerskind Sep 25, 2025
7a4662e
feat(bb/avm): lazy univariate extension
fcarreiro Sep 26, 2025
e531a65
fix: rewire some internal oracles
nventuro Sep 25, 2025
98c2d0b
chore(docs): docs structure refactor
signorecello Sep 26, 2025
f54783f
Fix branch value
PhilWindle Sep 26, 2025
09bea6f
feat(docs): improve separation of concern on analytics lib
alejoamiras Sep 26, 2025
df7b9ec
chore: databus audit - added documentation (#16922)
kashbrti Sep 26, 2025
4f1ce15
feat: Improve polynomial folding in PG (#17237)
federicobarbacovi Sep 26, 2025
c7b99f3
chore!: ECDSA audit part 4 - tests (#17301)
federicobarbacovi Sep 26, 2025
997229d
chore: cycle group 7 (#17175)
ledwards2225 Sep 26, 2025
0d47dcb
chore: Bump Noir reference
AztecBot Sep 26, 2025
64dcc3b
Encode lengths in tx start marker.
LeilaWang Sep 26, 2025
f0c66c7
refactor: replace txe oracle in favor of pxe oracle
nventuro Sep 26, 2025
176e86a
fix(docs): removes references to `getInitialTestAccountsWallets`
sklppy88 Sep 26, 2025
9ed0dff
chore: update bb-versions.json to Noir v1.0.0-beta.13
Savio-Sou Sep 26, 2025
4640f1c
fix: detect duplicate nullifier creation in oracles
nventuro Sep 25, 2025
156fac0
fix: make check nullifier exists check the note cache in private exec
nventuro Sep 25, 2025
ae1dab9
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Sep 27, 2025
211d8ee
fix(docs): update docs redirects
critesjosh Sep 27, 2025
9432b78
chore: organize testenv tests a bit better
nventuro Sep 27, 2025
e3115e8
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Sep 28, 2025
e243dd8
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Sep 29, 2025
cfe95be
fix: outdated cli reference
sklppy88 Sep 29, 2025
f989f9c
feat(docs): add docs example dir and use include code to update curre…
sklppy88 Sep 29, 2025
0ced608
Increase CI time for network tests
PhilWindle Sep 28, 2025
6f20b77
chore: Enables prover replica configuration
PhilWindle Sep 29, 2025
a080b2f
refactor: minor naming fix
benesjan Sep 29, 2025
4236f58
refactor: TestWallet API cleanup pt.2
benesjan Sep 29, 2025
ba274f9
init
Sep 29, 2025
d8a328d
init
Sep 29, 2025
0ea5d87
init
Sep 29, 2025
96d8250
Change leaf index to Field.
LeilaWang Sep 29, 2025
cf6a485
chore: ECDSA audit 6 - final cleanup (#17353)
federicobarbacovi Sep 29, 2025
99cde59
feat: ECDSA audit 7 - test for ECDSA constraints (#17357)
federicobarbacovi Sep 29, 2025
43b7c9f
test(Barretenberg): Static Analysis results of Merge Recursive Verifi…
DanielKotov Sep 29, 2025
bdf592b
chore: Do not require sudo if deps are already installed in bootstrap
spalladino Sep 29, 2025
8573463
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Sep 30, 2025
6a439d7
chore: scenario test alerts + separate env alert channels
spypsy Sep 30, 2025
7ca9c6a
chore: Track l1 tx publisher state per tx
spalladino Sep 29, 2025
2023642
refactor!: cleaning up our use of `testWallet.getNotes(...)`
benesjan Sep 30, 2025
21a46c9
chore: allow zero address in gov constructor to open floodgates
just-mitch Sep 30, 2025
1b2463e
feat: optionally disable publishing proofs on L1
alexghr Sep 26, 2025
091aa4d
fix: BB gates api
sirasistant Sep 30, 2025
2ff3d79
feat: add network config
alexghr Sep 25, 2025
3784cf5
Restore funding accounts
PhilWindle Sep 30, 2025
a67ef85
feat: Add getAllowedPublicSetup API to aztec-node
spalladino Sep 30, 2025
6b00a6c
chore: turn on ingress
alexghr Sep 30, 2025
2fe4938
chore(docs): Fix spellcheck to run on include_code snippets
PhilWindle Sep 30, 2025
54ee328
Allow any contract to emit contract class logs.
LeilaWang Sep 30, 2025
6f2de41
fix: issue with contactpoins yaml + add mainnet / testnet alert rules
spypsy Sep 30, 2025
855d003
chore: Set DB sizes in networks
PhilWindle Sep 30, 2025
bfb0fbb
chore: pedersen commit (#17257)
ledwards2225 Sep 29, 2025
c566674
chore: pedersen hash cleanup (#17322)
ledwards2225 Sep 29, 2025
12489c9
chore: bench_hardware_concurrency.sh (#17313)
johnathan79717 Sep 30, 2025
3cffc24
feat(avm)!: Calldata Hashing
MirandaWood Sep 26, 2025
149114c
feat(AVM)!: Improved debug log opcode (#17306)
sirasistant Sep 29, 2025
ffb0c69
feat(avm): flatten flavor entities (#17363)
fcarreiro Sep 29, 2025
88c1bde
chore(avm): add some BB_BENCH_NAME in prover.cpp
fcarreiro Sep 29, 2025
e0d917b
feat(AVM)!: Add prover id to public inputs (#17371)
sirasistant Sep 30, 2025
7731d5f
fix: deriving serde on more public structs
benesjan Sep 30, 2025
5391e0e
Adding cvc5 to cache, and making it's hash dynamic
Sarkoxed Sep 30, 2025
45ad2ec
chore(docs): update font to Geist and remove Oracle font-face in cust…
critesjosh Sep 30, 2025
4a78764
chore: remove documentation markers from various contracts and files
critesjosh Sep 30, 2025
8f720cc
More staging public config
PhilWindle Sep 29, 2025
662030d
refactor(bb): disable expensive asserts in release, more direct poly …
ludamad Sep 30, 2025
cdf89dd
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 1, 2025
3f59afd
feat!: entrypoint and fee payment simplification
Thunkar Oct 1, 2025
be7328e
refactor!: cleaning up tagging oracles
benesjan Oct 1, 2025
a1149c8
chore: secp256k1 refactor lambda functions to private, add documentat…
suyash67 Oct 1, 2025
905803a
fix(avm): re-enable stats/benchmarks
fcarreiro Oct 1, 2025
2f645c7
chore: clean up IPA code, as part of IPA audit (#17294)
notnotraju Oct 1, 2025
4c42061
feat: adds analytis, nps and email subscription
alejoamiras Oct 1, 2025
081e1a5
Delete contract addresses from chain l2 config
PhilWindle Oct 1, 2025
7741839
fix: Stop prover node publisher on prover node stop
spalladino Oct 1, 2025
b6d38fa
chore: dependabot deps
mralj Oct 1, 2025
79c088e
fix: update hash to point
LHerskind Sep 30, 2025
20d16f3
feat!: Handle multiple snapshot urls for sync
spalladino Sep 30, 2025
fd14380
chore: Updated metrics alerting for bootnodes
PhilWindle Oct 1, 2025
b937a5c
chore(merge-train): slack notify for AVM and docs trains
ludamad Oct 1, 2025
fbeb38e
mitch/tmnt-193-deploy-l1-contracts-needs-to-take-an-optional-token
just-mitch Sep 30, 2025
fc74222
chore(avm): fail in tester if cannot read stats
fcarreiro Oct 1, 2025
9568735
refactor(avm): C++ sim cleanup and fixes (follow up) (#17361)
fcarreiro Oct 1, 2025
0ebc5c2
chore(docs): Update the glossary (#17405)
ciaranightingale Oct 1, 2025
8211e4b
feat: add date gated relayer
LHerskind Sep 27, 2025
5520a36
feat: add flushing rewarder
LHerskind Sep 26, 2025
2311108
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 2, 2025
59a7888
feat: wallet can register contract keys
Thunkar Oct 2, 2025
200cdd8
fix: improve libp2p connection limits for network discovery
jorem321 Oct 1, 2025
792480e
fix: use archiveAt(0) instead of getBlock to get genesis archive tree…
spypsy Oct 1, 2025
5da3b6f
fix: boxes
Thunkar Oct 2, 2025
7bb2cfb
New salt
PhilWindle Oct 2, 2025
b1385da
chore: Alert slack on staging/testnet deployment failure
PhilWindle Oct 2, 2025
0dd9471
chore: update zkpassport version (#17339)
saleel Sep 29, 2025
57c5618
feat(avm)!: Handle Empty Calldata (#17342)
MirandaWood Oct 2, 2025
095e7f3
refactor: NoteDataProvider - clarify function names, add test coverag…
wildjos Oct 2, 2025
a0d79b1
feat(avm): Bulk test for bytecode/calldata hashing (#17284)
MirandaWood Oct 2, 2025
3bb208f
fix: only "known" errors should be caught during public tx simulation…
dbanks12 Oct 2, 2025
bee0bdb
Refactor blob lib.
LeilaWang Oct 2, 2025
a2990b3
resolving the bug in the fuzzer
Sarkoxed Oct 2, 2025
d7b79cf
Skip zeros when aggregating out hashes.
LeilaWang Oct 2, 2025
f25df1a
fix: PublicProcessor recognizes AssertionError messages like regular …
dbanks12 Oct 2, 2025
777d282
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 3, 2025
a6d286a
chore: fix aztec test with log levels
sklppy88 Oct 3, 2025
734d0d0
feat!: entrypoint cleanup
Thunkar Oct 3, 2025
aab4337
feat: TXE dispatch function name zod validation check
benesjan Oct 3, 2025
520228a
fix!: tx trace should handle reverts early in phase followed by skipp…
dbanks12 Oct 3, 2025
ef0da48
feat(avm): Constrain Poseidon2 Lookups by Round
MirandaWood Oct 3, 2025
2143f2e
fix!: circuit issues when a base address has invalid tag (#17421)
jeanmon Oct 3, 2025
3cf647c
fix: Handle not-mined states in l1 publishers
spalladino Sep 30, 2025
3e118bf
chore: Upgrade rest of dependabot deps
mralj Oct 2, 2025
f277dcb
resolving fuzzer issue + test
Sarkoxed Oct 1, 2025
b1ec069
chore(fix): Fix local scenario network deployment
Oct 3, 2025
038ad0e
test: improving test coverage for bytecode flow errors
jeanmon Oct 3, 2025
90c5de3
remove flamegraph from nightly
ciaranightingale Oct 3, 2025
ffb53f4
fix(docs): Remove unnecessary argument from bootstrap script command …
critesjosh Oct 3, 2025
5235250
remove flamegraph from tut cos it broken
ciaranightingale Oct 3, 2025
78e8290
chore[docs] Update contract tutorial with new Aztec.nr API
ciaranightingale Oct 3, 2025
cd5c116
make changes to docs docs too
ciaranightingale Oct 3, 2025
13c3e60
feat: PG prover checks the zeroth coefficient of the perturbator (#17…
federicobarbacovi Oct 2, 2025
280e8cb
chore: refactored the IPA tests, as part of the IPA audit (#17390)
notnotraju Oct 2, 2025
6b483d8
chore: transcript cleanup pt. 0 (#17034)
iakovenkos Oct 2, 2025
ddea208
feat: Cross compile node module to escape container. (#17433)
charlielye Oct 3, 2025
5439d69
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 4, 2025
fc37916
chore: Try deflake e2e l1 publisher test
spalladino Oct 3, 2025
fb4a72a
revert minConnections to 0
mralj Oct 3, 2025
395895f
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 5, 2025
d3b01db
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 6, 2025
90a8118
chore: Try deflake l1 reorg test (again)
spalladino Oct 3, 2025
4f5efa1
feat!: Protocol contracts list (#17481)
sirasistant Oct 6, 2025
b798294
fix: s3 upload/download API
spypsy Oct 6, 2025
b8b6a16
fix(avm)!: Bytecode manager test
sirasistant Oct 6, 2025
3080a60
feat: R2 snapshots custom domain
spypsy Oct 6, 2025
20d4a09
feat: add BLS key support to key store
Oct 3, 2025
149f7be
accounts page
signorecello Sep 22, 2025
e885d6e
chore: Do not require sudo in bootstrap if packages are installed
spalladino Oct 6, 2025
4099509
chore(docs): update Docusaurus dependencies to version 3.9.1
critesjosh Oct 6, 2025
f9b1084
feat: Store and metrics for L1 tx utils
spalladino Oct 3, 2025
aa615cb
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 7, 2025
7474400
fix(avm)!: Cast to uint32 to fix mac build
sirasistant Oct 7, 2025
d357b46
chore: Test slashing due to invalid block proposal
spalladino Oct 6, 2025
5b6c6d4
fix: prevent floating-point value error in archiver message sync metric
spalladino Oct 7, 2025
d2af89c
fix: use all snapshot urls from network config
alexghr Oct 2, 2025
61c2b64
chore: Fix multi-eoas test
spalladino Oct 7, 2025
6fddb60
chore: Fixes for next-net
PhilWindle Oct 7, 2025
3681157
chore: deflake web3signer e2e tests
alexghr Oct 6, 2025
bbce43a
Update compressed_string.nr
DeVikingMark Oct 7, 2025
1e36f98
Refactor reset lib.
LeilaWang Oct 7, 2025
c0392a4
fix: misc wallet fixes
Thunkar Oct 7, 2025
76a2d33
init
Oct 7, 2025
72dcd4c
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 8, 2025
910d9b1
chore: new workflow
alexghr Oct 8, 2025
1a87a23
chore: Bump Noir reference
AztecBot Oct 8, 2025
afcbbf4
chore: delete patch file
TomAFrench Oct 8, 2025
ec95045
feat(build): enable circuit stacktraces in debug mode automatically
ludamad Oct 7, 2025
4259dff
feat(avm): batch inverses in tracegen (#17005)
fcarreiro Oct 8, 2025
7e071bb
init
Oct 8, 2025
583d282
chore: More deployment fixes
PhilWindle Oct 7, 2025
1a12471
init
Oct 8, 2025
527d151
fix: Gates reporter
sirasistant Oct 8, 2025
7978f90
feat: Raise log level for exceptional halt and add instruction counte…
jeanmon Oct 8, 2025
057a0be
test(bb): Static Analysis of Pedersen hash function (#17468)
DanielKotov Oct 6, 2025
885630a
feat(no-docker-devex/1): Add nested parallel_for support (#17483)
ludamad Oct 6, 2025
d7a150a
feat(no-docker-devex/2): Ensure CRS safe to load over http (#17485)
ludamad Oct 6, 2025
ca966fa
feat(no-docker-devex/3): Replace popen with C++ utilities (#17487)
ludamad Oct 6, 2025
52ad65b
feat(no-docker-devex/4): Link AVM transpiler as static library (#17495)
ludamad Oct 6, 2025
9c9b49e
feat(no-docker-devex/5): Add aztec_process CLI command, macos cross c…
ludamad Oct 6, 2025
3b950f3
refactor(bb): optimize update_target_sum_and_fold (#17520)
ludamad Oct 6, 2025
025a365
fix: bb wasm initial mem (#17521)
ludamad Oct 6, 2025
5bae70d
fix(bb): brittle thread test (#17523)
ludamad Oct 6, 2025
1a76064
chore: remove OLD _API CLI, fix build (#17529)
ludamad Oct 7, 2025
020d18b
refactor: eliminate get_all() bottleneck in extend_edges (#17524)
johnathan79717 Oct 7, 2025
dae729a
fix: Revert "refactor: eliminate get_all() bottleneck in extend_edges…
johnathan79717 Oct 8, 2025
314bf5c
fix: update bigfield tests to avoid unexpected failures (#17553)
suyash67 Oct 8, 2025
35a3b6f
chore: adds `incomplete_assert_equal` in `biggroup` (#17551)
suyash67 Oct 8, 2025
992cc2a
fix(bb): *-no-avm presets (#17578)
ludamad Oct 8, 2025
01b422c
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 9, 2025
efe9a28
fix(bb): bootstrap (#17583)
ludamad Oct 9, 2025
5c4ceb7
chore: update hashToPoint
LHerskind Oct 6, 2025
2e8f08c
Refactor side effect structs.
LeilaWang Oct 9, 2025
a6a9813
chore(bb): try to fix wasm threading
ludamad Oct 9, 2025
09f7a3c
chore: remove reference to deleted library (#17591)
TomAFrench Oct 9, 2025
8efa328
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 10, 2025
79e9ebc
feat(avm): Use More Multipermutations (#17558)
MirandaWood Oct 10, 2025
a525959
chore: flakes for boxes test and bridge_and_claim aztec up test
dbanks12 Oct 9, 2025
09bf01a
chore: Try fix flake regex
spalladino Oct 10, 2025
fc29f1b
chore: increase proof of possession gas limit
LHerskind Oct 9, 2025
9025e08
chore(docs): update round and quorum details for testnet
sklppy88 Oct 10, 2025
bc8be1e
feat(docs): node docs restructure
sklppy88 Oct 10, 2025
c2e5523
chore: Do not seed the epoch cache on startup
spalladino Oct 9, 2025
d81b16d
fix: attesters use their own address for coinbase by default
alexghr Oct 9, 2025
ffb9de6
fix: Remove the p2p header
PhilWindle Oct 10, 2025
14b05fe
chore: Try deflake L1 reorgs test
spalladino Oct 9, 2025
f565f72
fix: enable AVM in non-release arm64 builds
ludamad Oct 10, 2025
4cb0549
chore: add script to dedupe release notes
alexghr Oct 10, 2025
5b3e196
fix: Link dwarf in fuzzing builds too
Sarkoxed Oct 10, 2025
a321371
fix(bb): smt build cache for non-CI (#17584)
ludamad Oct 9, 2025
711408f
fix(bb): fuzzing-asan docker build (#17597)
ludamad Oct 9, 2025
5f18de3
chore: ultra builder initial cleanup (#17573)
ledwards2225 Oct 10, 2025
67990f3
chore: Update CLAUDE.md by CLAUDE
spalladino Oct 10, 2025
27fc198
chore(docs): some nits
signorecello Oct 8, 2025
92301c1
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 11, 2025
baeb061
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 12, 2025
7dccbb4
chore(docs): cut new aztec and bb docs version for tag v3.0.0-nightly…
Oct 13, 2025
cb935fe
chore: flag WebKit browser tests as flaky
spalladino Oct 10, 2025
0949b71
fix: check whether a contract is transpiled when loading it - loadCon…
dbanks12 Oct 10, 2025
09a50c0
fix: track bad attestations and operational issues separately
alexghr Oct 10, 2025
6cec9c6
chore: Run individual tests in an e2e suite in parallel
spalladino Oct 10, 2025
16b107a
discv5 as nethermindeth dep
mralj Oct 13, 2025
15200e1
change discv5 dep
mralj Oct 13, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .github/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.secrets
.secrets
.act-tool-cache
45 changes: 45 additions & 0 deletions .github/local_workflow.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

# Runs a github workflow locally.
#
# Needs `act`. See https://nektosact.com/installation/index.html
#
# Bind-mounts the local directory into the container, which executes as the current user.
# Attempts to use a GCP service account, which you can download from
# https://console.cloud.google.com/iam-admin/serviceaccounts

# Your workflow may not need a GCP service account, nor a kubeconfig, etc.
# Feel free to send a PR to tweak the script ;)

# example usage:
# export GOOGLE_APPLICATION_CREDENTIALS=/your/path/to/testnet-helm-sa.json
# alias lwfl=/your/path/to/aztec-clones/alpha/.github/local_workflow.sh
# lwfl deploy_eth_devnet --input cluster=kind --input resource_profile=dev --input namespace=mitch-eth-devnet --input create_static_ips=false
# lwfl deploy_eth_devnet --input cluster=aztec-gke-private --input resource_profile=prod --input namespace=mitch-eth-devnet --input create_static_ips=false

workflow_name=$1

REPO_ROOT=$(git rev-parse --show-toplevel)

if [ -z "$workflow_name" ]; then
echo "Usage: $0 <workflow_name> [args ...]"
exit 1
fi

# get the rest of the args (skip the first one which is the workflow name)
shift
args=("$@")

# Only needed when running against GKE
SA_KEY_JSON=$(cat "$GOOGLE_APPLICATION_CREDENTIALS")

mkdir -p $REPO_ROOT/.github/.act-tool-cache

act -j $workflow_name \
--env RUNNER_TOOL_CACHE=/work/toolcache \
-s GITHUB_TOKEN="$(gh auth token)" \
-s GCP_SA_KEY="$SA_KEY_JSON" \
-s KUBECONFIG_B64="$(cat $HOME/.kube/config | base64 -w0)" \
--container-options "-v $REPO_ROOT/.github/.act-tool-cache:/work/toolcache --user $(id -u):$(id -g)" \
--bind \
--directory $REPO_ROOT "${args[@]}"
23 changes: 23 additions & 0 deletions .github/release-please-v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"group-pull-request-title-pattern": "chore(v2): Release ${version}",
"pull-request-header": "Pending Aztec Packages v2 release",
"versioning": "always-bump-patch",
"include-component-in-tag": false,
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "chore", "section": "Miscellaneous", "hidden": false },
{ "type": "test", "section": "Miscellaneous", "hidden": false },
{ "type": "refactor", "section": "Miscellaneous", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false }
],
"packages": {
".": {
"release-type": "simple"
}
}
}
44 changes: 42 additions & 2 deletions .github/workflows/ci3-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
# The commit to checkout. We want our actual commit, and not the result of merging the PR to the target.
ref: ${{ github.event.pull_request.head.sha || github.sha }}
persist-credentials: false

# NOTE: in ci3.yml we just rely on draft mode not being mergable.
# Here we are a little more careful than just skipping the worklfow, in case of an edge case allowing merge.
Expand All @@ -43,7 +44,7 @@ jobs:
run: |
set -o pipefail
git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1 &>/dev/null
forbidden_changes=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} HEAD -- ci3 .github ci.sh)
forbidden_changes=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} HEAD -- ci3 .github ci.sh scripts)
if echo "$forbidden_changes" | grep -q .; then
echo "Error: External PRs can't contain CI changes (forbidden files: $forbidden_changes)."
exit 1
Expand All @@ -63,6 +64,10 @@ jobs:
# Remove any ci-external-once labels.
GITHUB_TOKEN=${{ secrets.AZTEC_BOT_GITHUB_TOKEN }} gh pr edit ${{ github.event.pull_request.number }} --remove-label "ci-external-once"

- name: CI Merge Queue Override (grind on PR)
if: contains(github.event.pull_request.labels.*.name, 'ci-merge-queue')
run: echo "CI_MERGE_QUEUE=1" >> $GITHUB_ENV

- name: CI Full Override
if: contains(github.event.pull_request.labels.*.name, 'ci-full')
run: echo "CI_FULL=1" >> $GITHUB_ENV
Expand All @@ -82,10 +87,21 @@ jobs:
echo ${{ secrets.BUILD_INSTANCE_SSH_KEY }} | base64 --decode > ~/.ssh/build_instance_key
chmod 600 ~/.ssh/build_instance_key

- name: Get Tree Hash
run: echo "TREE_HASH=$(git rev-parse HEAD^{tree})" >> $GITHUB_ENV

- name: Check CI Cache
id: ci_cache
uses: actions/cache@v3
with:
path: ci-success.txt
key: ci-external-${{ env.TREE_HASH }}

#############
# Run
#############
- name: Run
if: steps.ci_cache.outputs.cache-hit != 'true'
env:
# We need to pass these creds to start the AWS ec2 instance.
# They are not injected into that instance. Instead, it has minimal
Expand All @@ -97,8 +113,32 @@ jobs:
ARCH: amd64
RUN_ID: ${{ github.run_id }}
run: |
if [ "${CI_FULL:-0}" -eq 1 ]; then
if [ "${CI_MERGE_QUEUE:-0}" -eq 1 ]; then
exec ./ci.sh merge-queue
elif [ "${CI_FULL:-0}" -eq 1 ]; then
exec ./ci.sh full
else
exec ./ci.sh fast
fi

- name: Save CI Success
if: steps.ci_cache.outputs.cache-hit != 'true'
run: echo "success" > ci-success.txt

# If we have passed CI and labelled with ci-squash-and-merge, squash the PR.
# This will rerun CI on the squash commit - but is intended to be a no-op due to caching.
- name: CI Squash and Merge
if: contains(github.event.pull_request.labels.*.name, 'ci-squash-and-merge')
env:
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
# Reauth the git repo with our GITHUB_TOKEN
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
# Get the base commit (merge-base) for the PR
./scripts/merge-train/squash-pr.sh \
"${{ github.event.pull_request.number }}" \
"${{ github.event.pull_request.head.ref }}" \
"${{ github.event.pull_request.base.ref }}" \
"${{ github.event.pull_request.base.sha }}"
gh pr edit "${{ github.event.pull_request.number }}" --remove-label "ci-squash-and-merge"
gh pr merge "${{ github.event.pull_request.number }}" --auto -m || true
31 changes: 16 additions & 15 deletions .github/workflows/ci3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
# (github.event.pull_request.head.repo.fork resolves to nil if not a pull request)
if: github.event.pull_request.head.repo.fork != true && github.event.pull_request.draft == false
environment: ${{ startsWith(github.ref, 'refs/tags/v') && 'master' || '' }}
env:
GOOGLE_APPLICATION_CREDENTIALS: /tmp/gcp-key.json
steps:
#############
# Prepare Env
Expand All @@ -36,7 +38,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
# Fetch PR commits depth (we'll deepen by 1 in squash script if needed)
fetch-depth: ${{ github.event.pull_request.commits || 0 }}
token: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
persist-credentials: false

- name: CI Merge Queue Override (grind on PR)
if: contains(github.event.pull_request.labels.*.name, 'ci-merge-queue')
Expand All @@ -54,10 +56,6 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'ci-no-fail-fast')
run: echo "NO_FAIL_FAST=1" >> $GITHUB_ENV

- name: Barretenberg CI Override
if: contains(github.event.pull_request.labels.*.name, 'ci-barretenberg')
run: echo "CI_BARRETENBERG=1" >> $GITHUB_ENV

- name: Compute Target Branch
id: target_branch
run: |
Expand Down Expand Up @@ -91,15 +89,16 @@ jobs:
mkdir -p ~/.ssh
echo ${{ secrets.BUILD_INSTANCE_SSH_KEY }} | base64 --decode > ~/.ssh/build_instance_key
chmod 600 ~/.ssh/build_instance_key
# Install required packages.
sudo apt update && sudo apt install -y redis-tools parallel
sudo apt install -y --no-install-recommends redis-tools parallel

- name: Prepare GCP key
- name: Store the GCP key in a file
env:
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
run: |
echo "$GCP_SA_KEY" | base64 -w 0 > gcp_sa_key.b64
echo "GCP_SA_KEY_B64=$(cat gcp_sa_key.b64)" >> $GITHUB_ENV
set +x
umask 077
printf '%s' "$GCP_SA_KEY" > "$GOOGLE_APPLICATION_CREDENTIALS"
jq -e . "$GOOGLE_APPLICATION_CREDENTIALS" >/dev/null

- name: Get Tree Hash
run: echo "TREE_HASH=$(git rev-parse HEAD^{tree})" >> $GITHUB_ENV
Expand Down Expand Up @@ -127,7 +126,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# Nightly test env vars.
GCP_SA_KEY_B64: ${{ env.GCP_SA_KEY_B64 }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
EXTERNAL_ETHEREUM_HOSTS: "https://json-rpc.${{ secrets.GCP_SEPOLIA_URL }}?key=${{ secrets.GCP_SEPOLIA_API_KEY }},${{ secrets.INFURA_SEPOLIA_URL }}"
EXTERNAL_ETHEREUM_CONSENSUS_HOST: "https://beacon.${{ secrets.GCP_SEPOLIA_URL }}"
EXTERNAL_ETHEREUM_CONSENSUS_HOST_API_KEY: ${{ secrets.GCP_SEPOLIA_API_KEY }}
Expand All @@ -142,7 +141,7 @@ jobs:
exec ./ci.sh docs
elif [ "${CI_BARRETENBERG:-0}" -eq 1 ]; then
exec ./ci.sh barretenberg
elif [ "${{ contains(github.ref, '-nightly.') }}" == "true" ]; then
elif [ "${{ contains(github.ref, '-nightly.') }}" == "true" ] || [ "${{ contains(github.ref, '-rc.') }}" == "true" ]; then
exec ./ci.sh nightly
elif [ "${{ startsWith(github.ref, 'refs/tags/v') }}" == "true" ]; then
exec ./ci.sh release
Expand All @@ -161,21 +160,23 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
# Reauth the git repo with our GITHUB_TOKEN
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
# Get the base commit (merge-base) for the PR
./scripts/merge-train/squash-pr.sh \
"${{ github.event.pull_request.number }}" \
"${{ github.event.pull_request.head.ref }}" \
"${{ github.event.pull_request.base.ref }}" \
"${{ github.event.pull_request.base.sha }}"
gh pr edit "${{ github.event.pull_request.number }}" --remove-label "ci-squash-and-merge"
gh pr ready "${{ github.event.pull_request.number }}" || true
gh pr merge "${{ github.event.pull_request.number }}" --auto -m || true

- name: Download benchmarks
if: github.event_name == 'merge_group'
if: github.event_name == 'merge_group' || env.CI_FULL == '1'
run: ./ci.sh gh-bench

- name: Upload benchmarks
if: github.event_name == 'merge_group'
if: github.event_name == 'merge_group' || env.CI_FULL == '1'
uses: benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29
with:
name: Aztec Benchmarks
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Create Release Branch

# Take the current version from the release-please-manifest.json file on `next`,
# and create a release branch for it. Then update the release-please-manifest.json file on `next` to the next version.

on:
workflow_dispatch:
inputs:
source_commit:
description: "Source commit SHA from next branch"
required: true
type: string

env:
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}

jobs:
create-release-branch:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: ${{ github.event.inputs.source_commit }}
token: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
fetch-depth: 0

- name: Configure Git
run: |
git config --global user.name "AztecBot"
git config --global user.email "tech@aztecprotocol.com"

- name: Create release branch
run: |
# Get the version from the release-please-manifest.json file
CURRENT_VERSION=$(jq -r '."."' .release-please-manifest.json)

# grab major version
CURRENT_MAJOR_VERSION="${CURRENT_VERSION%%.*}"

# create branch name
BRANCH_NAME="v${CURRENT_MAJOR_VERSION}"

# Check if branch already exists
if git ls-remote --heads origin "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
echo "Error: Branch $BRANCH_NAME already exists"
exit 1
fi

# Create and push the branch
git checkout -b "$BRANCH_NAME"
git push origin "$BRANCH_NAME"

# increment major version
NEXT_MAJOR_VERSION=$((CURRENT_MAJOR_VERSION + 1))
NEXT_VERSION="${NEXT_MAJOR_VERSION}.0.0"

# update release-please-manifest.json on `next` branch
git fetch origin next
git checkout -B next origin/next
jq --arg version "$NEXT_VERSION" '.["."] = $version' .release-please-manifest.json > temp.json && mv temp.json .release-please-manifest.json
git add .release-please-manifest.json
git commit -m "chore(release): update release-please-manifest.json to $NEXT_VERSION"
git push origin next
Loading
Loading