feat!: Aztec v6 (@aztec-labs), block-duration-ms input, SHA-pinned actions - #3
Merged
Merged
Conversation
Floating tags (setup-aztec@v0, create-or-update-comment@v4, checkout@v4, upload-artifact@v4, setup-node@v4) let upstream change what runs, and a caller's SHA pin on these reusable workflows did not pin them. Also stop persisting the checkout token in the reusable workflows (PR code and installers run in the same job) and stop passing all repo secrets to the upstream pre-release workflow, which uses none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move ${{ }} expressions used inside run: into step env (publish.yml
version/tag checks, the comment-minimize step), quote $GITHUB_OUTPUT, and
make the action's npx call refuse to install: the unscoped
`aztec-benchmark` npm package belongs to a third party.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lows
Callers can set the local network's SEQ_BLOCK_DURATION_MS. The per-tx DA
gas cap scales with blocks per checkpoint: the 3 s default admits 55836,
6000 ms (mainnet's block duration) admits 117624, enough for large
contract-class publications. The value is validated before checkout because
Aztec parses it with parseFloat ("6s" would mean 6 ms); empty keeps today's
environment untouched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rity model Replace the non-existent @v0 refs with commit-SHA pins, add contents: read to the example permissions, complete the PR Benchmark inputs table, and explain why the per-tx DA cap depends on block duration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aztec v6 renamed its npm scope from @Aztec to @aztec-labs. Peers are now @aztec-labs/aztec.js and @aztec-labs/wallets at >=6.0.0-0 <7 (any 6.0.0 pre-release, since upstream's latest tag points at a nightly), and config.aztecVersion moves to 6.0.0-rc.1. The CLI only uses these packages in type positions, so the emitted dist/*.js is byte-identical to 5.0.1; only the .d.ts specifiers change. BREAKING CHANGE: requires @aztec-labs/* v6 peers; v5 (@aztec/*) consumers stay on 5.0.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-echo invariant The trigger warning applies to pr-benchmark.yml only (update-baseline runs on push), and on fork PRs the failed comment step also skips the baseline upload. The validator comment now records why the value is never echoed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alejoamiras
added a commit
to AztecProtocol/aztec-standards
that referenced
this pull request
Sep 30, 2026
The Vault benchmark's setup publishes the Vault contract class (63,776 DA gas). The local network's default 3s blocks cap a tx at 55,836, and aztec-benchmark's reusable workflows had no way to change that. Pin both workflows to AztecProtocol/aztec-benchmark#3, which adds a block-duration-ms input, and pass 6000 (mainnet's 6s blocks: 117,624). This is a pre-release commit; swap it for the v6.0.0-rc.1 tag commit before merging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IlyasRidhuan
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves aztec-benchmark to Aztec v6 and unblocks aztec-standards#38.
Changes
@aztec/*to@aztec-labs/*, and the peers now follow at>=6.0.0-0 <7. The package version becomes6.0.0-rc.1; v5 users stay on5.0.1.block-duration-msinput onpr-benchmark.ymlandupdate-baseline.yml. With the local network's default 3 s blocks, a transaction can use at most 55,836 DA gas, and aztec-standards' Vault class publish needs 63,776. Setting"6000"(mainnet's block time) raises the limit to 117,624. Leaving the input empty keeps today's behaviour.setup-aztec@v0, so a caller pinning our workflow didn't actually pin what ran.pre-release.ymlno longer usessecrets: inherit;${{ }}insiderun:blocks;npx --no. The unscopedaztec-benchmarknpm package belongs to someone else, and plainnpxcould download and run it.Testing
"6000", the Vault benchmark passes."6s", it stops in the first step.update-baselinepasses.6.0.0-rc.1ran a benchmark end to end.Notes
Releasing 6.0.0-rc.1 (after merge)
Sto the squash commit onmain, then tag it:git tag -s v6.0.0-rc.1 $S -m v6.0.0-rc.1 && git push origin v6.0.0-rc.1.gh release create v6.0.0-rc.1 --verify-tag --target main --prerelease --generate-notes. The target must bemain, not a SHA, orpublish.ymlskips publishing.publish.ymlrun, confirm the head SHA is$S, then approve thePublisherenvironment. It publishes under thercdist-tag, andlateststays at 5.0.1.maininstead:gh workflow run publish.yml --ref main -f version=6.0.0-rc.1.🤖 Generated with Claude Code