diff --git a/.claude/skills/bump-aztec-version/SKILL.md b/.claude/skills/bump-aztec-version/SKILL.md index 3b87d216..6a40bc07 100644 --- a/.claude/skills/bump-aztec-version/SKILL.md +++ b/.claude/skills/bump-aztec-version/SKILL.md @@ -1,53 +1,76 @@ --- name: bump-aztec-version description: >- - Upgrade this repo to a new aztec-packages version — bump every reference (all Nargo.toml - aztec-nr git tags/revs + every @aztec/* npm dep + config.aztecVersion), install the matching - toolchain, and validate the bump locally (compile, Noir tests, typecheck, build, dry-run). - Produces a validated branch ready to merge. Publishing is the separate `release` skill. - Use when adopting a new aztec-packages tag or commit. + Upgrade this repo to a new Aztec version — bump every reference (all Nargo.toml aztec-nr git + tags + every @aztec-labs/* npm dep + config.aztecVersion), install the matching toolchain, + and validate the bump locally (compile, Noir tests, typecheck, build, dry-run). Produces a + validated branch ready to merge. Publishing is the separate `release` skill. + Use when adopting a new Aztec release, rc, or nightly tag. --- -# Bump the aztec-packages version +# Bump the Aztec version -Adopts a new `aztec-packages` version across the repo and proves it works locally. Output: a branch -that compiles, tests, typechecks, and builds against the new deps — ready to open a PR to `main`. +Adopts a new Aztec version across the repo and proves it works locally. Output: a branch that +compiles, tests, typechecks, and builds against the new deps — ready to open a PR to `main`. **Publishing (rc / production) is handled by the separate `release` skill** — this skill stops at a merged, validated bump. +Since v6 Aztec ships from three places, all tagged `vX.Y.Z`: +- **aztec-nr** crates (`aztec`, `uint-note`, `balance-set`, `compressed-string`, …): `aztec-labs-eng/aztec-nr`, flat crate dirs. +- **protocol crates** (`serde`, `types`): `AztecProtocol/aztec-packages`, under `noir-projects/fnd/noir-protocol-circuits/crates/`. +- **npm SDK + toolchain** (`@aztec-labs/*`, `aztec-up`): built from `aztec-labs-eng/aztec-node`; its + `docs/docs-developers/docs/resources/migration_notes.md` is the authoritative changelog. + ## Step 0 — gather inputs (ask the user) Use `AskUserQuestion` (or ask directly) for: -1. **Target version** — a **tag** (e.g. `v5.0.0`) or a **commit SHA** of `AztecProtocol/aztec-packages`. -2. **Source** — a **path to a local checkout** of aztec-packages, or the **GitHub repo** (`AztecProtocol/aztec-packages`). The source is for *diagnosis + toolchain*, not the dep URL (Nargo deps always point at the GitHub git URL). -3. Derive the **npm version**: for a tag `vX.Y.Z` → `X.Y.Z`; for a commit, find the matching published npm version (`npm view @aztec/aztec.js versions` — often a `-nightly.`/`-snapshot.` build) or confirm one exists. If none, stop and tell the user the npm packages aren't published for that commit. +1. **Target version** — a **tag** `vX.Y.Z[-suffix]` (release, rc, or nightly) that exists in aztec-nr, + aztec-packages and npm alike; the npm version is the tag without its `v`. A bare commit identifies only + one of the three repos, so for an untagged commit stop and ask the user for the matching revision of each. +2. **Source** — a **path to a local checkout** of aztec-nr / aztec-node, or the GitHub repos. The source is for *diagnosis*, not the dep URL (Nargo deps always point at the GitHub git URL). -Verify the target exists before touching anything: -- local: `git -C cat-file -e ^{commit}` -- github: `gh api repos/AztecProtocol/aztec-packages/commits/ --jq .sha` -- npm: `npm view @aztec/aztec.js@ version` +Verify the target exists before touching anything, and record the full SHAs for the PR body (Nargo +pins by tag only, and tags can move). An unmatched `ls-remote` pattern prints nothing and still exits 0, +hence `--exit-code`; query both refs because the repos mix annotated and lightweight tags, and record the +peeled `^{}` commit when present: +- `git ls-remote --exit-code https://github.com/aztec-labs-eng/aztec-nr 'refs/tags/vX.Y.Z' 'refs/tags/vX.Y.Z^{}'` +- `git ls-remote --exit-code https://github.com/AztecProtocol/aztec-packages 'refs/tags/vX.Y.Z' 'refs/tags/vX.Y.Z^{}'` +- `npm view @aztec-labs/aztec.js@X.Y.Z version` must print the version (a missing one fails with E404). ## Step 1 — bump the Noir deps (all `Nargo.toml`) ```bash find . -name Nargo.toml -not -path '*/node_modules/*' ``` -In each, update **only** the deps whose `git = "https://github.com/AztecProtocol/aztec-packages/"` -(e.g. `aztec`, `serde`, `uint_note`, `balance_set`, `compressed_string`). For a tag set -`tag = "vX.Y.Z"`; for a commit set `rev = ""` (replacing the existing `tag`/`rev`). -**Do NOT touch** non-aztec-packages deps (e.g. `sha512`, `bignum`) — they version independently. +- aztec-nr deps: `git = "https://github.com/aztec-labs-eng/aztec-nr"`, `tag = "vX.Y.Z"`, + `directory = ""` (`aztec`, `uint-note`, `balance-set`, `compressed-string`). +- protocol deps (escrow's `serde`): `git = "https://github.com/AztecProtocol/aztec-packages"` (no trailing + slash — the same string aztec-nr's own `protocol_types` dep uses), same tag, + `directory = "noir-projects/fnd/noir-protocol-circuits/crates/serde"`. +- **Do NOT touch** other deps (e.g. `sha512`, `bignum`) — they version independently. ## Step 2 — bump the npm deps (`package.json`) -- Every `@aztec/*` dependency (accounts, aztec.js, noir-contracts.js, protocol-contracts, pxe, stdlib, wallet-sdk, wallets, …) → the npm version. +- Every `@aztec-labs/*` dependency and `@aztec-foundation/bb.js` → the npm version, **pinned exactly**: the + `latest` dist-tag has pointed at a stale nightly, and a stale bb.js pin installs a second Barretenberg next + to the SDK's. +- `viem` stays the `npm:@aztec/viem@…` alias the SDK itself uses. - `config.aztecVersion` → the npm version (the `setup-aztec` CI action reads this to install the toolchain). - The package's own `version` is the *release* version — bump it too if this repo tracks aztec (it does), else leave. -- **`@aztec-foundation/aztec-benchmark` is a separate package** (its own repo/release). Only bump it if a matching release exists; it declares `@aztec/*` as **peerDependencies**, so it must resolve to the same aztec version — mismatches cause duplicate-type errors (see Gotchas). +- **`@aztec-foundation/aztec-benchmark` is a separate package** (its own repo/release). Only bump it if a matching release exists; it declares the Aztec SDK as **peerDependencies**, so it must resolve to the same aztec version — mismatches cause duplicate-type errors (see Gotchas). ## Step 3 — regenerate the lockfile + toolchain ```bash yarn install # updates node_modules + yarn.lock to the new versions -aztec-up install # install the toolchain matching the target (do NOT rely on a stale nightly) -export PATH="$HOME/.aztec/current/bin:$PATH" ``` -Confirm: `aztec --version`. If a local aztec-packages checkout was given, its toolchain can be used instead. +`aztec-up install ` repoints the host-global `~/.aztec/current`, and the installer also runs +noirup/foundryup into `$HOME/.nargo` and `$HOME/.foundry`. On a machine other agents share, install +into an isolated home instead of switching everyone's toolchain: +```bash +V=$HOME/.cache/aztec-homes/ +env -i HOME="$V" AZTEC_HOME="$V/.aztec" TMPDIR="$TMPDIR" LANG=C.UTF-8 AZTEC_NO_AUTO_UPDATE=1 \ + PATH="$(dirname "$(command -v node)"):/usr/local/bin:/usr/bin:/bin" \ + bash "$HOME/.aztec/bin/aztec-up" install +export AZTEC_HOME="$V/.aztec" PATH="$V/.aztec/current/bin:$PATH" +``` +Confirm: `aztec --version`. The v6 installer needs Node ≥ 24.12 (`install.aztec-labs.com//versions`). ## Step 4 — local validation (prove the bump) Before running the checks, audit every local type/cast that exposes non-public Aztec APIs. These @@ -55,19 +78,22 @@ shims are not checked against the upstream class, so a normal TypeScript build c the real method signature changes: ```bash rg -n 'WalletWithInternals|as unknown as.*Wallet|scopesFrom\(' src benchmarks scripts -# Compare every matching shim/method with the target version in the aztec-packages source checkout. +# Compare every matching shim/method with the target version's source. ``` Run in order; stop and diagnose on the first failure: ```bash yarn ccc # clean + compile + codegen against the new deps -yarn test:nr # Noir tests (aztec test) +yarn test:nr # Noir tests (aztec test) — alone on the host only: it runs against whatever + # listens on 8081; with other agents around use the free-port recipe in Gotchas # typecheck src + scripts (+ benchmarks if the benchmark dep resolves) via a temp tsconfig with noEmit yarn format:check yarn install --frozen-lockfile # lockfile matches package.json yarn build # assembles export/ -(cd export/@aztec-foundation/aztec-standards && npm publish --dry-run --access public) # tarball sanity -# With a local network up (aztec start --local-network; no npm creds needed): +(cd export/@aztec-foundation/aztec-standards && npm publish --dry-run --access public --tag rc) # tarball sanity; prereleases need --tag +# With a local network up (aztec start --local-network; no npm creds needed). It defaults to ports 8080, +# 8880 and anvil 8545; with other agents around pick free ones (--port, --admin-port, ANVIL_PORT, +# ETHEREUM_HOSTS) and point the tests at it with NODE_URL: yarn test:js yarn bench ``` @@ -76,8 +102,7 @@ the CI **JS Tests** and **Benchmark** jobs pass. Do not describe the bump as ful those runtime checks are green. **Diagnosing failures:** a compile/test break is often a real API change in the new aztec version, -not a repo bug. Use the **local aztec-packages checkout / `gh api` at the target ref** to diff the -relevant internals and fix. See Gotchas. +not a repo bug. Diff the relevant internals at the target tag and fix. See Gotchas. ## Step 5 — hand off When everything is green: commit, open a PR to `main`, let CI pass, merge. Then invoke the @@ -86,24 +111,46 @@ When everything is green: commit, open a PR to `main`, let CI pass, merge. Then --- ## Gotchas (bump-time — check these first) -- **Toolchain mismatch.** The default local `aztec`/`nargo` is often an older nightly that can't parse - the target's aztec-nr (e.g. "Non-ASCII character in comment"). Always `aztec-up install `. -- **Hand-rolled reproductions of aztec internals break on API changes.** `src/escrow_contract/src/key_derivation.nr` - re-implements `deriveKeys`; when v5 added master message-signing/fallback keys, escrow addresses - stopped matching. If `get_escrow`/derivation tests fail, diff the aztec-packages key-derivation - constants/`PublicKeys` at the target ref and re-sync. Regenerate the hardcoded `get_test_vector` hashes. +- **Toolchain mismatch.** The default local `aztec`/`nargo` is often an older version that can't parse + the target's aztec-nr. Always install the target version (isolated, per Step 3). +- **Worktrees inside the main checkout build the main checkout.** nargo roots itself at the *topmost* + `[workspace]` Nargo.toml above its program dir, so in `.claude/worktrees/` every `aztec compile`, + `aztec test`, and the pre-commit `aztec-nargo fmt` operate on the main checkout's sources (errors then + cite the *old* tag's crates). `--program-dir ` doesn't help; a symlink to the worktree from + outside the repo, passed as `--program-dir` (a `nargo` wrapper via `NARGO=` for `aztec compile`, and + first on `PATH` as `aztec-nargo`), does. +- **`aztec test` uses a fixed TXE port (8081).** Two concurrent runs share or kill each other's TXE. On a + shared host, reproduce the wrapper on a free port: `aztec start --txe --port

` and + `NARGO_FOREIGN_CALL_TIMEOUT=300000 aztec-nargo test --silence-warnings --oracle-resolver http://127.0.0.1:

`. + `aztec start --local-network` likewise defaults anvil to `ANVIL_PORT` 8545 and keeps any inherited + `ETHEREUM_HOSTS`: set both explicitly. +- **Hand-rolled reproductions of aztec internals break on API changes.** + - `src/escrow_contract/src/key_derivation.nr` re-implements `deriveKeys`; when v5 added master + message-signing/fallback keys, escrow addresses stopped matching. If `get_escrow`/derivation tests + fail, diff the key-derivation constants/`PublicKeys` at the target ref and re-sync. Regenerate the + hardcoded `get_test_vector` hashes. + - The escrow test crate's `utils.nr` duplicates the crate-private TXE oracle `aztec_txe_getPrivateEvents`. + Its return type must match the target's `aztec/src/test/helpers/txe_oracles.nr` exactly (v6: + `BoundedVec, 5>`; v5 returned a raw tuple). + - NFT/MultiToken partial notes import aztec-nr domain separators; v6 moved + `DOM_SEP__PARTIAL_NOTE_COMMITMENT` and `DOM_SEP__NOTE_COMPLETION_LOG_TAG` to `aztec::note::partial_note`. +- **Removed CLI commands.** v6 dropped `aztec inspect-contract` (among others); check `scripts/` and + `package.json` against the target's CLI reference. - **v5 wallet API.** `createSchnorrAccount(secret, salt)` → now needs a 3rd `GrumpkinScalar` signing key; `Wallet` context types may need `EmbeddedWallet`. - **Local wallet-internals shims hide upstream API drift.** `src/ts/test/utils.ts` casts wallets through `unknown` to a hand-written `WalletWithInternals`, so typechecking only verifies that local interface — not the real protected `BaseWallet` methods. Diff every shimmed method against both the old and target - aztec-packages tags. In v5.1, `scopesFrom(from, additionalScopes = [])` became + tags. In v5.1, `scopesFrom(from, additionalScopes = [])` became `scopesFrom(from, additionalScopes, sendMessagesAs)`; a stale one-argument shim compiled but crashed at runtime with `additionalScopes is not iterable`. Prefer constructing simple scopes directly (for a concrete `caller`, `[caller]`) instead of reaching through to this protected helper. - **Network-only checks catch what typechecking cannot.** Both JS tests and benchmarks execute the wallet internals used by commitment helpers. Run `yarn test:js` and `yarn bench` against a local network, or require their CI jobs to pass before calling the bump validated. -- **Benchmark peerDep / duplicate tree.** If `benchmarks/*.ts` typecheck shows `_branding` / - `.../aztec-benchmark/node_modules/@aztec/...` errors, the benchmark pulled a *second* `@aztec` tree — - it must be on a version whose `@aztec/*` are `peerDependencies` matching this repo's aztec version. +- **CI Node floor.** The shared `aztec-ci-actions` `setup-aztec` action pins `setup-node` to 24.0.0, below + the v6 installer's 24.12 floor. If CI fails installing the toolchain, that action needs a bump first. +- **Benchmark peerDep / duplicate tree.** `aztec-benchmark` 5.0.1 declares `@aztec/aztec.js` and + `@aztec/wallets` `>=5 <6` as peers; on v6 yarn only warns. If `benchmarks/*.ts` typecheck shows + `_branding` / `.../aztec-benchmark/node_modules/@aztec…` errors, the benchmark pulled a *second* SDK + tree — it must be on a version whose SDK packages are `peerDependencies` matching this repo's version. diff --git a/README.md b/README.md index ca2f6d31..51b074c9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Aztec Standards is a comprehensive collection of reusable, standardized contracts for the Aztec Network. It provides a robust foundation of token primitives and utilities that support both private and public operations, empowering developers to build innovative privacy-preserving applications with ease. +The npm package ships compiled contract artifacts and TypeScript wrappers but declares no dependencies: the wrappers import `@aztec-labs/aztec.js` (Aztec 6 renamed the SDK scope from `@aztec/*`), so install it at the version in the package's `config.aztecVersion`. + ## ⚠️ Security Status: Unaudited > [!WARNING] diff --git a/benchmarks/escrow_contract.benchmark.ts b/benchmarks/escrow_contract.benchmark.ts index 4e5fa51b..c4b6bd84 100644 --- a/benchmarks/escrow_contract.benchmark.ts +++ b/benchmarks/escrow_contract.benchmark.ts @@ -1,9 +1,9 @@ // Import Aztec dependencies -import { Fr } from '@aztec/aztec.js/fields'; -import { deriveKeys } from '@aztec/stdlib/keys'; -import type { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import { Fr } from '@aztec-labs/aztec.js/fields'; +import { deriveKeys } from '@aztec-labs/stdlib/keys'; +import type { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; // Import the new Benchmark base class and context import { Benchmark, BenchmarkContext } from '@aztec-foundation/aztec-benchmark'; diff --git a/benchmarks/logic_contract.benchmark.ts b/benchmarks/logic_contract.benchmark.ts index 36285cbc..f2e68df0 100644 --- a/benchmarks/logic_contract.benchmark.ts +++ b/benchmarks/logic_contract.benchmark.ts @@ -1,10 +1,10 @@ // Import Aztec dependencies -import { Fr } from '@aztec/aztec.js/fields'; -import { deriveKeys } from '@aztec/stdlib/keys'; -import type { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { getContractClassFromArtifact } from '@aztec/aztec.js/contracts'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import { Fr } from '@aztec-labs/aztec.js/fields'; +import { deriveKeys } from '@aztec-labs/stdlib/keys'; +import type { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { getContractClassFromArtifact } from '@aztec-labs/aztec.js/contracts'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; // Import the new Benchmark base class and context import { Benchmark, BenchmarkContext } from '@aztec-foundation/aztec-benchmark'; diff --git a/benchmarks/multitoken_contract.benchmark.ts b/benchmarks/multitoken_contract.benchmark.ts index 1216af30..82739b77 100644 --- a/benchmarks/multitoken_contract.benchmark.ts +++ b/benchmarks/multitoken_contract.benchmark.ts @@ -1,6 +1,6 @@ -import type { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import type { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; // Import the new Benchmark base class and context import { Benchmark, BenchmarkContext } from '@aztec-foundation/aztec-benchmark'; diff --git a/benchmarks/nft_contract.benchmark.ts b/benchmarks/nft_contract.benchmark.ts index bd7834d7..d0bc3acd 100644 --- a/benchmarks/nft_contract.benchmark.ts +++ b/benchmarks/nft_contract.benchmark.ts @@ -1,6 +1,6 @@ -import type { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import type { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; // Import the new Benchmark base class and context import { Benchmark, BenchmarkContext } from '@aztec-foundation/aztec-benchmark'; diff --git a/benchmarks/token_contract.benchmark.ts b/benchmarks/token_contract.benchmark.ts index 2c8f6efc..39d1bb43 100644 --- a/benchmarks/token_contract.benchmark.ts +++ b/benchmarks/token_contract.benchmark.ts @@ -1,7 +1,7 @@ -import type { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; -import { Fr, GrumpkinScalar } from '@aztec/aztec.js/fields'; +import type { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; +import { Fr, GrumpkinScalar } from '@aztec-labs/aztec.js/fields'; import { parseUnits } from 'viem'; diff --git a/benchmarks/vault_contract.benchmark.ts b/benchmarks/vault_contract.benchmark.ts index 6a57ef13..d93d3adb 100644 --- a/benchmarks/vault_contract.benchmark.ts +++ b/benchmarks/vault_contract.benchmark.ts @@ -1,7 +1,7 @@ -import type { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { AuthWitness } from '@aztec/aztec.js/authorization'; -import type { ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import type { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { AuthWitness } from '@aztec-labs/aztec.js/authorization'; +import type { ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; import { parseUnits } from 'viem'; diff --git a/package.json b/package.json index 1541eb1a..71d2f8f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aztec-foundation/aztec-standards", - "version": "5.2.0", + "version": "6.0.0-rc.1", "repository": { "type": "git", "url": "git+https://github.com/AztecProtocol/aztec-standards.git" @@ -26,14 +26,16 @@ "*.ts": "prettier --write -u" }, "dependencies": { - "@aztec/aztec.js": "5.2.0" + "@aztec-labs/aztec.js": "6.0.0-rc.1" }, "devDependencies": { - "@aztec/pxe": "5.2.0", - "@aztec/stdlib": "5.2.0", - "@aztec/wallet-sdk": "5.2.0", - "@aztec/wallets": "5.2.0", "@aztec-foundation/aztec-benchmark": "5.0.1", + "@aztec-foundation/bb.js": "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/wallet-sdk": "6.0.0-rc.1", + "@aztec-labs/wallets": "6.0.0-rc.1", "@types/node": "25.0.10", "husky": "9.1.7", "lint-staged": "16.2.7", @@ -42,7 +44,7 @@ "vitest": "4.0.17" }, "config": { - "aztecVersion": "5.2.0" + "aztecVersion": "6.0.0-rc.1" }, "engines": { "node": ">=22" diff --git a/scripts/build-package.sh b/scripts/build-package.sh index 9a9cfea0..171dd70c 100755 --- a/scripts/build-package.sh +++ b/scripts/build-package.sh @@ -8,12 +8,6 @@ EXPORT_DIR="export/${PROJECT_NAME}" mkdir -p dist/artifacts/ yarn tsc src/artifacts/*.ts --outDir dist/artifacts/ --skipLibCheck --target es2020 --module nodenext --moduleResolution nodenext --resolveJsonModule --declaration -# ── Inspect contracts ──────────────────────────────────────────────────────── -for f in target/*.json; do - [ -f "$f" ] || continue - aztec inspect-contract "$f" -done - # ── Prepare export directory ───────────────────────────────────────────────── mkdir -p "${EXPORT_DIR}/artifacts" mkdir -p "${EXPORT_DIR}/dist" @@ -24,8 +18,8 @@ cp -r dist/artifacts/* "${EXPORT_DIR}/artifacts/" # Copy compiled JS artifacts to dist/ (for pre-release dist.tar.gz) cp -r dist/artifacts/* "${EXPORT_DIR}/dist/" -# Copy compiled Noir contracts (excluding the *.json.bak backups that -# `aztec inspect-contract` leaves behind — they ~double the package size) +# Copy compiled Noir contracts, minus the *.json.bak pre-postprocessing copies that `aztec compile` +# (its `bb aztec_process` step) leaves next to each artifact — they ~double the package size cp -r target "${EXPORT_DIR}/" find "${EXPORT_DIR}/target" -name '*.bak' -delete diff --git a/src/arc403_interface/Nargo.toml b/src/arc403_interface/Nargo.toml index c3713d0e..bd2c4ffa 100644 --- a/src/arc403_interface/Nargo.toml +++ b/src/arc403_interface/Nargo.toml @@ -5,4 +5,4 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } diff --git a/src/arc403_interface/multitoken/Nargo.toml b/src/arc403_interface/multitoken/Nargo.toml index 46b37cba..58b01b8b 100644 --- a/src/arc403_interface/multitoken/Nargo.toml +++ b/src/arc403_interface/multitoken/Nargo.toml @@ -5,4 +5,4 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } diff --git a/src/dripper/Nargo.toml b/src/dripper/Nargo.toml index d10171fe..0bdad13e 100644 --- a/src/dripper/Nargo.toml +++ b/src/dripper/Nargo.toml @@ -5,5 +5,5 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } token = { path = "../token_contract" } diff --git a/src/escrow_contract/Nargo.toml b/src/escrow_contract/Nargo.toml index 9c07285c..61bcda9b 100644 --- a/src/escrow_contract/Nargo.toml +++ b/src/escrow_contract/Nargo.toml @@ -5,8 +5,8 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } -serde = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/noir-protocol-circuits/crates/serde" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } +serde = { git = "https://github.com/AztecProtocol/aztec-packages", tag = "v6.0.0-rc.1", directory = "noir-projects/fnd/noir-protocol-circuits/crates/serde" } token = { path = "../token_contract" } nft = { path = "../nft_contract" } sha512 = { git = "https://github.com/noir-lang/sha512", tag = "mv/use-bool-over-u1" } diff --git a/src/escrow_contract/src/test/test_logic_contract/Nargo.toml b/src/escrow_contract/src/test/test_logic_contract/Nargo.toml index eb39a4ed..5db5073c 100644 --- a/src/escrow_contract/src/test/test_logic_contract/Nargo.toml +++ b/src/escrow_contract/src/test/test_logic_contract/Nargo.toml @@ -5,7 +5,7 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } escrow_contract = { path = "../../../" } token = { path = "../../../../token_contract" } nft = { path = "../../../../nft_contract" } diff --git a/src/escrow_contract/src/test/test_logic_contract/src/test/utils.nr b/src/escrow_contract/src/test/test_logic_contract/src/test/utils.nr index 26067954..4e022f43 100644 --- a/src/escrow_contract/src/test/test_logic_contract/src/test/utils.nr +++ b/src/escrow_contract/src/test/test_logic_contract/src/test/utils.nr @@ -11,12 +11,9 @@ use aztec::{ }; use escrow_contract::types::escrow_details_event::EscrowDetailsLogContent; -// --- TXE private events (`txe_oracles::get_private_events` is crate-private; we duplicate its oracle only) --- -// -// CANONICAL VALUES: keep in lockstep with aztec-nr when bumping the `aztec` dependency (this crate's Nargo.toml tag). -// Source: https://github.com/AztecProtocol/aztec-packages/blob/v5.1.0/noir-projects/aztec-nr/aztec/src/test/helpers/txe_oracles.nr#L42-L43 -// (`MAX_PRIVATE_EVENTS_PER_TXE_QUERY` and `MAX_EVENT_SERIALIZATION_LENGTH` are still module-private there, so not importable; -// values re-verified unchanged at v5.1.0.) +// aztec-nr's `txe_oracles::get_private_events` is crate-private, so this duplicates its oracle. The oracle's return +// type (#L187-L192) and these module-private constants (#L42-L43) must match the `aztec` tag in this crate's Nargo.toml: +// https://github.com/aztec-labs-eng/aztec-nr/blob/v6.0.0-rc.1/aztec/src/test/helpers/txe_oracles.nr global MAX_PRIVATE_EVENTS_PER_TXE_QUERY: u32 = 5; global MAX_EVENT_SERIALIZATION_LENGTH: u32 = 10; @@ -25,7 +22,7 @@ unconstrained fn get_private_events_oracle( selector: EventSelector, contract_address: AztecAddress, scope: AztecAddress, - ) -> ([[Field; MAX_EVENT_SERIALIZATION_LENGTH]; MAX_PRIVATE_EVENTS_PER_TXE_QUERY], [u32; MAX_PRIVATE_EVENTS_PER_TXE_QUERY], u32) {} + ) -> BoundedVec, MAX_PRIVATE_EVENTS_PER_TXE_QUERY> {} pub unconstrained fn deploy_logic( env: &mut TestEnvironment, @@ -129,24 +126,7 @@ pub unconstrained fn get_private_events_from_last_tx( "EscrowDetailsLogContent::N exceeds MAX_EVENT_SERIALIZATION_LENGTH - sync with aztec-nr txe_oracles and TXE", ); - let (raw_array_storage, event_lengths, query_length) = - get_private_events_oracle(selector, contract_address, scope); - - assert( - query_length <= MAX_PRIVATE_EVENTS_PER_TXE_QUERY, - "TXE query_length exceeds MAX_PRIVATE_EVENTS_PER_TXE_QUERY - sync constants with aztec-nr txe_oracles", - ); - - let mut events = BoundedVec::new(); - for i in 0..query_length { - let len = event_lengths[i]; - assert( - len <= MAX_EVENT_SERIALIZATION_LENGTH, - "TXE event payload length exceeds MAX_EVENT_SERIALIZATION_LENGTH - sync constants with aztec-nr txe_oracles", - ); - events.push(BoundedVec::from_parts(raw_array_storage[i], len)); - } - events + get_private_events_oracle(selector, contract_address, scope) } /// Asserts the last transaction emitted exactly one `EscrowDetailsLogContent` private event to `recipient` from `logic`. diff --git a/src/generic_proxy/Nargo.toml b/src/generic_proxy/Nargo.toml index 55977993..9e066ebb 100644 --- a/src/generic_proxy/Nargo.toml +++ b/src/generic_proxy/Nargo.toml @@ -5,4 +5,4 @@ compiler_version = ">=0.25.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } diff --git a/src/multitoken_contract/Nargo.toml b/src/multitoken_contract/Nargo.toml index 48041383..c7a8381b 100644 --- a/src/multitoken_contract/Nargo.toml +++ b/src/multitoken_contract/Nargo.toml @@ -5,8 +5,8 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } -compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/compressed-string" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } +compressed_string = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "compressed-string" } arc403_multitoken_interface = { path = "../arc403_interface/multitoken" } multitoken_authorization_contract = { path = "src/test/multitoken_authorization_contract" } generic_proxy = { path = "../generic_proxy" } diff --git a/src/multitoken_contract/src/test/multitoken_authorization_contract/Nargo.toml b/src/multitoken_contract/src/test/multitoken_authorization_contract/Nargo.toml index 9ea8ba2a..08210a9b 100644 --- a/src/multitoken_contract/src/test/multitoken_authorization_contract/Nargo.toml +++ b/src/multitoken_contract/src/test/multitoken_authorization_contract/Nargo.toml @@ -5,4 +5,4 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } diff --git a/src/multitoken_contract/src/types/multitoken_note.nr b/src/multitoken_contract/src/types/multitoken_note.nr index 971de911..c436c2aa 100644 --- a/src/multitoken_contract/src/types/multitoken_note.nr +++ b/src/multitoken_contract/src/types/multitoken_note.nr @@ -8,15 +8,13 @@ use aztec::{ }, note::{ note_interface::{NoteHash, NoteType}, + partial_note::{DOM_SEP__NOTE_COMPLETION_LOG_TAG, DOM_SEP__PARTIAL_NOTE_COMMITMENT}, utils::{compute_note_hash, compute_note_nullifier}, }, oracle::random::random, protocol::{ address::AztecAddress, - constants::{ - DOM_SEP__NOTE_COMPLETION_LOG_TAG, DOM_SEP__PARTIAL_NOTE_COMMITMENT, - DOM_SEP__PARTIAL_NOTE_VALIDITY_COMMITMENT, - }, + constants::DOM_SEP__PARTIAL_NOTE_VALIDITY_COMMITMENT, hash::{compute_log_tag, compute_siloed_nullifier, poseidon2_hash_with_separator}, traits::{Deserialize, FromField, Packable, Serialize, ToField}, }, diff --git a/src/nft_contract/Nargo.toml b/src/nft_contract/Nargo.toml index 2749f7e9..4545602a 100644 --- a/src/nft_contract/Nargo.toml +++ b/src/nft_contract/Nargo.toml @@ -5,6 +5,6 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } -compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/compressed-string" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } +compressed_string = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "compressed-string" } generic_proxy = { path = "../generic_proxy" } diff --git a/src/nft_contract/src/types/nft_note.nr b/src/nft_contract/src/types/nft_note.nr index 40d3cdcc..e6f75507 100644 --- a/src/nft_contract/src/types/nft_note.nr +++ b/src/nft_contract/src/types/nft_note.nr @@ -8,15 +8,13 @@ use aztec::{ }, note::{ note_interface::{NoteHash, NoteType}, + partial_note::{DOM_SEP__NOTE_COMPLETION_LOG_TAG, DOM_SEP__PARTIAL_NOTE_COMMITMENT}, utils::{compute_note_hash, compute_note_nullifier}, }, oracle::random::random, protocol::{ address::AztecAddress, - constants::{ - DOM_SEP__NOTE_COMPLETION_LOG_TAG, DOM_SEP__PARTIAL_NOTE_COMMITMENT, - DOM_SEP__PARTIAL_NOTE_VALIDITY_COMMITMENT, - }, + constants::DOM_SEP__PARTIAL_NOTE_VALIDITY_COMMITMENT, hash::{compute_log_tag, poseidon2_hash_with_separator}, traits::{Deserialize, Hash, Packable, Serialize, ToField}, }, diff --git a/src/token_contract/Nargo.toml b/src/token_contract/Nargo.toml index dae98754..f2eea74f 100644 --- a/src/token_contract/Nargo.toml +++ b/src/token_contract/Nargo.toml @@ -5,10 +5,10 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } -uint_note = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/uint-note" } -balance_set = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/balance-set" } -compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/compressed-string" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } +uint_note = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "uint-note" } +balance_set = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "balance-set" } +compressed_string = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "compressed-string" } generic_proxy = { path = "../generic_proxy" } arc403_interface = { path = "../arc403_interface" } authorization_contract = { path = "src/test/test_authorization_contract" } diff --git a/src/token_contract/src/test/test_authorization_contract/Nargo.toml b/src/token_contract/src/test/test_authorization_contract/Nargo.toml index 547f9088..718d364a 100644 --- a/src/token_contract/src/test/test_authorization_contract/Nargo.toml +++ b/src/token_contract/src/test/test_authorization_contract/Nargo.toml @@ -5,4 +5,4 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } diff --git a/src/ts/test/escrow.test.ts b/src/ts/test/escrow.test.ts index 0cefe1ae..c382d2a7 100644 --- a/src/ts/test/escrow.test.ts +++ b/src/ts/test/escrow.test.ts @@ -1,17 +1,17 @@ -import { deriveKeys } from '@aztec/stdlib/keys'; -import { PublicKeys } from '@aztec/aztec.js/keys'; -import { type AztecNode } from '@aztec/aztec.js/node'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { type EmbeddedWallet } from '@aztec/wallets/embedded'; -import { BlockNumber } from '@aztec/foundation/branded-types'; -import { ContractDeployer } from '@aztec/aztec.js/deployment'; -import { Fr } from '@aztec/aztec.js/fields'; -import { PublicKey } from '@aztec/stdlib/keys'; +import { deriveKeys } from '@aztec-labs/stdlib/keys'; +import { PublicKeys } from '@aztec-labs/aztec.js/keys'; +import { type AztecNode } from '@aztec-labs/aztec.js/node'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { type EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { BlockNumber } from '@aztec-labs/foundation/branded-types'; +import { ContractDeployer } from '@aztec-labs/aztec.js/deployment'; +import { Fr } from '@aztec-labs/aztec.js/fields'; +import { PublicKey } from '@aztec-labs/stdlib/keys'; import { getContractInstanceFromInstantiationParams, getContractClassFromArtifact, type ContractInstanceWithAddress, -} from '@aztec/aztec.js/contracts'; +} from '@aztec-labs/aztec.js/contracts'; import { describe, it, expect, beforeAll, beforeEach, afterAll } from 'vitest'; diff --git a/src/ts/test/multitoken.test.ts b/src/ts/test/multitoken.test.ts index be2b5d76..fe273634 100644 --- a/src/ts/test/multitoken.test.ts +++ b/src/ts/test/multitoken.test.ts @@ -1,8 +1,8 @@ -import { Fr } from '@aztec/aztec.js/fields'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { type EmbeddedWallet } from '@aztec/wallets/embedded'; -import { SetPublicAuthwitContractInteraction, lookupValidity } from '@aztec/aztec.js/authorization'; -import { type ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; +import { Fr } from '@aztec-labs/aztec.js/fields'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { type EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { SetPublicAuthwitContractInteraction, lookupValidity } from '@aztec-labs/aztec.js/authorization'; +import { type ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; import { describe, it, expect, beforeAll, beforeEach, afterAll } from 'vitest'; diff --git a/src/ts/test/nft.test.ts b/src/ts/test/nft.test.ts index aec9a1c5..346abec2 100644 --- a/src/ts/test/nft.test.ts +++ b/src/ts/test/nft.test.ts @@ -8,16 +8,16 @@ import { PRIVATE_ADDRESS, } from './utils.js'; -import { Fr, GrumpkinScalar } from '@aztec/aztec.js/fields'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { type EmbeddedWallet } from '@aztec/wallets/embedded'; -import { ContractDeployer } from '@aztec/aztec.js/deployment'; -import { getContractInstanceFromInstantiationParams } from '@aztec/aztec.js/contracts'; +import { Fr, GrumpkinScalar } from '@aztec-labs/aztec.js/fields'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { type EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { ContractDeployer } from '@aztec-labs/aztec.js/deployment'; +import { getContractInstanceFromInstantiationParams } from '@aztec-labs/aztec.js/contracts'; import { ContractFunctionInteractionCallIntent, SetPublicAuthwitContractInteraction, lookupValidity, -} from '@aztec/aztec.js/authorization'; +} from '@aztec-labs/aztec.js/authorization'; import { describe, it, expect, beforeAll, beforeEach, afterAll } from 'vitest'; diff --git a/src/ts/test/token.test.ts b/src/ts/test/token.test.ts index c6683981..fa9f8941 100644 --- a/src/ts/test/token.test.ts +++ b/src/ts/test/token.test.ts @@ -1,11 +1,11 @@ -import { Fr, GrumpkinScalar } from '@aztec/aztec.js/fields'; -import { type AztecNode } from '@aztec/aztec.js/node'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { type EmbeddedWallet } from '@aztec/wallets/embedded'; -import { ContractDeployer } from '@aztec/aztec.js/deployment'; -import { SetPublicAuthwitContractInteraction, lookupValidity } from '@aztec/aztec.js/authorization'; -import { type ContractFunctionInteractionCallIntent } from '@aztec/aztec.js/authorization'; -import { getContractInstanceFromInstantiationParams } from '@aztec/aztec.js/contracts'; +import { Fr, GrumpkinScalar } from '@aztec-labs/aztec.js/fields'; +import { type AztecNode } from '@aztec-labs/aztec.js/node'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { type EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { ContractDeployer } from '@aztec-labs/aztec.js/deployment'; +import { SetPublicAuthwitContractInteraction, lookupValidity } from '@aztec-labs/aztec.js/authorization'; +import { type ContractFunctionInteractionCallIntent } from '@aztec-labs/aztec.js/authorization'; +import { getContractInstanceFromInstantiationParams } from '@aztec-labs/aztec.js/contracts'; import { describe, it, expect, beforeAll, beforeEach, afterAll } from 'vitest'; diff --git a/src/ts/test/utils.ts b/src/ts/test/utils.ts index 3d118480..0a146cb0 100644 --- a/src/ts/test/utils.ts +++ b/src/ts/test/utils.ts @@ -1,39 +1,39 @@ -import { createLogger } from '@aztec/aztec.js/log'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { type Wallet, AccountManager } from '@aztec/aztec.js/wallet'; -import { Fr } from '@aztec/aztec.js/fields'; -import { createAztecNodeClient, waitForNode, waitForTx } from '@aztec/aztec.js/node'; -import { type ContractInstanceWithAddress } from '@aztec/aztec.js/contracts'; -import { TxHash } from '@aztec/aztec.js/tx'; -import { EmbeddedWallet } from '@aztec/wallets/embedded'; -import { registerInitialLocalNetworkAccountsInWallet } from '@aztec/wallets/testing'; -import { PublicKeys } from '@aztec/stdlib/keys'; +import { createLogger } from '@aztec-labs/aztec.js/log'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { type Wallet, AccountManager } from '@aztec-labs/aztec.js/wallet'; +import { Fr } from '@aztec-labs/aztec.js/fields'; +import { createAztecNodeClient, waitForNode, waitForTx } from '@aztec-labs/aztec.js/node'; +import { type ContractInstanceWithAddress } from '@aztec-labs/aztec.js/contracts'; +import { TxHash } from '@aztec-labs/aztec.js/tx'; +import { EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { registerInitialLocalNetworkAccountsInWallet } from '@aztec-labs/wallets/testing'; +import { PublicKeys } from '@aztec-labs/stdlib/keys'; import { DeployOptions, ContractFunctionInteraction, getContractClassFromArtifact, getContractInstanceFromInstantiationParams, -} from '@aztec/aztec.js/contracts'; -import { AuthWitness, SetPublicAuthwitContractInteraction } from '@aztec/aztec.js/authorization'; -import { getPublicEvents, type EventCursor } from '@aztec/aztec.js/events'; -import { getDefaultInitializer, getInitializer } from '@aztec/stdlib/abi'; +} from '@aztec-labs/aztec.js/contracts'; +import { AuthWitness, SetPublicAuthwitContractInteraction } from '@aztec-labs/aztec.js/authorization'; +import { getPublicEvents, type EventCursor } from '@aztec-labs/aztec.js/events'; +import { getDefaultInitializer, getInitializer } from '@aztec-labs/stdlib/abi'; import { computeInitializationHash, computeSaltedInitializationHash, computeContractAddressFromInstance, -} from '@aztec/stdlib/contract'; +} from '@aztec-labs/stdlib/contract'; -import { getPXEConfig } from '@aztec/pxe/server'; -import { type TxExecutionRequest, type TxProvingResult } from '@aztec/stdlib/tx'; -import { type ExecutionPayload } from '@aztec/stdlib/tx'; -import { type FeeOptions } from '@aztec/wallet-sdk/base-wallet'; -import { Barretenberg } from '@aztec/bb.js'; +import { getPXEConfig } from '@aztec-labs/pxe/server'; +import { type TxExecutionRequest, type TxProvingResult } from '@aztec-labs/stdlib/tx'; +import { type ExecutionPayload } from '@aztec-labs/stdlib/tx'; +import { type FeeOptions } from '@aztec-labs/wallet-sdk/base-wallet'; +import { Barretenberg } from '@aztec-foundation/bb.js'; /** * Subset of protected BaseWallet methods needed to prove a tx and extract private return values. * These are not part of the public Wallet interface, so we define a local type to avoid `as any`. - * Signatures must be kept in lockstep with `BaseWallet` (`@aztec/wallet-sdk/base-wallet`) on every + * Signatures must be kept in lockstep with `BaseWallet` (`@aztec-labs/wallet-sdk/base-wallet`) on every * version bump — they are internal and can change without a deprecation cycle. */ interface WalletWithInternals { @@ -435,11 +435,8 @@ export async function setPublicAuthWit( * private return value (the commitment) of the SAME execution that gets submitted. Do NOT replace * this with simulate()-then-send(): `initialize_transfer_commitment` derives its commitment from * randomness drawn fresh on every private execution, so a simulated commitment would never match - * the partial note the sent tx actually creates. As of @aztec/* 5.1.0 no public wallet API exposes - * private return values (BaseWallet.sendTx discards privateExecutionResult) — re-check on bumps. - * - * Proves an `initialize_transfer_commitment` interaction, extracts the private return value - * (the partial-note commitment), submits the proven tx, and waits for it to land. + * the partial note the sent tx actually creates. As of @aztec-labs/* 6.0.0-rc.1 no public wallet API + * exposes private return values (BaseWallet.sendTx discards privateExecutionResult) — re-check on bumps. */ async function proveExtractAndSendCommitment( interaction: ContractFunctionInteraction, diff --git a/src/ts/test/vault.test.ts b/src/ts/test/vault.test.ts index 5dfe4bce..94ec0328 100644 --- a/src/ts/test/vault.test.ts +++ b/src/ts/test/vault.test.ts @@ -11,10 +11,10 @@ import { PRIVATE_ADDRESS, } from './utils.js'; -import { AztecAddress } from '@aztec/aztec.js/addresses'; -import { type EmbeddedWallet } from '@aztec/wallets/embedded'; -import { type ContractFunctionInteraction } from '@aztec/aztec.js/contracts'; -import { type TxHash } from '@aztec/aztec.js/tx'; +import { AztecAddress } from '@aztec-labs/aztec.js/addresses'; +import { type EmbeddedWallet } from '@aztec-labs/wallets/embedded'; +import { type ContractFunctionInteraction } from '@aztec-labs/aztec.js/contracts'; +import { type TxHash } from '@aztec-labs/aztec.js/tx'; import { describe, it, expect, beforeAll, beforeEach, afterAll } from 'vitest'; diff --git a/src/vault_contract/Nargo.toml b/src/vault_contract/Nargo.toml index 2238d530..af4aabfd 100644 --- a/src/vault_contract/Nargo.toml +++ b/src/vault_contract/Nargo.toml @@ -5,6 +5,6 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } token_contract = { path = "../token_contract" } generic_proxy = { path = "../generic_proxy" } diff --git a/src/vault_deployer/Nargo.toml b/src/vault_deployer/Nargo.toml index 3515eee1..4ed7c814 100644 --- a/src/vault_deployer/Nargo.toml +++ b/src/vault_deployer/Nargo.toml @@ -5,6 +5,6 @@ compiler_version = ">=1.0.0" type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.2.0", directory = "noir-projects/aztec-nr/aztec" } +aztec = { git = "https://github.com/aztec-labs-eng/aztec-nr", tag = "v6.0.0-rc.1", directory = "aztec" } vault_contract = { path = "../vault_contract" } token_contract = { path = "../token_contract" } diff --git a/yarn.lock b/yarn.lock index 73e78d98..bf1766d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -597,131 +597,233 @@ tsx "4.19.4" typescript "5.8.3" -"@aztec/accounts@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/accounts/-/accounts-5.2.0.tgz#31fe55d5bad8db3387022323a3ebb7afefd7c3fa" - integrity sha512-I0M4B17WPKq0RbSTg+ExfRet2r4/AGm1U20pW+VGCPNqcpiKM8w6KQQ9SgWHBC0/V0EI++oD6ctgwxFt0ue2WQ== - dependencies: - "@aztec/aztec.js" "5.2.0" - "@aztec/entrypoints" "5.2.0" - "@aztec/ethereum" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/stdlib" "5.2.0" - tslib "^2.4.0" - -"@aztec/aztec.js@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/aztec.js/-/aztec.js-5.2.0.tgz#eb8432cf58f016d55547f9ff41addc056beffb2f" - integrity sha512-vQg1KZEqukjPXvF1UDjEHNhqhDzW+LPHSUCZu9VgFZ3XkLmmEv3qMCPbrsam6/bZZQ7oy+m12xExXlXb9kqhlg== - dependencies: - "@aztec/constants" "5.2.0" - "@aztec/entrypoints" "5.2.0" - "@aztec/ethereum" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/l1-artifacts" "5.2.0" - "@aztec/protocol-contracts" "5.2.0" - "@aztec/standard-contracts" "5.2.0" - "@aztec/stdlib" "5.2.0" - axios "^1.15.1" - tslib "^2.4.0" - viem "npm:@aztec/viem@2.38.2" - zod "^4" - -"@aztec/bb-prover@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/bb-prover/-/bb-prover-5.2.0.tgz#2ac571a6790260650970a5cf1c979f636518b2d6" - integrity sha512-R1zw2iv1hz332Yeg20rNSmaTxu2p0iolvG+Y8FvueMcYlY/tBJNv8I17IKw3o5+SC3WaGTnZPXIPSRn82l9+dg== - dependencies: - "@aztec/bb.js" "5.2.0" - "@aztec/constants" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/noir-noirc_abi" "5.2.0" - "@aztec/noir-protocol-circuits-types" "5.2.0" - "@aztec/noir-types" "5.2.0" - "@aztec/simulator" "5.2.0" - "@aztec/stdlib" "5.2.0" - "@aztec/telemetry-client" "5.2.0" - "@aztec/world-state" "5.2.0" - 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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/bb.js/-/bb.js-5.2.0.tgz#ca34fe9932a2d9a38365d5fb67038db7bd898255" - integrity sha512-XQRbl6TfHg7xXwf4b3cNSggtwsIxl2z2/zV49/Ahxa1Nc1D7x05NY0QL5mYSRdOJlGKZ3TUTH48lDWAwJSVulg== +"@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/blob-lib/-/blob-lib-5.2.0.tgz#5352f7fee16a8f83102fd8e3de6133cd98adbc6e" - integrity sha512-92na/AeGAXgAAFRVtQ3EnGyuWoeUhbupQt5+t9YprP8HQOYi+skSgmR/plWsZpUBcYQuwrr2LAJjGP/RLOtePA== +"@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.2.0" - "@aztec/foundation" "5.2.0" - "@crate-crypto/node-eth-kzg" "^0.10.0" + msgpackr "^1.11.2" tslib "^2.4.0" -"@aztec/builder@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/builder/-/builder-5.2.0.tgz#18ebb43e5015c5be57f55fe13dc047e7a49dd0fc" - integrity sha512-l8GLI8OhiKGuvG9wk16I8g1AQVRb6LsB+pcl7SfuCaRlShCm9qpfzZ2bSQAZauU9baqtClMb1XHpoVO0KQAcQg== +"@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.2.0" - "@aztec/stdlib" "5.2.0" + "@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/constants/-/constants-5.2.0.tgz#25564b70c1aca8cf638cd36fd3534ecfa68630c8" - integrity sha512-bID+0RCntIEBa+7j6Py53EY9sFMh+1SWPsj5IevYwlr9F38fdLDbb5uIpkuXWpJBCLRSmv1qnFMC6QZ3NLQZvw== +"@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.2.0" + "@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/entrypoints/-/entrypoints-5.2.0.tgz#7181b54c796242f2339623032b9b6165368f14a7" - integrity sha512-GDJTd/W0z1YUMdkQht+LeVE1BGN03cLwH/0W5x8th3Cso6pDl34HUNg1FcNhxyEOpmItDySBTfJ/Pg3OxO0aLQ== - dependencies: - "@aztec/constants" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/protocol-contracts" "5.2.0" - "@aztec/standard-contracts" "5.2.0" - "@aztec/stdlib" "5.2.0" +"@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/ethereum/-/ethereum-5.2.0.tgz#e7c381929e80ff45e1fdd9779561b7877fbdc30b" - integrity sha512-eDeJDelpGMxk5xjmTSusEXurOFZPNsz/gsmk8RCv/2tMKpGnc0+PBdTreo9OVj1MV3I+Ry27tssJKcIraqE+Lw== +"@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.2.0" - "@aztec/constants" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/l1-artifacts" "5.2.0" + "@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/foundation/-/foundation-5.2.0.tgz#3f22e833672c655ea33cafbef415705260737439" - integrity sha512-cf3WsZlsfIype0828zJa0EN+VUgcQnks6E828QXfbpwdd6VXQ9DF+494tqNAkeNUF8Aq06LcobS0USO9cwycXA== +"@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.2.0" + "@aztec-foundation/bb.js" "6.0.0-rc.1" "@koa/cors" "^5.0.0" "@noble/curves" "=1.7.0" "@noble/hashes" "^1.6.1" @@ -742,180 +844,147 @@ pino-pretty "^13.0.0" sha3 "^2.1.4" undici "^5.28.5" - zod "^4" + zod "~4.4.3" -"@aztec/key-store@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/key-store/-/key-store-5.2.0.tgz#bdeab249a52a0bf90cfee406aca24126d6195bfd" - integrity sha512-jkQextgwZQ+7sCOMh+mDv3eOkHYfHvwiVkLNzueNfmLP/4lXlgKFSXCM1znpWqhkz+OOm/UXZYBznXluUMBn1A== +"@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.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/kv-store" "5.2.0" - "@aztec/stdlib" "5.2.0" + "@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/kv-store/-/kv-store-5.2.0.tgz#834868ac2f522bedca465d2b060b9f48b8eccd7e" - integrity sha512-ERFREI3XSmFAxk4yILk0sOkccwblzAwJ+YyIThpTu8EKm+R0zSSznm2lCJe5BQdA1Hv+O+D9nn90fjgrgfiRkw== - dependencies: - "@aztec/constants" "5.2.0" - "@aztec/ethereum" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/native" "5.2.0" - "@aztec/sqlite3mc-wasm" "5.2.0" - "@aztec/stdlib" "5.2.0" +"@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/l1-artifacts/-/l1-artifacts-5.2.0.tgz#1b89b7a70af689ccca90c870f8288d7f534188c8" - integrity sha512-Bp+ukVUUfTBvHQ7kaXMgZ0EaXstsdsI784kZ1eJh9zD3x7kQVfgO9rn0WwMtpKBZyZjP7ybU9dJAkZFdkVAJfg== - dependencies: - tslib "^2.4.0" - -"@aztec/native@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/native/-/native-5.2.0.tgz#274be88eabdd731d41f8caa35b5b56778cb13316" - integrity sha512-xISYd5I7uJjhvDJDcMYzBt5pjYBUhfefbBFEG15DsFN3oPjDuY/neeqv3J4HGTtQrwQjH8eEAJPGgYu+wygY+A== +"@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.2.0" - "@aztec/foundation" "5.2.0" + "@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/noir-acvm_js/-/noir-acvm_js-5.2.0.tgz#9e476716cb7bf0de9b416f5c6eb50af9e8762094" - integrity sha512-/dbQAYJxXTtnuqWTKUpBcJXzsUMoWxHcW2r/yGNzhT/ojY+H0TiR+MgqLc7A2EO2XvqEDJFCzH5jAhR0T0/rKQ== - -"@aztec/noir-noir_codegen@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/noir-noir_codegen/-/noir-noir_codegen-5.2.0.tgz#53cdbb12e0970c9c0b9dca403c470809d2501cba" - integrity sha512-qrxmFLSQm4r/+bX13uxg1WE/Cq6zc6ZParpwbqQjRpHKAJqzF+djXwq8jVuCy/cAy9mWPNssTi9DvELRzTJ0xQ== - dependencies: - "@aztec/noir-types" "5.2.0" - glob "^13.0.6" - ts-command-line-args "^2.5.1" - -"@aztec/noir-noirc_abi@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/noir-noirc_abi/-/noir-noirc_abi-5.2.0.tgz#be3f4cf3bcd2bac588984d23666936898c91d3c7" - integrity sha512-j3kHnuX7Y+XLqsAqodHxS1mXdW1gSb+8QVd3NOUDPuDX8nujI7Wr7Errjf6ni/20UBsk0Xj/ThklTIVkeC/3lg== - dependencies: - "@aztec/noir-types" "5.2.0" - -"@aztec/noir-protocol-circuits-types@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/noir-protocol-circuits-types/-/noir-protocol-circuits-types-5.2.0.tgz#0876109db00cfcb598c32bd1ed211cdb7a4e5fc7" - integrity sha512-ZrWADr58Sm3sxt1Kx6XAxREW17BdatQfgPvol2d5ObsSWbkXiemGYWFePHevjDhoQxvNJnEdQVcHzwindEUU/g== - dependencies: - "@aztec/blob-lib" "5.2.0" - "@aztec/constants" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/noir-acvm_js" "5.2.0" - "@aztec/noir-noir_codegen" "5.2.0" - "@aztec/noir-noirc_abi" "5.2.0" - "@aztec/noir-types" "5.2.0" - "@aztec/stdlib" "5.2.0" +"@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/noir-types/-/noir-types-5.2.0.tgz#556c364140d7fe0cef0ccfb91807479cbf726a55" - integrity sha512-JKvWs69FnPNZ2z4NfVm/grNT50OFIhfC6qf+SzLIovsNwBP1SxZDFuJQ+wn5dvkjeXHA63YZF6ix+b6ot6XNnQ== - -"@aztec/protocol-contracts@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/protocol-contracts/-/protocol-contracts-5.2.0.tgz#e76ae77380879403bd89f74e5d6ce6a641988047" - integrity sha512-nH/rzvzetOZQ1og8F5OWP31w7R2Q8Gc6XKE1/xfRCmxaq/AvV7tJkkz9nphYPQK8E65IaCZmNeKwO/eMm2SJzw== +"@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.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/stdlib" "5.2.0" + "@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/pxe/-/pxe-5.2.0.tgz#405653785531a0669a654f19cf8e64090b2bdcf2" - integrity sha512-O3YyQrexfXBPiDzNFJW08A6jS7i7nroTEEzGVeDtNOVN9lcdwX4TaJLQf4iZ5fFtHdh3vZaXbT0dXksvLmUhOg== - dependencies: - "@aztec/bb-prover" "5.2.0" - "@aztec/bb.js" "5.2.0" - "@aztec/builder" "5.2.0" - "@aztec/constants" "5.2.0" - "@aztec/ethereum" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/key-store" "5.2.0" - "@aztec/kv-store" "5.2.0" - "@aztec/noir-protocol-circuits-types" "5.2.0" - "@aztec/noir-types" "5.2.0" - "@aztec/protocol-contracts" "5.2.0" - "@aztec/simulator" "5.2.0" - "@aztec/standard-contracts" "5.2.0" - "@aztec/stdlib" "5.2.0" +"@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/simulator/-/simulator-5.2.0.tgz#48e8b3b19696fcf2e6367f419f13526b1a6600ec" - integrity sha512-49q3RTnLTqOO21snhKpNgM4vctVnu8aRfGSQuxuQ8eDaKV+4GBpdbbJPkCZDi4jY4edbI51g75eDFcsvw9w+5w== - dependencies: - "@aztec/constants" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/native" "5.2.0" - "@aztec/noir-acvm_js" "5.2.0" - "@aztec/noir-noirc_abi" "5.2.0" - "@aztec/noir-protocol-circuits-types" "5.2.0" - "@aztec/noir-types" "5.2.0" - "@aztec/protocol-contracts" "5.2.0" - "@aztec/standard-contracts" "5.2.0" - "@aztec/stdlib" "5.2.0" - "@aztec/telemetry-client" "5.2.0" - "@aztec/world-state" "5.2.0" + 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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/sqlite3mc-wasm/-/sqlite3mc-wasm-5.2.0.tgz#cb39c7268345def6380f648d1dd25e74f46c4c1e" - integrity sha512-EfKdqEe/s8gi8YTzHSRoGGbc8i1qzhwyQ+ikxkkP2HFtkN6reyf/nD6XrPC1JoMJEqN8wCjSNAqDzOJrSh0YJg== +"@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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/standard-contracts/-/standard-contracts-5.2.0.tgz#43ed8c93934905a484cabc7f3901ea536819b358" - integrity sha512-ZOrnjgw/e+OJBKQeJBmwuCTmA5mjkMbMsBk9OyGNfDsn78lmV6c8WT2p3MlRioPcqYRM3lqYI+ZWbDow3fxw5A== +"@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.2.0" - "@aztec/stdlib" "5.2.0" + "@aztec-labs/foundation" "6.0.0-rc.1" + "@aztec-labs/stdlib" "6.0.0-rc.1" tslib "^2.4.0" -"@aztec/stdlib@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/stdlib/-/stdlib-5.2.0.tgz#2a06ff7e47ca5c9cec8a6aef456d5ba26c516ce6" - integrity sha512-9H4rZQ/dgqOIwY0t8ASW/91j2n3pPQpmjAkcO6HIPbaslZ83QQhplxA5x2TlljGJaAG8fGWlY1JBwKcqPvG4HQ== +"@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.2.0" - "@aztec/blob-lib" "5.2.0" - "@aztec/constants" "5.2.0" - "@aztec/ethereum" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/l1-artifacts" "5.2.0" - "@aztec/noir-noirc_abi" "5.2.0" + "@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" @@ -926,16 +995,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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/telemetry-client/-/telemetry-client-5.2.0.tgz#0589197143c852c3a24da96f11aa9f9dfca9d896" - integrity sha512-6iZnZxoifN0oKmYO+UKIwC2pvRh5pYIvsfuX/fhJgrxJT8/pQJGf/nmbwjA7iOXeHcKU4khL3PAi90xQG6d/7g== +"@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.2.0" - "@aztec/stdlib" "5.2.0" + "@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" @@ -951,52 +1020,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.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/wallet-sdk/-/wallet-sdk-5.2.0.tgz#4dbd1c50420ee47fdd9da7cdb5726a4085a9aaae" - integrity sha512-fd/0QTyROp4AJihWQeX2+ldP2qZOQWWbB/SHuOJMYV5zHnWnDsO4EC5z/MDf31+NtX6006e63ltSdsuJWkRAiw== - dependencies: - "@aztec/aztec.js" "5.2.0" - "@aztec/constants" "5.2.0" - "@aztec/entrypoints" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/pxe" "5.2.0" - "@aztec/stdlib" "5.2.0" - -"@aztec/wallets@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/wallets/-/wallets-5.2.0.tgz#9a92c439445d07e98dc5fa896639a4c95263613c" - integrity sha512-kmEoMVtbxx5OL30z/Z8CdxmCs4HwSk+KFDMcXdpoTzOv0X6RKXYR+LwbNfjUjx4s511fDwNPNa0rRkR3cykqoQ== - dependencies: - "@aztec/accounts" "5.2.0" - "@aztec/aztec.js" "5.2.0" - "@aztec/entrypoints" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/kv-store" "5.2.0" - "@aztec/protocol-contracts" "5.2.0" - "@aztec/pxe" "5.2.0" - "@aztec/standard-contracts" "5.2.0" - "@aztec/stdlib" "5.2.0" - "@aztec/wallet-sdk" "5.2.0" - -"@aztec/world-state@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aztec/world-state/-/world-state-5.2.0.tgz#3abc6d5a374eebc12f0435155d846ee037cec7a8" - integrity sha512-TY92XBUOvx+PgNaA3z4vq76B4QcWSeinCcOW8X48rAf8YYoyxeCuDt0fzieFNV2pJm3J3dnlN0tvOSisfNwnVg== - dependencies: - "@aztec/bb.js" "5.2.0" - "@aztec/constants" "5.2.0" - "@aztec/foundation" "5.2.0" - "@aztec/kv-store" "5.2.0" - "@aztec/native" "5.2.0" - "@aztec/protocol-contracts" "5.2.0" - "@aztec/stdlib" "5.2.0" - "@aztec/telemetry-client" "5.2.0" + 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" "@crate-crypto/node-eth-kzg-darwin-arm64@0.10.0": version "0.10.0" @@ -3512,6 +3578,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" @@ -4313,6 +4384,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" @@ -4417,6 +4497,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" @@ -4547,6 +4632,11 @@ siginfo@^2.0.0: resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== +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" @@ -4890,10 +4980,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" @@ -5012,7 +5102,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==