Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHELL ["/bin/bash", "-c"]

ENV NVM_DIR=/root/.nvm
ENV NODE_VERSION=24.12.0
ARG AZTEC_VERSION=4.2.0-aztecnr-rc.2
ARG AZTEC_VERSION=4.2.0
ENV AZTEC_VERSION=$AZTEC_VERSION
ENV NON_INTERACTIVE=1
ENV BIN_PATH=/usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/local-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
env:
AZTEC_ENV: local-network
AZTEC_VERSION: 4.2.0-aztecnr-rc.2
AZTEC_VERSION: 4.2.0

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

Aztec Starter — a Pod Racing game contract built with Noir on the Aztec network. Two players allocate points across 5 tracks over 3 rounds with private state; scores are revealed at the end (commit-reveal pattern). The player who wins more tracks (best of 5) wins.

**Aztec version: `4.2.0-aztecnr-rc.2`** — pinned across `Nargo.toml`, `package.json`, `config/*.json`, and README. All must stay in sync when updating.
**Aztec version: `4.2.0`** — pinned across `Nargo.toml`, `package.json`, `config/*.json`, and README. All must stay in sync when updating.

## Build & Development Commands

Expand Down
2 changes: 1 addition & 1 deletion Nargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = [ "" ]
compiler_version = ">=0.18.0"

[dependencies]
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.2.0-aztecnr-rc.2", directory = "aztec" }
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.2.0", directory = "aztec" }
6 changes: 3 additions & 3 deletions ONBOARDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This guide takes you from "reading code in a browser" to "deploying contracts"
* **Phases 1-2** need only a browser (read code, compile in a Codespace)
* **Phases 3-6** need local tools (deploy, interact, extend, advanced topics)

**Aztec version pinned in this repo:** `4.2.0-aztecnr-rc.2` (check `Nargo.toml` and `package.json` for source of truth)
**Aztec version pinned in this repo:** `4.2.0` (check `Nargo.toml` and `package.json` for source of truth)

**Links:**

Expand Down Expand Up @@ -522,7 +522,7 @@ The `.devcontainer/` configures:

* **Base image:** Ubuntu 24.04 with Node.js v22.15.0
* **Docker-in-Docker** for running the Aztec local network
* **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.2.0-aztecnr-rc.2" | VERSION="4.2.0-aztecnr-rc.2" bash -s`
* **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.2.0" | VERSION="4.2.0" bash -s`
* **VS Code extension:** `noir-lang.vscode-noir` for Noir syntax highlighting
* **Dependencies:** `yarn install` runs automatically

Expand Down Expand Up @@ -733,7 +733,7 @@ pub unconstrained fn setup() -> (TestEnvironment, AztecAddress, AztecAddress) {
**Aztec toolkit:**

```bash
export VERSION=4.2.0-aztecnr-rc.2
export VERSION=4.2.0
curl -fsSL "https://install.aztec.network/${VERSION}" | VERSION="${VERSION}" bash -s
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Use **Node.js version 22.15.0**.
Install the **Aztec toolkit** (local network, CLI, and other tooling) at the correct version:

```bash
export VERSION=4.2.0-aztecnr-rc.2
export VERSION=4.2.0
curl -fsSL "https://install.aztec.network/${VERSION}" | VERSION="${VERSION}" bash -s
```

Expand Down
2 changes: 1 addition & 1 deletion config/local-network.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"settings": {
"skipLocalNetwork": false,
"version": "4.2.0-aztecnr-rc.2"
"version": "4.2.0"
},
"timeouts": {
"deployTimeout": 120000,
Expand Down
6 changes: 3 additions & 3 deletions docs/ONBOARDING.src.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This guide takes you from "reading code in a browser" to "deploying contracts"
- **Phases 1-2** need only a browser (read code, compile in a Codespace)
- **Phases 3-6** need local tools (deploy, interact, extend, advanced topics)

**Aztec version pinned in this repo:** `4.2.0-aztecnr-rc.2` (check `Nargo.toml` and `package.json` for source of truth)
**Aztec version pinned in this repo:** `4.2.0` (check `Nargo.toml` and `package.json` for source of truth)

**Links:**

Expand Down Expand Up @@ -262,7 +262,7 @@ The `.devcontainer/` configures:

- **Base image:** Ubuntu 24.04 with Node.js v22.15.0
- **Docker-in-Docker** for running the Aztec local network
- **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.2.0-aztecnr-rc.2" | VERSION="4.2.0-aztecnr-rc.2" bash -s`
- **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.2.0" | VERSION="4.2.0" bash -s`
- **VS Code extension:** `noir-lang.vscode-noir` for Noir syntax highlighting
- **Dependencies:** `yarn install` runs automatically

Expand Down Expand Up @@ -357,7 +357,7 @@ And higher-level helpers:
**Aztec toolkit:**

```bash
export VERSION=4.2.0-aztecnr-rc.2
export VERSION=4.2.0
curl -fsSL "https://install.aztec.network/${VERSION}" | VERSION="${VERSION}" bash -s
```

Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@
"update-readme-version": "node ./.github/scripts/update-readme-version.js"
},
"dependencies": {
"@aztec/accounts": "4.2.0-aztecnr-rc.2",
"@aztec/aztec.js": "4.2.0-aztecnr-rc.2",
"@aztec/constants": "4.2.0-aztecnr-rc.2",
"@aztec/entrypoints": "4.2.0-aztecnr-rc.2",
"@aztec/noir-contracts.js": "4.2.0-aztecnr-rc.2",
"@aztec/protocol-contracts": "4.2.0-aztecnr-rc.2",
"@aztec/pxe": "4.2.0-aztecnr-rc.2",
"@aztec/stdlib": "4.2.0-aztecnr-rc.2",
"@aztec/wallet-sdk": "4.2.0-aztecnr-rc.2",
"@aztec/wallets": "4.2.0-aztecnr-rc.2",
"@aztec/accounts": "4.2.0",
"@aztec/aztec.js": "4.2.0",
"@aztec/constants": "4.2.0",
"@aztec/entrypoints": "4.2.0",
"@aztec/noir-contracts.js": "4.2.0",
"@aztec/protocol-contracts": "4.2.0",
"@aztec/pxe": "4.2.0",
"@aztec/stdlib": "4.2.0",
"@aztec/wallet-sdk": "4.2.0",
"@aztec/wallets": "4.2.0",
"dotenv": "^17.2.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async function main() {
})).result}`);

const maxFeesPerGas = (await node.getCurrentMinFees()).mul(1.5);
const gasSettings = GasSettings.default({ maxFeesPerGas });
const gasSettings = GasSettings.fallback({ maxFeesPerGas });

const privateFee = new PrivateFeePaymentMethod(fpc.address, account2.address, wallet, gasSettings);
await bananaCoin.methods.transfer_in_private(account2.address, account1.address, 10, 0).simulate({ from: account2.address });
Expand Down
1 change: 1 addition & 0 deletions scripts/read_debug_logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { SponsoredFeePaymentMethod } from "@aztec/aztec.js/fee";
import { SponsoredFPCContractArtifact } from "@aztec/noir-contracts.js/SponsoredFPC";
import { NO_FROM } from "@aztec/aztec.js/account";
import { Fr } from "@aztec/aztec.js/fields";
import { AztecAddress } from "@aztec/aztec.js/addresses";
import { GrumpkinScalar } from "@aztec/foundation/curves/grumpkin";
import { setupWallet } from "../src/utils/setup_wallet.js";
import { getSponsoredFPCInstance } from "../src/utils/sponsored_fpc.js";
Expand Down
Loading
Loading