From 895be9313bf725b2438089dde1d3830c8202eca6 Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 14:32:16 +0000 Subject: [PATCH 1/7] ci: pin every action to a full commit SHA 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 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pr-benchmark.yml | 10 ++++++---- .github/workflows/pre-release.yml | 3 +-- .github/workflows/publish.yml | 8 ++++---- .github/workflows/update-baseline.yml | 8 +++++--- 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b67e6ba..b739ad7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out github repository - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Use Node - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 22.17.0 cache: "yarn" diff --git a/.github/workflows/pr-benchmark.yml b/.github/workflows/pr-benchmark.yml index 09e5aab..ea555ec 100644 --- a/.github/workflows/pr-benchmark.yml +++ b/.github/workflows/pr-benchmark.yml @@ -57,13 +57,15 @@ jobs: timeout-minutes: ${{ inputs.timeout }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 + # PR code and third-party installers run in this job; keep the write-scoped token off disk. + persist-credentials: false - name: Setup Aztec environment - uses: AztecProtocol/aztec-ci-actions/actions/setup-aztec@v0 + uses: AztecProtocol/aztec-ci-actions/actions/setup-aztec@431859e477234b8690eb1f80d1305d2e34f10f1b # v0.1.1 with: start-pxe: "true" run-codegen: "true" @@ -141,7 +143,7 @@ jobs: done - name: Comment diff on PR - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0 with: issue-number: ${{ github.event.pull_request.number }} body-path: benchmark-comparison.md @@ -162,7 +164,7 @@ jobs: echo "head-ref-encoded=${encoded}" >> $GITHUB_OUTPUT - name: Upload baseline - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: benchmark-baseline-${{ steps.encode-head.outputs.head-ref-encoded }} path: ${{ env.BENCH_DIR }}/*${{ env.CURRENT_SUFFIX }}.benchmark.json diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 4460d10..57ecd02 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -8,8 +8,7 @@ permissions: jobs: pre-release: - uses: AztecProtocol/aztec-ci-actions/.github/workflows/pre-release.yml@v0 + uses: AztecProtocol/aztec-ci-actions/.github/workflows/pre-release.yml@431859e477234b8690eb1f80d1305d2e34f10f1b # v0.1.1 with: run-compile: false run-codegen: false - secrets: inherit diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b4781fb..eb8f4c9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,10 +33,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out github repository - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Use Node - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 22.17.0 cache: "yarn" @@ -76,10 +76,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out github repository - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Use Node - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 22.17.0 cache: "yarn" diff --git a/.github/workflows/update-baseline.yml b/.github/workflows/update-baseline.yml index f0a01b8..c3094db 100644 --- a/.github/workflows/update-baseline.yml +++ b/.github/workflows/update-baseline.yml @@ -35,12 +35,14 @@ jobs: timeout-minutes: ${{ inputs.timeout }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 0 + # Dependency scripts and third-party installers run in this job; keep the write-scoped token off disk. + persist-credentials: false - name: Setup Aztec environment - uses: AztecProtocol/aztec-ci-actions/actions/setup-aztec@v0 + uses: AztecProtocol/aztec-ci-actions/actions/setup-aztec@431859e477234b8690eb1f80d1305d2e34f10f1b # v0.1.1 with: start-pxe: "true" run-codegen: "true" @@ -64,7 +66,7 @@ jobs: echo "branch-encoded=${encoded}" >> $GITHUB_OUTPUT - name: Upload baseline artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: benchmark-baseline-${{ steps.encode.outputs.branch-encoded }} path: ${{ env.BENCH_DIR }}/*${{ env.BENCH_SUFFIX }}.benchmark.json From 6b40a423c2aca34798ca66aade7ee50eb119aa70 Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 14:33:54 +0000 Subject: [PATCH 2/7] fix(ci): keep expressions and untrusted values out of shell scripts 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 --- .github/workflows/pr-benchmark.yml | 13 ++++++++----- .github/workflows/publish.yml | 8 +++++--- .github/workflows/update-baseline.yml | 2 +- action/index.cjs | 3 ++- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr-benchmark.yml b/.github/workflows/pr-benchmark.yml index ea555ec..8bba6e2 100644 --- a/.github/workflows/pr-benchmark.yml +++ b/.github/workflows/pr-benchmark.yml @@ -79,11 +79,11 @@ jobs: BASE_REF: ${{ github.event.pull_request.base.ref }} run: | encoded=$(echo "${BASE_REF}" | sed 's/\//-/g') - echo "base-ref-encoded=${encoded}" >> $GITHUB_OUTPUT + echo "base-ref-encoded=${encoded}" >> "$GITHUB_OUTPUT" if [[ "${BASE_REF}" == "main" ]]; then - echo "workflow=${BASELINE_WORKFLOW}" >> $GITHUB_OUTPUT + echo "workflow=${BASELINE_WORKFLOW}" >> "$GITHUB_OUTPUT" else - echo "workflow=${PR_WORKFLOW}" >> $GITHUB_OUTPUT + echo "workflow=${PR_WORKFLOW}" >> "$GITHUB_OUTPUT" fi - name: Download baseline artifact @@ -130,10 +130,13 @@ jobs: continue-on-error: true env: GH_TOKEN: ${{ github.token }} + REPO: ${{ github.repository }} + PR_NUMBER: ${{ github.event.pull_request.number }} run: | - node_ids=$(gh api "/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" \ + node_ids=$(gh api "/repos/${REPO}/issues/${PR_NUMBER}/comments" \ --paginate --jq '.[] | select(.body | contains("")) | .node_id') for node_id in $node_ids; do + # shellcheck disable=SC2016 # $id is a GraphQL variable, not shell gh api graphql -f query=' mutation($id: ID!) { minimizeComment(input: {subjectId: $id, classifier: OUTDATED}) { @@ -161,7 +164,7 @@ jobs: HEAD_REF: ${{ github.event.pull_request.head.ref }} run: | encoded=$(echo "${HEAD_REF}" | sed 's/\//-/g') - echo "head-ref-encoded=${encoded}" >> $GITHUB_OUTPUT + echo "head-ref-encoded=${encoded}" >> "$GITHUB_OUTPUT" - name: Upload baseline uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eb8f4c9..33017a6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -87,8 +87,9 @@ jobs: - name: Validate input version matches package.json if: github.event_name == 'workflow_dispatch' && github.event.inputs.version != '' + env: + INPUT_VERSION: ${{ github.event.inputs.version }} run: | - INPUT_VERSION="${{ github.event.inputs.version }}" PKG_VERSION=$(node -p "require('./package.json').version") echo "Input version: $INPUT_VERSION" echo "package.json version: $PKG_VERSION" @@ -99,9 +100,10 @@ jobs: - name: Validate release tag matches package.json if: github.event_name == 'release' + env: + RELEASE_TAG: ${{ github.event.release.tag_name }} run: | - TAG_VERSION="${{ github.event.release.tag_name }}" - TAG_VERSION="${TAG_VERSION#v}" # Strip an optional leading "v" + TAG_VERSION="${RELEASE_TAG#v}" # Strip an optional leading "v" PKG_VERSION=$(node -p "require('./package.json').version") echo "Release tag version: $TAG_VERSION" echo "package.json version: $PKG_VERSION" diff --git a/.github/workflows/update-baseline.yml b/.github/workflows/update-baseline.yml index c3094db..d92e5bc 100644 --- a/.github/workflows/update-baseline.yml +++ b/.github/workflows/update-baseline.yml @@ -63,7 +63,7 @@ jobs: BRANCH_NAME: ${{ github.ref_name }} run: | encoded=$(echo "${BRANCH_NAME}" | sed 's/\//-/g') - echo "branch-encoded=${encoded}" >> $GITHUB_OUTPUT + echo "branch-encoded=${encoded}" >> "$GITHUB_OUTPUT" - name: Upload baseline artifact uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 diff --git a/action/index.cjs b/action/index.cjs index 7e2e9dd..437f7be 100644 --- a/action/index.cjs +++ b/action/index.cjs @@ -52,7 +52,8 @@ async function run() { const execOptions = { cwd: process.cwd() }; - const exitCode = await exec.exec('npx aztec-benchmark', cliArgs, execOptions); + // --no: never fall back to fetching the unscoped `aztec-benchmark` npm package, which is a third party's. + const exitCode = await exec.exec('npx --no aztec-benchmark', cliArgs, execOptions); if (exitCode !== 0) { throw new Error(`Benchmark CLI execution failed with exit code ${exitCode}`); } From d37a5b9f478dd7047ef203c6db3b57d6fb346ab6 Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 14:33:55 +0000 Subject: [PATCH 3/7] feat(ci): add block-duration-ms input to the reusable benchmark workflows 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 --- .github/workflows/pr-benchmark.yml | 16 ++++++++++++++++ .github/workflows/update-baseline.yml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/.github/workflows/pr-benchmark.yml b/.github/workflows/pr-benchmark.yml index 8bba6e2..1e076b3 100644 --- a/.github/workflows/pr-benchmark.yml +++ b/.github/workflows/pr-benchmark.yml @@ -35,6 +35,10 @@ on: description: "Include per-circuit gate breakdown in the report" type: boolean default: false + block-duration-ms: + description: "Local-network block duration in ms, exported as SEQ_BLOCK_DURATION_MS. Empty keeps the Aztec default (3000). 6000 matches mainnet's block duration and raises the per-tx DA gas cap from 55836 to 117624." + type: string + default: "" permissions: contents: read @@ -56,6 +60,18 @@ jobs: runs-on: ${{ inputs.runner }} timeout-minutes: ${{ inputs.timeout }} steps: + - name: Configure block duration + if: inputs.block-duration-ms != '' + env: + BLOCK_DURATION_MS: ${{ inputs.block-duration-ms }} + run: | + # Aztec parses this env var with parseFloat, so "6s" would silently mean 6 ms. + if [[ ! "$BLOCK_DURATION_MS" =~ ^[1-9][0-9]*$ ]]; then + echo "::error::block-duration-ms must be a positive integer number of milliseconds" + exit 1 + fi + echo "SEQ_BLOCK_DURATION_MS=$BLOCK_DURATION_MS" >> "$GITHUB_ENV" + - name: Checkout uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: diff --git a/.github/workflows/update-baseline.yml b/.github/workflows/update-baseline.yml index d92e5bc..674c30a 100644 --- a/.github/workflows/update-baseline.yml +++ b/.github/workflows/update-baseline.yml @@ -19,6 +19,10 @@ on: description: "Suffix for benchmark report files" type: string default: "_latest" + block-duration-ms: + description: "Local-network block duration in ms, exported as SEQ_BLOCK_DURATION_MS. Empty keeps the Aztec default (3000). 6000 matches mainnet's block duration and raises the per-tx DA gas cap from 55836 to 117624." + type: string + default: "" permissions: contents: read @@ -34,6 +38,18 @@ jobs: runs-on: ${{ inputs.runner }} timeout-minutes: ${{ inputs.timeout }} steps: + - name: Configure block duration + if: inputs.block-duration-ms != '' + env: + BLOCK_DURATION_MS: ${{ inputs.block-duration-ms }} + run: | + # Aztec parses this env var with parseFloat, so "6s" would silently mean 6 ms. + if [[ ! "$BLOCK_DURATION_MS" =~ ^[1-9][0-9]*$ ]]; then + echo "::error::block-duration-ms must be a positive integer number of milliseconds" + exit 1 + fi + echo "SEQ_BLOCK_DURATION_MS=$BLOCK_DURATION_MS" >> "$GITHUB_ENV" + - name: Checkout uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: From c3543065b70d1c511d09817afb5ca59338f73f11 Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 14:35:02 +0000 Subject: [PATCH 4/7] docs: document SHA pinning, block-duration-ms and the workflows' security 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 --- README.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 54 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 71b9c02..dfb4619 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,11 @@ Use the CLI to execute benchmark files written in TypeScript. For CI integration - [Writing Benchmarks](#writing-benchmarks) - [Benchmark Output](#benchmark-output) - [Reusable Workflows](#reusable-workflows) + - [Pinning a version](#pinning-a-version) + - [Security notes](#security-notes) - [PR Benchmark (`pr-benchmark.yml`)](#pr-benchmark-pr-benchmarkyml) - [Update Baseline (`update-baseline.yml`)](#update-baseline-update-baselineyml) + - [Block duration](#block-duration) - [How Baselines Work](#how-baselines-work) - [Action Usage (Advanced)](#action-usage-advanced) - [Inputs](#inputs) @@ -229,7 +232,23 @@ Each entry in the output will be identified by the custom `name` you provided (i ## Reusable Workflows -This repository ships two **reusable GitHub workflows** (`workflow_call`) that handle the full CI benchmark cycle. Consumer repos call them with a single `uses:` line — no need to copy workflow YAML or wire up artifact management manually. +This repository ships two **reusable GitHub workflows** (`workflow_call`) that handle the full CI benchmark cycle. Consumer repos call them with a single `uses:` line, with no workflow YAML to copy and no artifact management to wire up by hand. + +### Pinning a version + +Reference the workflows by the full commit SHA of a release, with the tag as a comment. A tag can be moved, but a SHA always names the same code. To resolve a release tag to its commit: + +```sh +gh api repos/AztecProtocol/aztec-benchmark/commits/v6.0.0-rc.1 --jq .sha +``` + +The examples below use `` as a placeholder for that value. + +### Security notes + +- Trigger these workflows from `pull_request`, never `pull_request_target`. They check out and run the PR's code, including its benchmarks and dependency install scripts, in the same job that holds the token used to comment. +- The checkout does not persist the GitHub token (`persist-credentials: false`). If your dependency install needs authenticated git access, for example private git dependencies, authenticate that step separately. +- PRs from forks get a read-only token, so the comment step fails on them. The benchmarks still run. ### PR Benchmark (`pr-benchmark.yml`) @@ -247,8 +266,9 @@ on: jobs: benchmark: - uses: AztecProtocol/aztec-benchmark/.github/workflows/pr-benchmark.yml@v0 + uses: AztecProtocol/aztec-benchmark/.github/workflows/pr-benchmark.yml@ # v6.0.0-rc.1 permissions: + contents: read pull-requests: write issues: write actions: read @@ -261,14 +281,21 @@ jobs: | `runner` | `string` | `ubuntu-latest-m` | GitHub runner label | | `timeout` | `number` | `120` | Job timeout in minutes | | `bench-dir` | `string` | `./benchmarks` | Directory for benchmark files | +| `current-suffix` | `string` | `_latest` | Suffix for baseline benchmark files | +| `pr-suffix` | `string` | `_new` | Suffix for PR benchmark files | +| `baseline-workflow` | `string` | `update-baseline.yml` | Workflow file that produces baselines for `main` | +| `pr-workflow` | `string` | `pr-checks.yml` | Workflow file that produces baselines for other base branches | +| `circuit-details` | `boolean` | `false` | Include a per-circuit gate breakdown in the report | +| `block-duration-ms` | `string` | `""` | Local-network block duration in ms; see [Block duration](#block-duration) | **With custom inputs:** ```yaml jobs: benchmark: - uses: AztecProtocol/aztec-benchmark/.github/workflows/pr-benchmark.yml@v0 + uses: AztecProtocol/aztec-benchmark/.github/workflows/pr-benchmark.yml@ # v6.0.0-rc.1 permissions: + contents: read pull-requests: write issues: write actions: read @@ -276,11 +303,12 @@ jobs: runner: ubuntu-latest-l timeout: 180 bench-dir: ./my-benchmarks + block-duration-ms: "6000" ``` ### Update Baseline (`update-baseline.yml`) -Runs benchmarks on the current branch and uploads the results as a baseline artifact. This should be triggered on pushes to your default branches so that PR benchmarks have a baseline to compare against. +Runs benchmarks on the current branch and uploads the results as a baseline artifact. Trigger it on pushes to your default branches, so that PR benchmarks have a baseline to compare against. **Usage:** @@ -294,7 +322,7 @@ on: jobs: update-baseline: - uses: AztecProtocol/aztec-benchmark/.github/workflows/update-baseline.yml@v0 + uses: AztecProtocol/aztec-benchmark/.github/workflows/update-baseline.yml@ # v6.0.0-rc.1 permissions: contents: read actions: write @@ -307,13 +335,33 @@ jobs: | `runner` | `string` | `ubuntu-latest-m` | GitHub runner label | | `timeout` | `number` | `120` | Job timeout in minutes | | `bench-dir` | `string` | `./benchmarks` | Directory for benchmark files | +| `current-suffix` | `string` | `_latest` | Suffix for benchmark report files | +| `block-duration-ms` | `string` | `""` | Local-network block duration in ms; see [Block duration](#block-duration) | + +### Block duration + +`setup-aztec` starts a local network with Aztec's default 3-second blocks. Each transaction's DA gas cap is a share of the checkpoint's blob space, so more blocks per checkpoint means a lower cap: + +| Block duration | Blocks per 72 s checkpoint | Per-tx DA gas cap | +|---|---|---| +| 3000 ms (default) | 21 | 55,836 | +| 6000 ms (mainnet) | 10 | 117,624 | + +A benchmark that publishes a large contract class can exceed the default cap, and then fails with `Transaction consumes N DA gas but the network only admits transactions declaring up to 55836 DA gas`. Set the same value on both workflows: + +```yaml + with: + block-duration-ms: "6000" +``` + +The value must be a positive integer number of milliseconds; anything else fails the job's first step. The node refuses to start with values it can't schedule, which is anything above about 33000 with the local network's 72 s slots. Leave the input empty to keep Aztec's default. ### How Baselines Work The workflows use GitHub Actions artifacts to store and retrieve baseline benchmark results: 1. **`update-baseline.yml`** runs benchmarks with the `_latest` suffix and uploads the results as `benchmark-baseline-`. -2. **`pr-benchmark.yml`** runs benchmarks with the `_new` suffix on the PR head, then downloads the `benchmark-baseline-` artifact to get the `_latest` files. It compares `_latest` (baseline) vs `_new` (PR) and comments a Markdown diff table on the PR. +2. **`pr-benchmark.yml`** runs benchmarks with the `_new` suffix on the PR head, then downloads the `benchmark-baseline-` artifact to get the `_latest` files. It compares `_latest` (baseline) with `_new` (PR) and comments a Markdown diff table on the PR. 3. Before posting the new comment, the workflow finds all previous benchmark comments on the PR (identified by a unique marker in the comment body) and hides them as **Outdated** via the GitHub GraphQL API, so the PR timeline stays clean. 4. After comparison, the PR workflow renames `_new` files to `_latest` and uploads them as `benchmark-baseline-`, so stacked PRs can also compare against each other. From 93667ddd1117dedeb6f092d1d1702628ed69ba21 Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 16:01:49 +0000 Subject: [PATCH 5/7] feat!: move to Aztec v6 (@aztec-labs/* packages), release 6.0.0-rc.1 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 --- cli/cli.ts | 2 +- cli/feeWrappedInteraction.ts | 6 +- cli/profiler.ts | 8 +- cli/types.ts | 8 +- package.json | 12 +- yarn.lock | 672 ++++++++++++++++++++--------------- 6 files changed, 399 insertions(+), 309 deletions(-) diff --git a/cli/cli.ts b/cli/cli.ts index ca4ba19..5766aa0 100644 --- a/cli/cli.ts +++ b/cli/cli.ts @@ -5,7 +5,7 @@ import path from 'node:path'; import toml from '@iarna/toml'; import { Profiler } from './profiler.js'; import { BenchmarkBase, BenchmarkContext, type ProfileResult, type NamedBenchmarkedInteraction } from './types.js'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; /** * Represents the structure of the [benchmark] section in Nargo.toml. diff --git a/cli/feeWrappedInteraction.ts b/cli/feeWrappedInteraction.ts index 4a83f7d..83f4262 100644 --- a/cli/feeWrappedInteraction.ts +++ b/cli/feeWrappedInteraction.ts @@ -1,4 +1,4 @@ -import type { FeePaymentMethod } from '@aztec/aztec.js/fee'; +import type { FeePaymentMethod } from '@aztec-labs/aztec.js/fee'; import { ContractFunctionInteraction, type GasSettingsOption, @@ -6,8 +6,8 @@ import { type SimulateInteractionOptions, type ProfileInteractionOptions, type SendInteractionOptions, -} from '@aztec/aztec.js/contracts'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; +} from '@aztec-labs/aztec.js/contracts'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; import type { NamedBenchmarkedInteraction } from './types.js'; diff --git a/cli/profiler.ts b/cli/profiler.ts index b412422..bb6f171 100644 --- a/cli/profiler.ts +++ b/cli/profiler.ts @@ -1,7 +1,7 @@ -import type { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; -import type { FeePaymentMethod } from '@aztec/aztec.js/fee'; -import { EmbeddedWallet } from '@aztec/wallets/embedded'; +import type { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; +import type { FeePaymentMethod } from '@aztec-labs/aztec.js/fee'; +import { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; import fs from 'node:fs'; import { diff --git a/cli/types.ts b/cli/types.ts index c61c425..acd54c0 100644 --- a/cli/types.ts +++ b/cli/types.ts @@ -1,7 +1,7 @@ -import type { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; -import type { FeePaymentMethod } from '@aztec/aztec.js/fee'; -import { EmbeddedWallet } from '@aztec/wallets/embedded'; +import type { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; +import type { FeePaymentMethod } from '@aztec-labs/aztec.js/fee'; +import { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; import type { SystemInfo } from './systemInfo.js'; export type { SystemInfo } from './systemInfo.js'; diff --git a/package.json b/package.json index 6e3d101..e42de1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aztec-foundation/aztec-benchmark", - "version": "5.0.1", + "version": "6.0.0-rc.1", "description": "CLI tool and GitHub Action for Aztec contract benchmarking", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -46,16 +46,16 @@ "typescript": "5.8.3" }, "peerDependencies": { - "@aztec/aztec.js": ">=5.0.0 <6", - "@aztec/wallets": ">=5.0.0 <6" + "@aztec-labs/aztec.js": ">=6.0.0-0 <7", + "@aztec-labs/wallets": ">=6.0.0-0 <7" }, "config": { - "aztecVersion": "5.0.1" + "aztecVersion": "6.0.0-rc.1" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", "devDependencies": { - "@aztec/aztec.js": "5.0.1", - "@aztec/wallets": "5.0.1", + "@aztec-labs/aztec.js": "6.0.0-rc.1", + "@aztec-labs/wallets": "6.0.0-rc.1", "@commitlint/cli": "20.3.1", "@commitlint/config-conventional": "20.2.0", "@vercel/ncc": "0.38.3", diff --git a/yarn.lock b/yarn.lock index 7dbc2f7..4af89bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -583,131 +583,233 @@ resolved "https://registry.yarnpkg.com/@aws/lambda-invoke-store/-/lambda-invoke-store-0.2.4.tgz#802f6a50f6b6589063ef63ba8acdee86fcb9f395" integrity sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ== -"@aztec/accounts@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/accounts/-/accounts-5.0.1.tgz#bf41787c43ca4c4ffbe63f676bafc1e2b94fa2de" - integrity sha512-IeHbWmvXtus4D6LoMLhkahkxdPGf42tUGVY8Qs4gpFvcPhoHwkfDRie/RlBKAkhiGjMJytkZLnq7rqxkNEMzYQ== - dependencies: - "@aztec/aztec.js" "5.0.1" - "@aztec/entrypoints" "5.0.1" - "@aztec/ethereum" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/stdlib" "5.0.1" - tslib "^2.4.0" - -"@aztec/aztec.js@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/aztec.js/-/aztec.js-5.0.1.tgz#f2bfa2ec10c97bcd2b048fc9c01a0a625d58f2a4" - integrity sha512-aEAhMDhfYwLmpht1AlWuXrYUbgwZgSrXoTsT0NIVb3ACM3ksTJvhy1WFkdaNe2odgkU8nBGxWYnWQxX4WACZ7g== - dependencies: - "@aztec/constants" "5.0.1" - "@aztec/entrypoints" "5.0.1" - "@aztec/ethereum" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/l1-artifacts" "5.0.1" - "@aztec/protocol-contracts" "5.0.1" - "@aztec/standard-contracts" "5.0.1" - "@aztec/stdlib" "5.0.1" - axios "^1.15.1" - tslib "^2.4.0" - viem "npm:@aztec/viem@2.38.2" - zod "^4" - -"@aztec/bb-prover@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/bb-prover/-/bb-prover-5.0.1.tgz#dc6f3fe5dc97be69a279d308d8ba7b085096871d" - integrity sha512-oEQZE066BSMPMlZYmL5Yqpahcn7Mf38VuEU37Ghe63nJbgc9tfRar5GPwVZxE/RND6hbbik0k7LZ2E0gd7WtGQ== - dependencies: - "@aztec/bb.js" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/noir-noirc_abi" "5.0.1" - "@aztec/noir-protocol-circuits-types" "5.0.1" - "@aztec/noir-types" "5.0.1" - "@aztec/simulator" "5.0.1" - "@aztec/stdlib" "5.0.1" - "@aztec/telemetry-client" "5.0.1" - "@aztec/world-state" "5.0.1" - commander "^12.1.0" +"@aztec-foundation/bb-avm-sim-darwin-arm64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/bb-avm-sim-darwin-arm64/-/bb-avm-sim-darwin-arm64-6.0.0-rc.1.tgz#7749eff9d94ec4ceadaa8e73f6a08bd332a1e886" + integrity sha512-uXX0w2HFmD4OYgx7mVkdC0s2y8mPg8EKt/3Z4ndJyuTZUVX1XoQoOA396w1RYPgmlkk/rNYVWOa8CDWAbQJObA== + +"@aztec-foundation/bb-avm-sim-darwin-x64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/bb-avm-sim-darwin-x64/-/bb-avm-sim-darwin-x64-6.0.0-rc.1.tgz#53403c5efa782de6860682abc1b23fe3ae2905f8" + integrity sha512-yUmd2ZIRmZn4LREajZjQ3FV47BmlVvLrA0OO4vIDMW7NjtbpX4gHXHRgpiwzZid7KdLoyBeyIJPTzo9HijhVUA== + +"@aztec-foundation/bb-avm-sim-linux-arm64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/bb-avm-sim-linux-arm64/-/bb-avm-sim-linux-arm64-6.0.0-rc.1.tgz#d17cf7d71c136d3ecbba29abd0ab2a1f27c6d6c3" + integrity sha512-YXq2lptcpJ9V2SuGxYQQsBORK3IoOyb1+vNDI+OKDmDsY6/3YowRp3HNUVq1NBjcH4yS2BKBKKLDQI+j2YxV0g== + +"@aztec-foundation/bb-avm-sim-linux-x64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/bb-avm-sim-linux-x64/-/bb-avm-sim-linux-x64-6.0.0-rc.1.tgz#1d3299dc2ea1f959f04cc01419d393d4eda2ab20" + integrity sha512-IQOhbflxLDO8Za/WUHEdqbzpIbSTKCRRoM/rCMaaDC6hwh0A+9XnBGdiW6WwXidoBI7PEuDPYEsKXGhkuaEN2g== + +"@aztec-foundation/bb-avm-sim@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/bb-avm-sim/-/bb-avm-sim-6.0.0-rc.1.tgz#cecac265241daa10faadd0356c4fb8fce56dabbe" + integrity sha512-lF4SD7tAtu13JY6FzuBWyLqcloDTw1WUffnQZVwLK5Bwj/KA04EwbAneFIo9SbVZ/R/Xp1THU0Vwnyp0lNyAAA== + dependencies: + "@aztec-foundation/ipc-runtime" "6.0.0-rc.1" msgpackr "^1.11.2" - pako "^2.1.0" - source-map-support "^0.5.21" tslib "^2.4.0" + optionalDependencies: + "@aztec-foundation/bb-avm-sim-darwin-arm64" "6.0.0-rc.1" + "@aztec-foundation/bb-avm-sim-darwin-x64" "6.0.0-rc.1" + "@aztec-foundation/bb-avm-sim-linux-arm64" "6.0.0-rc.1" + "@aztec-foundation/bb-avm-sim-linux-x64" "6.0.0-rc.1" -"@aztec/bb.js@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/bb.js/-/bb.js-5.0.1.tgz#a64c15559d07b8cdece3de40e4cdc992e1822061" - integrity sha512-4tPtbW3/KMAjDyjSqHFMCyorTiafeG1bLjiNhgZqivdkzlUCfRgmrgC+zkKGDz6aYMlL199AOm4f6Om3jXfShA== +"@aztec-foundation/bb.js@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/bb.js/-/bb.js-6.0.0-rc.1.tgz#72165b887c3c53a257996495fcfff37ff2d528a6" + integrity sha512-8ri/FxhxOq1sD+gIf33u3WELAKpSfxCLIVHRr0FjQHK+/IJZWTjyLIloJIaGl9SzQDheRPwaNqgWDQGA6Uoi0Q== dependencies: comlink "^4.4.1" commander "^12.1.0" idb-keyval "^6.2.1" msgpackr "^1.11.2" pako "^2.1.0" + proper-lockfile "^4.1.2" tslib "^2.4.0" -"@aztec/blob-lib@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/blob-lib/-/blob-lib-5.0.1.tgz#dccaea684f0ca822373d30669dffac4fc07808c2" - integrity sha512-YfcORZWrCBzAXW+ZVBAeZi2YA3K6pXzPyXJ6dj5FxyCglGYGA7qz5+ghZdui5GgJeIzBhjVODh9FY9NW3C/zcA== +"@aztec-foundation/cdb@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/cdb/-/cdb-6.0.0-rc.1.tgz#c25404838ad3607f2d2abbc2c6b38825322e5302" + integrity sha512-Bk9pBWKRrpQ5BfZ1EaLa6MNGdHkcaQ0CS3X5oNLDYZ5K0psu6I3tlZSEPrDk1y0w4kujSQmtgM7dzIJ28A+kdw== dependencies: - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@crate-crypto/node-eth-kzg" "^0.10.0" + msgpackr "^1.11.2" tslib "^2.4.0" -"@aztec/builder@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/builder/-/builder-5.0.1.tgz#2e4be75067a9855854b55479b9320cfb84b220d1" - integrity sha512-423Yp84fubmI0HIITDQaxvtIeD2rpAslejBDOhbjJRUbBILkkObmw4aK3eYXXaHmqz+WFicqKfWtVu6VhPD3Sg== +"@aztec-foundation/ipc-runtime@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/ipc-runtime/-/ipc-runtime-6.0.0-rc.1.tgz#d1dd682f627acd4c909b1680be6f9f3b35c27b9d" + integrity sha512-J9vp8kHIuUvpSeIDTNCBvLYn2Fs2xkQn+/zvrYhWDxwpRKmhOT0YOMxokTEbXzNu1aT/X2XfhBuSfeyUdcLrRA== + +"@aztec-foundation/l1-artifacts@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/l1-artifacts/-/l1-artifacts-6.0.0-rc.1.tgz#0389aafb7232f35d448b946fb72f8bf1857eabb9" + integrity sha512-k2BYcpS5pTDwOT1RISxxUXbdgdsc0mGl/pGmZL7UBAwKtSil5ocrrmGEwTQwdo7jY0oEFFz6E1TOB/xvvjCruw== + dependencies: + tslib "^2.4.0" + +"@aztec-foundation/noir-acvm_js@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/noir-acvm_js/-/noir-acvm_js-6.0.0-rc.1.tgz#4b5429c026e0b1d6f8cfd41085e7a9f07fbb24ec" + integrity sha512-wvLtUmDOdvnqnN99YrU524dWiSa/Tl55PdeojmA/aUl4ftdZpvj88AVCroocHqfn4UdmAxprvUFepL0Ew5EMWA== + +"@aztec-foundation/noir-noir_codegen@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/noir-noir_codegen/-/noir-noir_codegen-6.0.0-rc.1.tgz#ce0c81d0705dbd2d3a3f2eaa5a6bdac14d037628" + integrity sha512-t13UboosJRodgOgWEMyrwH6GgEZuMlPDyunE6pYWtItrbX4JhcLL5h6kETHs1SOMsPOKi511xTV+MBEBm17dug== + dependencies: + "@aztec-foundation/noir-types" "6.0.0-rc.1" + glob "^13.0.6" + ts-command-line-args "^2.5.1" + +"@aztec-foundation/noir-noirc_abi@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/noir-noirc_abi/-/noir-noirc_abi-6.0.0-rc.1.tgz#1490c62c55375148c663ccf07f6038f9e54a51bc" + integrity sha512-XMNZRj60zaw82evS5Uokc7elpeha7OhZ0OM0tVv4BxKN5PnNdbMFsh91EikiXxcJAG8XO/027fDp8RIh4wPcfA== + dependencies: + "@aztec-foundation/noir-types" "6.0.0-rc.1" + +"@aztec-foundation/noir-types@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/noir-types/-/noir-types-6.0.0-rc.1.tgz#16b02e0a00286a7f49887bb2547681d864486710" + integrity sha512-1e2XYI29T8KCq8w2Z9dFKA+46iW8DxbqKcwViM+60qxlQ2eJ9fF4pJ5cFZXrV88O9ZBpxpb+lOtYBAL2w1qh6g== + +"@aztec-foundation/wsdb-darwin-arm64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/wsdb-darwin-arm64/-/wsdb-darwin-arm64-6.0.0-rc.1.tgz#821e47b3f1821efe7f50efbe8def23dcdc3bb563" + integrity sha512-fgu1kVSrbORiHO34M3o+7G9jBDKX8zcLsgh2y23ShGqlADz5uNLlglqGScXjmFPp8Se1u7Elk3ZxKn/LNK2SEw== + +"@aztec-foundation/wsdb-darwin-x64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/wsdb-darwin-x64/-/wsdb-darwin-x64-6.0.0-rc.1.tgz#552ced569791691f4e90b98279965fdc6736314e" + integrity sha512-shs1loE1ta9/7StQkFhk1Dk8jU9J+tkdFd1nCfyqwL2//XOZb49dJ/rT/Ow9RlgriiOnqwqfscbIh45G09OsmA== + +"@aztec-foundation/wsdb-linux-arm64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/wsdb-linux-arm64/-/wsdb-linux-arm64-6.0.0-rc.1.tgz#946ceabe0952956b27f51f1eeb009dc587973817" + integrity sha512-Vn/mqWKd3LMyIXLyHz9sDGYEUuI+8dD9PXz/HhrvmxuzrlJhIb4SaQbdNcXBW/vuOdH5AldVOyfK/PoiC/DGUg== + +"@aztec-foundation/wsdb-linux-x64@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/wsdb-linux-x64/-/wsdb-linux-x64-6.0.0-rc.1.tgz#66d432a883e0b9136b1738c5d25ab51965394fa3" + integrity sha512-Pi8F7xqMqSoWlyE20Z8yZm3A4t4RZox6b3BX49JObaPhS+P+3G22x5xRLKzdduslq92th/N5V9mykFqgqncgNQ== + +"@aztec-foundation/wsdb@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-foundation/wsdb/-/wsdb-6.0.0-rc.1.tgz#b54be446a7fa391981ca769665b07e3f01c3a1ea" + integrity sha512-Djo1jbUhUwgN3hYN0TvSTJNBFtbLh+bNicl0dv4sI1bTdwmX7uB5sz/Eq9oRLAJoMNxfuY/ooKNguyTDOr4ltQ== dependencies: - "@aztec/foundation" "5.0.1" - "@aztec/stdlib" "5.0.1" + "@aztec-foundation/ipc-runtime" "6.0.0-rc.1" + msgpackr "^1.11.2" + tslib "^2.4.0" + optionalDependencies: + "@aztec-foundation/wsdb-darwin-arm64" "6.0.0-rc.1" + "@aztec-foundation/wsdb-darwin-x64" "6.0.0-rc.1" + "@aztec-foundation/wsdb-linux-arm64" "6.0.0-rc.1" + "@aztec-foundation/wsdb-linux-x64" "6.0.0-rc.1" + +"@aztec-labs/accounts@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/accounts/-/accounts-6.0.0-rc.1.tgz#4e968b0fe37db32200d2b8e2b635620fdcaacdd2" + integrity sha512-YMqpyglmiBZ5683chyiy0Nu+Pd9Opl4Y6fTh+oqDpoJ1wFC7cD+alfgOcAPNNMqna/lB6vjqOoQZ+CnL1vzMRA== + dependencies: + "@aztec-labs/aztec.js" "6.0.0-rc.1" + "@aztec-labs/entrypoints" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + tslib "^2.4.0" + +"@aztec-labs/aztec.js@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/aztec.js/-/aztec.js-6.0.0-rc.1.tgz#b381eb9136a0eedd3f4393c22723a107fc556c5a" + integrity sha512-jvM05iuQN06dXx07HNXfxrBtY8tbLhTqv+b73iRs3QJy66DZuW55CZTezg0jndFvfy8m5P7NagpX1JTFnar2nw== + dependencies: + "@aztec-foundation/l1-artifacts" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/entrypoints" "6.0.0-rc.1" + "@aztec-labs/ethereum" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/protocol-contracts" "6.0.0-rc.1" + "@aztec-labs/standard-contracts" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + axios "^1.15.1" + tslib "^2.4.0" + viem "npm:@aztec/viem@2.38.3" + zod "~4.4.3" + +"@aztec-labs/bb-prover@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/bb-prover/-/bb-prover-6.0.0-rc.1.tgz#2f150064a39e990e566411da9f3b4f2f27a7394a" + integrity sha512-Xyff8nuA/OPS9qqmuDInh2LhBLY6hIkQDgpBMSY3jvF4XW9ptmfv8ZxqkaY/oJCLfDfbH5BnJbsYWr68KQ2eLw== + dependencies: + "@aztec-foundation/bb.js" "6.0.0-rc.1" + "@aztec-foundation/noir-noirc_abi" "6.0.0-rc.1" + "@aztec-foundation/noir-types" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/noir-protocol-circuits-types" "6.0.0-rc.1" + "@aztec-labs/simulator" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + "@aztec-labs/telemetry-client" "6.0.0-rc.1" commander "^12.1.0" + msgpackr "^1.11.2" + pako "^2.1.0" + source-map-support "^0.5.21" + tslib "^2.4.0" -"@aztec/constants@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/constants/-/constants-5.0.1.tgz#9deb1271af66e3ed537def14a417853d4f474fb4" - integrity sha512-wJEuQ3LQ9vXy4fmvr502Cu+BK38Lrlc8NnoQxwW0NPcdYtQAkriJVvJRhlPDjZc9zhFz2XuzCPlWMedfbbvwqQ== +"@aztec-labs/blob-lib@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/blob-lib/-/blob-lib-6.0.0-rc.1.tgz#bf41907a075c88b67d085d4b48778f1c0797143a" + integrity sha512-yw6LuqRuWMD8HRv84UaiiuD7Qu4f2zqeNzT1vOIJ4Vho8gaJjX7EdYS561S6qs32yT4LKyFDjA/gEJ3JpgibnA== dependencies: - "@aztec/foundation" "5.0.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@crate-crypto/node-eth-kzg" "^0.10.0" tslib "^2.4.0" -"@aztec/entrypoints@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/entrypoints/-/entrypoints-5.0.1.tgz#90cce94a38acb29c5b2d0b6369d691b65e2ec172" - integrity sha512-JvwkCu3zZBAtrkaIrgE0pYnHu8weq2CXpMbIgI3Q4EUzUeVIzBqwTWqT6zCtTiP4KMK849wp+F/RqlIfe0QF6Q== - dependencies: - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/protocol-contracts" "5.0.1" - "@aztec/standard-contracts" "5.0.1" - "@aztec/stdlib" "5.0.1" +"@aztec-labs/constants@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/constants/-/constants-6.0.0-rc.1.tgz#cd8e8c2528e79c9ec5e41bdf5a7b85802667b179" + integrity sha512-yvYfXTnhHbn2NQW1XJ/oJsYJ+sefiMOvGV0YytX28f3C/fxMahH4scXwieHYk/0k/fZcinMxMw4Z4UKnDtyGGQ== + dependencies: + "@aztec-labs/foundation" "6.0.0-rc.1" tslib "^2.4.0" - zod "^4" -"@aztec/ethereum@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/ethereum/-/ethereum-5.0.1.tgz#e34ac6d9a6f9e68e61422ffed379b2ef6e8642bb" - integrity sha512-9UCI5z53kG05LJmGcBxFH2d/ugCPRjvDSxfXgHM4B5HX067CDS6tryqLa8wTNxIeNw5uWGGbRAeRfuc04DiaXg== +"@aztec-labs/entrypoints@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/entrypoints/-/entrypoints-6.0.0-rc.1.tgz#cfe31e315909b297eafed7ae0f6181cb59557643" + integrity sha512-uNI9vEynY3Alxr3O39I+2Cx3iytMoRbaYNzVTbehTzb9oR3L7xhsaUpB2JqhaGE7nUECSLlnegE9sOxbtnoK9Q== + dependencies: + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/standard-contracts" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + tslib "^2.4.0" + zod "~4.4.3" + +"@aztec-labs/ethereum@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/ethereum/-/ethereum-6.0.0-rc.1.tgz#e5435e41373a1420e6895100e5b1494399ab8774" + integrity sha512-OisE/Orl/7WBRbWySi3rsC67caMVx8CiJ3dZBV0MO40nwShTmwDlQ0/UNp9efGoKbXRGIQmQUkdy1KMJy1amJA== dependencies: - "@aztec/blob-lib" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/l1-artifacts" "5.0.1" + "@aztec-foundation/l1-artifacts" "6.0.0-rc.1" + "@aztec-labs/blob-lib" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" dotenv "^16.0.3" lodash.chunk "^4.2.0" lodash.pickby "^4.5.0" tslib "^2.4.0" - viem "npm:@aztec/viem@2.38.2" - zod "^4" + viem "npm:@aztec/viem@2.38.3" + zod "~4.4.3" -"@aztec/foundation@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/foundation/-/foundation-5.0.1.tgz#e053edd7d30aaa40bf2cb948b4dea3b8f5b091aa" - integrity sha512-5CIc3JMTEjODf9gHu19wij5KOV3yn3iU5CtDfQR7CPXhzE6HfVbgSJIA57opgOd46K/82uQ0EVnLszpo//3bPw== +"@aztec-labs/foundation@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/foundation/-/foundation-6.0.0-rc.1.tgz#ca74cd8142c787af4a7b7ffe31027c3da7ccc26c" + integrity sha512-wW5PG9NjQMDXWiGtSvpF8gxPpePLDIB3/zZBaK7cT0oxEd2o+JyPga6xrr8UAYKZK2mBu29rALKnL8zw4j5zxA== dependencies: - "@aztec/bb.js" "5.0.1" + "@aztec-foundation/bb.js" "6.0.0-rc.1" "@koa/cors" "^5.0.0" "@noble/curves" "=1.7.0" "@noble/hashes" "^1.6.1" @@ -728,180 +830,147 @@ pino-pretty "^13.0.0" sha3 "^2.1.4" undici "^5.28.5" - zod "^4" + zod "~4.4.3" -"@aztec/key-store@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/key-store/-/key-store-5.0.1.tgz#3715aa37b2a2c47c1e96d4c3ab53cd63fd71dd8d" - integrity sha512-dGqOmfEONLEavaRSelxTVJvYkl19GJ3h4/qbWMuQrhDwmYlh8VSXCd9vqdTaDwKt4+VPA3nvEAI3U0/5NOY7Ng== +"@aztec-labs/key-store@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/key-store/-/key-store-6.0.0-rc.1.tgz#e2f963cb801c34cede337982d3265ffd50ddbfb0" + integrity sha512-MbO0rKvv4QyA760zl3Xe0/PaDdZDFwJ767DzawqxhTWDp/cWK8OVaGV0iOhRbHSA0BxLK51r5xkS6g6idZ1EbA== dependencies: - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/kv-store" "5.0.1" - "@aztec/stdlib" "5.0.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/kv-store" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" tslib "^2.4.0" -"@aztec/kv-store@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/kv-store/-/kv-store-5.0.1.tgz#394433d7de7d07beff6ece89c6f7a758bebc9b52" - integrity sha512-/wlF4dNhZtgmPTEG/7z9uRBFUDal09fpGtsbFZYuLTi7c4zRHKHVZxfkxz8Ad83kCImGoXpc7IomPn/p7t5c2w== - dependencies: - "@aztec/constants" "5.0.1" - "@aztec/ethereum" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/native" "5.0.1" - "@aztec/sqlite3mc-wasm" "5.0.1" - "@aztec/stdlib" "5.0.1" +"@aztec-labs/kv-store@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/kv-store/-/kv-store-6.0.0-rc.1.tgz#2ec86b4e48bc75afd3c4127c5ebfae429deacd64" + integrity sha512-D7GjTmaoQeW3CU6x0bHzm3SDhoUesuHyq1qlD88OwTDazd/FSn0I5Qfqvo/BcsLhRvJ9Uiw5GLnegr2zeIpl6Q== + dependencies: + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/native" "6.0.0-rc.1" + "@aztec-labs/sqlite3mc-wasm" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" idb "^8.0.0" lmdb "^3.2.0" msgpackr "^1.11.2" ohash "^2.0.11" ordered-binary "^1.5.3" -"@aztec/l1-artifacts@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/l1-artifacts/-/l1-artifacts-5.0.1.tgz#013a9c0c815c6071f210f5dd2220767381d3f5bd" - integrity sha512-x6aMcuBxVxBDxuRLYq5o1rzEMs+oBQV7W8kt0sjaI5JxwvAaIUqThhynOVpNys5UfOffxJTtzt33TJx548DQGw== - dependencies: - tslib "^2.4.0" - -"@aztec/native@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/native/-/native-5.0.1.tgz#1cfd8798d27cc03908f4c66cbdca5a8624558a8d" - integrity sha512-KcSnD0k335lYt/WcOpQMH/SwMFq+1Y/Ud7Ow1ifOB/lJJXH1s1+QK25EIlRcHKhlhKhrhe+RlkAjHWcw8wopPA== +"@aztec-labs/native@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/native/-/native-6.0.0-rc.1.tgz#9c46ddb903925dd80988c1bbcc1a29ece29071e4" + integrity sha512-kyvD72uIKUkcr3jdQV95zZz37luZH8uGhdEUZUJDxPZ6o7jf8WPmkq1/V82+GreldMbHr1JUS3LnTad4Dv9U7g== dependencies: - "@aztec/bb.js" "5.0.1" - "@aztec/foundation" "5.0.1" + "@aztec-foundation/bb.js" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" msgpackr "^1.11.2" -"@aztec/noir-acvm_js@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/noir-acvm_js/-/noir-acvm_js-5.0.1.tgz#fefa606cc6725eba41737d93c4e02dd746123f25" - integrity sha512-1DC0AzlYk20lWZ0ebOppC+9wMQTZ2hXnKvi4DZK3Yi4EOYDQXhFQ6EwdvuPuUazu2B8tgFMbRZfn1lmejblC6Q== - -"@aztec/noir-noir_codegen@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/noir-noir_codegen/-/noir-noir_codegen-5.0.1.tgz#1673452673ed74cb34ac9c5d9e88d591dc4da7c3" - integrity sha512-OG0QbHi33+C+lHYsVdlwCdhqVfmIiQGrqHz0vIJuZ0L9o95/va0EXpND+LzsyqLoDpHSr/jq0qshBvVjJAmQuw== - dependencies: - "@aztec/noir-types" "5.0.1" - glob "^13.0.6" - ts-command-line-args "^2.5.1" - -"@aztec/noir-noirc_abi@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/noir-noirc_abi/-/noir-noirc_abi-5.0.1.tgz#9b21fc4fbbc3d250dd155c23d65c942b7d478a57" - integrity sha512-K2ITGlvnB4kGfVUW0qBf6Ov1YRxRn8BQjz/cbC90DC39vssHPCcah8m7fb5g6c6rFqucI/+LdxMg45sQ9qz6gg== - dependencies: - "@aztec/noir-types" "5.0.1" - -"@aztec/noir-protocol-circuits-types@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/noir-protocol-circuits-types/-/noir-protocol-circuits-types-5.0.1.tgz#249e1c275af63f60cb2185937c1de4c115a6fa76" - integrity sha512-PgtpVumegBOzpPofSCx6q+JnizEiJSzBsQqvUB4qKc5qbtbeJ3SWvwM9SjmUvugDzM8bZjV/u62p7neN76GIXg== - dependencies: - "@aztec/blob-lib" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/noir-acvm_js" "5.0.1" - "@aztec/noir-noir_codegen" "5.0.1" - "@aztec/noir-noirc_abi" "5.0.1" - "@aztec/noir-types" "5.0.1" - "@aztec/stdlib" "5.0.1" +"@aztec-labs/noir-protocol-circuits-types@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/noir-protocol-circuits-types/-/noir-protocol-circuits-types-6.0.0-rc.1.tgz#9c0ec8a0275f303598dc6ab6e54758fe758b3ea9" + integrity sha512-539dCPfEDgqLAiLIESgAPSC0zZrrxtFgA3u2oqh3JkHPCRYABDNH2DX1/84q9HP4qr/wOy6gZD6N2ZgymbgdBw== + dependencies: + "@aztec-foundation/noir-acvm_js" "6.0.0-rc.1" + "@aztec-foundation/noir-noir_codegen" "6.0.0-rc.1" + "@aztec-foundation/noir-noirc_abi" "6.0.0-rc.1" + "@aztec-foundation/noir-types" "6.0.0-rc.1" + "@aztec-labs/blob-lib" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" change-case "^5.4.4" tslib "^2.4.0" -"@aztec/noir-types@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/noir-types/-/noir-types-5.0.1.tgz#647fc41a8590037068283f330e03c19ae304d2af" - integrity sha512-oloCY8akJhToctNpxJCPXKmZnd2eowv7WOHwc50/Gp47SxVkFlLNSky458amh2xVRGArooXJb0REGedClkhKtQ== - -"@aztec/protocol-contracts@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/protocol-contracts/-/protocol-contracts-5.0.1.tgz#d8d486b4e00bf9af5e288c52d6a6792404f50a37" - integrity sha512-ZCxvzZabU3+ky72HIzfOm8ZDl73bCkFI701kotLIzVpf+GlrMyAON719S4h6B4ml9uGwObz1fqeR6mAEt0QEFg== +"@aztec-labs/protocol-contracts@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/protocol-contracts/-/protocol-contracts-6.0.0-rc.1.tgz#a8e20564efd7dc80d30b336af2cdd68ec20cd9a7" + integrity sha512-1ccxzzcz9zXqJf4AOIzhLmJTnbqzNlNTiRHbeY3+0hS6pi6w0CaIbx7RVACN4QmSPe+UvfUFi0wqywHE2AeAIw== dependencies: - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/stdlib" "5.0.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" lodash.chunk "^4.2.0" lodash.omit "^4.5.0" tslib "^2.4.0" -"@aztec/pxe@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/pxe/-/pxe-5.0.1.tgz#0f9b99527624310fabb6d53a64ca257ef2b11c85" - integrity sha512-bMnkRKeh7sjmfWKxoZ2TM0DynyrIOY5zLXGVL201FC+Uae36URRtFUR5wjZeVq7GAfKilGE8EflYLklm1xyzkA== - dependencies: - "@aztec/bb-prover" "5.0.1" - "@aztec/bb.js" "5.0.1" - "@aztec/builder" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/ethereum" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/key-store" "5.0.1" - "@aztec/kv-store" "5.0.1" - "@aztec/noir-protocol-circuits-types" "5.0.1" - "@aztec/noir-types" "5.0.1" - "@aztec/protocol-contracts" "5.0.1" - "@aztec/simulator" "5.0.1" - "@aztec/standard-contracts" "5.0.1" - "@aztec/stdlib" "5.0.1" +"@aztec-labs/pxe@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/pxe/-/pxe-6.0.0-rc.1.tgz#4fd6acc2055dd4ad675b74519ce713f41db383af" + integrity sha512-fzqSRGafSBeuDrNn920c3JH/UJRe7LQZkpiMibpheqX3HhtoGoisv5fA6t96vcsd7SX5hsHXvdEVcXJyf4ZAvw== + dependencies: + "@aztec-foundation/bb.js" "6.0.0-rc.1" + "@aztec-foundation/noir-acvm_js" "6.0.0-rc.1" + "@aztec-foundation/noir-noirc_abi" "6.0.0-rc.1" + "@aztec-foundation/noir-types" "6.0.0-rc.1" + "@aztec-labs/bb-prover" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/ethereum" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/key-store" "6.0.0-rc.1" + "@aztec-labs/kv-store" "6.0.0-rc.1" + "@aztec-labs/noir-protocol-circuits-types" "6.0.0-rc.1" + "@aztec-labs/protocol-contracts" "6.0.0-rc.1" + "@aztec-labs/simulator" "6.0.0-rc.1" + "@aztec-labs/standard-contracts" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" koa "^2.16.1" koa-router "^13.1.1" lodash.omit "^4.5.0" sha3 "^2.1.4" tslib "^2.4.0" - viem "npm:@aztec/viem@2.38.2" - -"@aztec/simulator@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/simulator/-/simulator-5.0.1.tgz#40b7cd26181a9005df68ed25c7bc80a391049d2e" - integrity sha512-mRuEFuPMxciSddi33zALOYgx+WCvtjlAQjcHeL1ZU55Kq3TPasMk1wMM42WDm08i0Hu8yLjqN/i/oVtsw8BcrA== - dependencies: - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/native" "5.0.1" - "@aztec/noir-acvm_js" "5.0.1" - "@aztec/noir-noirc_abi" "5.0.1" - "@aztec/noir-protocol-circuits-types" "5.0.1" - "@aztec/noir-types" "5.0.1" - "@aztec/protocol-contracts" "5.0.1" - "@aztec/standard-contracts" "5.0.1" - "@aztec/stdlib" "5.0.1" - "@aztec/telemetry-client" "5.0.1" - "@aztec/world-state" "5.0.1" + viem "npm:@aztec/viem@2.38.3" + +"@aztec-labs/simulator@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/simulator/-/simulator-6.0.0-rc.1.tgz#97fbaf7f10455075d5d018b9797c5f4a79186bc6" + integrity sha512-wHbJIH1cGYHuxbVQSPVcJicGehP00NYbBoJ/Fp3pZMXpgDDeZjEc7sje6j/4RIPTjDCs4kcAota4yirSBUiMgA== + dependencies: + "@aztec-foundation/bb-avm-sim" "6.0.0-rc.1" + "@aztec-foundation/cdb" "6.0.0-rc.1" + "@aztec-foundation/ipc-runtime" "6.0.0-rc.1" + "@aztec-foundation/noir-acvm_js" "6.0.0-rc.1" + "@aztec-foundation/noir-noirc_abi" "6.0.0-rc.1" + "@aztec-foundation/noir-types" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/protocol-contracts" "6.0.0-rc.1" + "@aztec-labs/standard-contracts" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + "@aztec-labs/telemetry-client" "6.0.0-rc.1" + "@aztec-labs/world-state" "6.0.0-rc.1" lodash.clonedeep "^4.5.0" lodash.merge "^4.6.2" + msgpackr "^1.11.2" tslib "^2.4.0" -"@aztec/sqlite3mc-wasm@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/sqlite3mc-wasm/-/sqlite3mc-wasm-5.0.1.tgz#a3cee7d779c6c5e7a416a3439522b7cb5d602972" - integrity sha512-kd6J/fzNdox46McKcBTFeGRaFqDXvXNW42BfhNcFbjZvnPdzgM9nBPsDsc2elR9TV1WPuwuhXS2crVwWs2d49A== +"@aztec-labs/sqlite3mc-wasm@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/sqlite3mc-wasm/-/sqlite3mc-wasm-6.0.0-rc.1.tgz#525118514754a5ad9eb2be8f6ee063d286c312ef" + integrity sha512-8idCXlZlqO+KuiYhpiCqTN+ejp2hshx3Wt2bP8XsAS0ZjBEKOxIiXqpmG68rcfhpaSBAycxWOc8TVPRB9L7rOg== -"@aztec/standard-contracts@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/standard-contracts/-/standard-contracts-5.0.1.tgz#c8b1e34001c1dfdb42df0c9e7f988612fe7cec72" - integrity sha512-SwcqRz5Z2YzcXNx59NygwSngAmjonOcQ7BzdcO0IHykP+TDcZ0WaO8wQGPVZs3P+MB/S5PN31ZdSFTOSL735KQ== +"@aztec-labs/standard-contracts@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/standard-contracts/-/standard-contracts-6.0.0-rc.1.tgz#4d988d8f6e5027e389f8cb4015a88dad1edc8b02" + integrity sha512-abXJYTf6boqmzw83NCWvBjUtvG4HHgweD/fIIEr4UDL0EiygGvNOhcdN+L96lsz1SlVOWcgwWQZkVENvutyTAg== dependencies: - "@aztec/foundation" "5.0.1" - "@aztec/stdlib" "5.0.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" tslib "^2.4.0" -"@aztec/stdlib@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/stdlib/-/stdlib-5.0.1.tgz#c8a07da903d8df7afa9602212a0f9fe1950b8424" - integrity sha512-CSwsM65EzmSmcL+xot+b/DF1W3OrmVfpy/QvYVE9NPj2q3KE5vUCcJqzfVW04Imq/43ctHRg3vBs3qZf5Qd6kQ== +"@aztec-labs/stdlib@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/stdlib/-/stdlib-6.0.0-rc.1.tgz#bd5e4d681f5f6fcdea246ef1a6b35f644a68fb8a" + integrity sha512-RL2+JOIHv0zl+rYpmlKOLWvUhRGF/hGgJc43UipwJNer3t9dYiJr6DiIFN6RcZm49jIrMNL4SpTXmIQTeqT5eQ== dependencies: "@aws-sdk/client-s3" "^3.892.0" - "@aztec/bb.js" "5.0.1" - "@aztec/blob-lib" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/ethereum" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/l1-artifacts" "5.0.1" - "@aztec/noir-noirc_abi" "5.0.1" + "@aztec-foundation/bb.js" "6.0.0-rc.1" + "@aztec-foundation/noir-noirc_abi" "6.0.0-rc.1" + "@aztec-labs/blob-lib" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/ethereum" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" "@google-cloud/storage" "^7.15.0" axios "^1.15.1" json-stringify-deterministic "1.0.12" @@ -912,16 +981,16 @@ msgpackr "^1.11.2" pako "^2.1.0" tslib "^2.4.0" - viem "npm:@aztec/viem@2.38.2" - zod "^4" + viem "npm:@aztec/viem@2.38.3" + zod "~4.4.3" -"@aztec/telemetry-client@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/telemetry-client/-/telemetry-client-5.0.1.tgz#81f9cdb6418a131a9592f51611cbce5259a48cd4" - integrity sha512-pHFqSUM2yzw9XNCJN1xOpOCCIg4/JMo7hEbuL/tByJav48IYwbjauDMUk11W2CmLhpAVppDoLAMwVZQEr54UQg== +"@aztec-labs/telemetry-client@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/telemetry-client/-/telemetry-client-6.0.0-rc.1.tgz#72a456c5855c0872d9c0c579572aef3dcf34ea7b" + integrity sha512-1mYzTvijRlYhoMH1nZi/t4qWh6FLrpNkg/QrvYKcNHNNLR+ubrQTqgx0HTMe/2sMClDEde40ULy4iS6hRmgT3A== dependencies: - "@aztec/foundation" "5.0.1" - "@aztec/stdlib" "5.0.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" "@opentelemetry/api" "^1.9.0" "@opentelemetry/api-logs" "^0.55.0" "@opentelemetry/core" "^1.28.0" @@ -937,52 +1006,49 @@ "@opentelemetry/sdk-trace-node" "^1.28.0" "@opentelemetry/semantic-conventions" "^1.28.0" prom-client "^15.1.3" - viem "npm:@aztec/viem@2.38.2" - -"@aztec/wallet-sdk@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/wallet-sdk/-/wallet-sdk-5.0.1.tgz#1258c0822e132b178d8c540e971c172658b2bccc" - integrity sha512-bKCulci1B6LSsdsbGhqRYOoiRHrRIgBxrQWN0xYdUntnSCQVS0BUOFTEzHuufbhq8toYisgykTyDryj4NT4Syg== - dependencies: - "@aztec/aztec.js" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/entrypoints" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/pxe" "5.0.1" - "@aztec/stdlib" "5.0.1" - -"@aztec/wallets@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/wallets/-/wallets-5.0.1.tgz#9a910b4ebd4e56c5125b93791a737e216a7b4421" - integrity sha512-ajKHJ1N8OZJGne12dSeo+ygysN4OnpjS54QDfnWK7BHMVx9KBoa5wTePLgy9jAL3hkr6hbsGcMpyjrnLeJUjug== - dependencies: - "@aztec/accounts" "5.0.1" - "@aztec/aztec.js" "5.0.1" - "@aztec/entrypoints" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/kv-store" "5.0.1" - "@aztec/protocol-contracts" "5.0.1" - "@aztec/pxe" "5.0.1" - "@aztec/standard-contracts" "5.0.1" - "@aztec/stdlib" "5.0.1" - "@aztec/wallet-sdk" "5.0.1" - -"@aztec/world-state@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@aztec/world-state/-/world-state-5.0.1.tgz#07c4ad50db78c61a9c74b2e6bb82dbd5a738510a" - integrity sha512-9kOjysN6WwasT7JqedXvcI6PL6zNiFh5f74bKf4Lvuu6E5Si2evvA3tCp7r7FgWLD1n5u2+cIssMEGV8hmiGiA== - dependencies: - "@aztec/bb.js" "5.0.1" - "@aztec/constants" "5.0.1" - "@aztec/foundation" "5.0.1" - "@aztec/kv-store" "5.0.1" - "@aztec/native" "5.0.1" - "@aztec/protocol-contracts" "5.0.1" - "@aztec/stdlib" "5.0.1" - "@aztec/telemetry-client" "5.0.1" + viem "npm:@aztec/viem@2.38.3" + +"@aztec-labs/wallet-sdk@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/wallet-sdk/-/wallet-sdk-6.0.0-rc.1.tgz#5ad3801b66ddb14dbcb8706950da942ebca4cca2" + integrity sha512-ud0t5rX6/fofUAAahmI0VhmrCOQ5fNzNd/h6Ws3ZSCq3eNMhmqZQmOmBsHmtkpvOG5oF3gJVv0JkW1dO2oljoA== + dependencies: + "@aztec-labs/aztec.js" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/entrypoints" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/pxe" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + +"@aztec-labs/wallets@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/wallets/-/wallets-6.0.0-rc.1.tgz#6a984b1cd67da56d934b00a94e1653d50e6f69dd" + integrity sha512-NJSUmEYIEVQWjtNPxtYDZyq1m4GDK4Nm/B9RHme/EXQqBxXOrGsizY9jdKrdnSVFT3vw/Ogpu0r+ptHTjHKklw== + dependencies: + "@aztec-labs/accounts" "6.0.0-rc.1" + "@aztec-labs/aztec.js" "6.0.0-rc.1" + "@aztec-labs/entrypoints" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/kv-store" "6.0.0-rc.1" + "@aztec-labs/pxe" "6.0.0-rc.1" + "@aztec-labs/standard-contracts" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + "@aztec-labs/wallet-sdk" "6.0.0-rc.1" + +"@aztec-labs/world-state@6.0.0-rc.1": + version "6.0.0-rc.1" + resolved "https://registry.yarnpkg.com/@aztec-labs/world-state/-/world-state-6.0.0-rc.1.tgz#e9701092c8718fc04eb503a95649fa572c849ac6" + integrity sha512-CSZmMCiuh8FZk6iBV8TX4KdqDCTlg6izMpizsiNrkncO+Es1L4R0CUm/wy90zArlTnaoGELv7z8DnV3gK6VHFg== + dependencies: + "@aztec-foundation/wsdb" "6.0.0-rc.1" + "@aztec-labs/constants" "6.0.0-rc.1" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/protocol-contracts" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" + "@aztec-labs/telemetry-client" "6.0.0-rc.1" msgpackr "^1.11.2" tslib "^2.4.0" - zod "^4" + zod "~4.4.3" "@babel/code-frame@^7.0.0": version "7.29.0" @@ -3424,6 +3490,11 @@ gopd@^1.2.0: resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== +graceful-fs@^4.2.4: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + gtoken@^7.0.0: version "7.1.0" resolved "https://registry.yarnpkg.com/gtoken/-/gtoken-7.1.0.tgz#d61b4ebd10132222817f7222b1e6064bd463fc26" @@ -4306,6 +4377,15 @@ prom-client@^15.1.3: "@opentelemetry/api" "^1.4.0" tdigest "^0.1.1" +proper-lockfile@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/proper-lockfile/-/proper-lockfile-4.1.2.tgz#c8b9de2af6b2f1601067f98e01ac66baa223141f" + integrity sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA== + dependencies: + graceful-fs "^4.2.4" + retry "^0.12.0" + signal-exit "^3.0.2" + protobufjs@^7.3.0: version "7.5.4" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.4.tgz#885d31fe9c4b37f25d1bb600da30b1c5b37d286a" @@ -4430,6 +4510,11 @@ retry@0.13.1: resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + rfdc@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" @@ -4521,6 +4606,11 @@ side-channel@^1.1.0: side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" +signal-exit@^3.0.2: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + signal-exit@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" @@ -4837,10 +4927,10 @@ vary@^1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -"viem@npm:@aztec/viem@2.38.2": - version "2.38.2" - resolved "https://registry.yarnpkg.com/@aztec/viem/-/viem-2.38.2.tgz#9c626b46569cce1f30f08f7be23fb73846aea520" - integrity sha512-q975q5/On5DSTQDJb0yu0AewnCPIckP4EHp2XOx1GrRn0yJd3TdOKVwuH7HjWtyvh3moFaPogBSHnp7bj4GpdQ== +"viem@npm:@aztec/viem@2.38.3": + version "2.38.3" + resolved "https://registry.yarnpkg.com/@aztec/viem/-/viem-2.38.3.tgz#396724604fd7382305b29b6a53c09f75ae6eab15" + integrity sha512-//qRZK1x+kXHI4CDu00jH2w5biqaZAVlPy95ZrhEZUZ0qwuIWiOUA0T5FhdDVfkxwIdACx9gO/mqLT8DLpDM+g== dependencies: "@noble/curves" "1.9.1" "@noble/hashes" "1.8.0" @@ -4943,7 +5033,7 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zod@^4: +zod@~4.4.3: version "4.4.3" resolved "https://registry.yarnpkg.com/zod/-/zod-4.4.3.tgz#b680f172885d18bbebf21a834ea25e55a1bbf356" integrity sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ== From 991d4514f9507cbfcbe12cfc274c5e106fa96f0f Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 16:01:50 +0000 Subject: [PATCH 6/7] docs: update samples to @aztec-labs and add a compatibility table Co-Authored-By: Claude Opus 5.5 --- README.md | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index dfb4619..e16135b 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,15 @@ yarn add --dev @aztec-foundation/aztec-benchmark npm install --save-dev @aztec-foundation/aztec-benchmark ``` +Pick the release line that matches your Aztec packages: + +| Your Aztec packages | aztec-benchmark | +|---|---| +| v6 (`@aztec-labs/*`) | `6.x` (currently `@rc`: `yarn add --dev @aztec-foundation/aztec-benchmark@rc`) | +| v5 (`@aztec/*`) | `5.0.1` | + +`@aztec-labs/aztec.js` and `@aztec-labs/wallets` are peer dependencies. Any `6.x` release or `6.0.0` pre-release (nightly or rc) satisfies them. With npm 7+, if you haven't installed them yourself, npm installs them for you. + --- ## CLI Usage @@ -103,16 +112,16 @@ import { type BenchmarkContext, type NamedBenchmarkedInteraction } from '@aztec-foundation/aztec-benchmark'; -import type { PXE } from '@aztec/pxe/server'; -import type { Contract } from '@aztec/aztec.js/contracts'; // Generic Contract type from Aztec.js -import type { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; -import type { FeePaymentMethod } from '@aztec/aztec.js/fee'; -import { createStore } from '@aztec/kv-store/lmdb-v2'; -import { createPXE, getPXEConfig } from '@aztec/pxe/server'; -import { createAztecNodeClient, waitForNode } from '@aztec/aztec.js/node'; -import { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { registerInitialLocalNetworkAccountsInWallet } from '@aztec/wallets/testing'; +import type { PXE } from '@aztec-labs/pxe/server'; +import type { Contract } from '@aztec-labs/aztec.js/contracts'; // Generic Contract type from Aztec.js +import type { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; +import type { FeePaymentMethod } from '@aztec-labs/aztec.js/fee'; +import { createStore } from '@aztec-labs/kv-store/lmdb-v2'; +import { createPXE, getPXEConfig } from '@aztec-labs/pxe/server'; +import { createAztecNodeClient, waitForNode } from '@aztec-labs/aztec.js/node'; +import { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { registerInitialLocalNetworkAccountsInWallet } from '@aztec-labs/wallets/testing'; // import { YourSpecificContract } from '../artifacts/YourSpecificContract.js'; // Replace with your actual contract artifact // 1. Define a specific context for your benchmark (optional but good practice) @@ -159,9 +168,9 @@ export default class MyContractBenchmark extends Benchmark { // Optional: use SponsoredFPC so accounts don't need pre-existing Fee Juice. // The sandbox ships with a canonical SponsoredFPC pre-deployed at a deterministic address. // - // import { SponsoredFeePaymentMethod } from '@aztec/aztec.js/fee/testing'; - // import { SponsoredFPCContract } from '@aztec/noir-contracts.js/SponsoredFPC'; - // import { getContractInstanceFromInstantiationParams } from '@aztec/aztec.js/contracts'; + // import { SponsoredFeePaymentMethod } from '@aztec-labs/aztec.js/fee/testing'; + // import { SponsoredFPCContract } from '@aztec-labs/noir-contracts.js/SponsoredFPC'; + // import { getContractInstanceFromInstantiationParams } from '@aztec-labs/aztec.js/contracts'; // // const instance = await getContractInstanceFromInstantiationParams( // SponsoredFPCContract.artifact, From d623993df314206cf1fd08443d10631976bdcf1d Mon Sep 17 00:00:00 2001 From: Alejo Amiras Date: Wed, 30 Sep 2026 16:23:16 +0000 Subject: [PATCH 7/7] docs: scope the pull_request warning to pr-benchmark and state the no-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 --- .github/workflows/pr-benchmark.yml | 2 +- .github/workflows/update-baseline.yml | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-benchmark.yml b/.github/workflows/pr-benchmark.yml index 1e076b3..781fe1b 100644 --- a/.github/workflows/pr-benchmark.yml +++ b/.github/workflows/pr-benchmark.yml @@ -65,7 +65,7 @@ jobs: env: BLOCK_DURATION_MS: ${{ inputs.block-duration-ms }} run: | - # Aztec parses this env var with parseFloat, so "6s" would silently mean 6 ms. + # Aztec parses this with parseFloat ("6s" = 6 ms). Never echo the value: a newline in it would run as a workflow command. if [[ ! "$BLOCK_DURATION_MS" =~ ^[1-9][0-9]*$ ]]; then echo "::error::block-duration-ms must be a positive integer number of milliseconds" exit 1 diff --git a/.github/workflows/update-baseline.yml b/.github/workflows/update-baseline.yml index 674c30a..6e119ac 100644 --- a/.github/workflows/update-baseline.yml +++ b/.github/workflows/update-baseline.yml @@ -43,7 +43,7 @@ jobs: env: BLOCK_DURATION_MS: ${{ inputs.block-duration-ms }} run: | - # Aztec parses this env var with parseFloat, so "6s" would silently mean 6 ms. + # Aztec parses this with parseFloat ("6s" = 6 ms). Never echo the value: a newline in it would run as a workflow command. if [[ ! "$BLOCK_DURATION_MS" =~ ^[1-9][0-9]*$ ]]; then echo "::error::block-duration-ms must be a positive integer number of milliseconds" exit 1 diff --git a/README.md b/README.md index e16135b..30b7dce 100644 --- a/README.md +++ b/README.md @@ -255,9 +255,9 @@ The examples below use `` as a placeholder for that value. ### Security notes -- Trigger these workflows from `pull_request`, never `pull_request_target`. They check out and run the PR's code, including its benchmarks and dependency install scripts, in the same job that holds the token used to comment. +- Trigger `pr-benchmark.yml` from `pull_request`, never `pull_request_target`. It checks out and runs the PR's code, including its benchmarks and dependency install scripts, in the same job that holds the token used to comment. - The checkout does not persist the GitHub token (`persist-credentials: false`). If your dependency install needs authenticated git access, for example private git dependencies, authenticate that step separately. -- PRs from forks get a read-only token, so the comment step fails on them. The benchmarks still run. +- PRs from forks get a read-only token. The benchmarks still run, but the comment step then fails the job, so no baseline artifact is uploaded for the fork branch. ### PR Benchmark (`pr-benchmark.yml`)