Skip to content

Commit 44de51c

Browse files
authored
Merge pull request #260 from AztecProtocol/josh/update-version-4.2.0
Update Aztec version to 4.2.0
2 parents a4c1778 + d0dc964 commit 44de51c

12 files changed

Lines changed: 318 additions & 290 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SHELL ["/bin/bash", "-c"]
33

44
ENV NVM_DIR=/root/.nvm
55
ENV NODE_VERSION=24.12.0
6-
ARG AZTEC_VERSION=4.2.0-aztecnr-rc.2
6+
ARG AZTEC_VERSION=4.2.0
77
ENV AZTEC_VERSION=$AZTEC_VERSION
88
ENV NON_INTERACTIVE=1
99
ENV BIN_PATH=/usr/local/bin

.github/workflows/local-network.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
env:
1919
AZTEC_ENV: local-network
20-
AZTEC_VERSION: 4.2.0-aztecnr-rc.2
20+
AZTEC_VERSION: 4.2.0
2121

2222
steps:
2323
- name: Checkout repository

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
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.
88

9-
**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.
9+
**Aztec version: `4.2.0`** — pinned across `Nargo.toml`, `package.json`, `config/*.json`, and README. All must stay in sync when updating.
1010

1111
## Build & Development Commands
1212

Nargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ authors = [ "" ]
55
compiler_version = ">=0.18.0"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.2.0-aztecnr-rc.2", directory = "aztec" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.2.0", directory = "aztec" }

ONBOARDING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This guide takes you from "reading code in a browser" to "deploying contracts"
99
* **Phases 1-2** need only a browser (read code, compile in a Codespace)
1010
* **Phases 3-6** need local tools (deploy, interact, extend, advanced topics)
1111

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

1414
**Links:**
1515

@@ -522,7 +522,7 @@ The `.devcontainer/` configures:
522522

523523
* **Base image:** Ubuntu 24.04 with Node.js v22.15.0
524524
* **Docker-in-Docker** for running the Aztec local network
525-
* **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`
525+
* **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.2.0" | VERSION="4.2.0" bash -s`
526526
* **VS Code extension:** `noir-lang.vscode-noir` for Noir syntax highlighting
527527
* **Dependencies:** `yarn install` runs automatically
528528

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

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Use **Node.js version 22.15.0**.
4949
Install the **Aztec toolkit** (local network, CLI, and other tooling) at the correct version:
5050

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

config/local-network.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"settings": {
1010
"skipLocalNetwork": false,
11-
"version": "4.2.0-aztecnr-rc.2"
11+
"version": "4.2.0"
1212
},
1313
"timeouts": {
1414
"deployTimeout": 120000,

docs/ONBOARDING.src.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This guide takes you from "reading code in a browser" to "deploying contracts"
99
- **Phases 1-2** need only a browser (read code, compile in a Codespace)
1010
- **Phases 3-6** need local tools (deploy, interact, extend, advanced topics)
1111

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

1414
**Links:**
1515

@@ -262,7 +262,7 @@ The `.devcontainer/` configures:
262262

263263
- **Base image:** Ubuntu 24.04 with Node.js v22.15.0
264264
- **Docker-in-Docker** for running the Aztec local network
265-
- **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`
265+
- **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.2.0" | VERSION="4.2.0" bash -s`
266266
- **VS Code extension:** `noir-lang.vscode-noir` for Noir syntax highlighting
267267
- **Dependencies:** `yarn install` runs automatically
268268

@@ -357,7 +357,7 @@ And higher-level helpers:
357357
**Aztec toolkit:**
358358

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

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
"update-readme-version": "node ./.github/scripts/update-readme-version.js"
2828
},
2929
"dependencies": {
30-
"@aztec/accounts": "4.2.0-aztecnr-rc.2",
31-
"@aztec/aztec.js": "4.2.0-aztecnr-rc.2",
32-
"@aztec/constants": "4.2.0-aztecnr-rc.2",
33-
"@aztec/entrypoints": "4.2.0-aztecnr-rc.2",
34-
"@aztec/noir-contracts.js": "4.2.0-aztecnr-rc.2",
35-
"@aztec/protocol-contracts": "4.2.0-aztecnr-rc.2",
36-
"@aztec/pxe": "4.2.0-aztecnr-rc.2",
37-
"@aztec/stdlib": "4.2.0-aztecnr-rc.2",
38-
"@aztec/wallet-sdk": "4.2.0-aztecnr-rc.2",
39-
"@aztec/wallets": "4.2.0-aztecnr-rc.2",
30+
"@aztec/accounts": "4.2.0",
31+
"@aztec/aztec.js": "4.2.0",
32+
"@aztec/constants": "4.2.0",
33+
"@aztec/entrypoints": "4.2.0",
34+
"@aztec/noir-contracts.js": "4.2.0",
35+
"@aztec/protocol-contracts": "4.2.0",
36+
"@aztec/pxe": "4.2.0",
37+
"@aztec/stdlib": "4.2.0",
38+
"@aztec/wallet-sdk": "4.2.0",
39+
"@aztec/wallets": "4.2.0",
4040
"dotenv": "^17.2.2"
4141
},
4242
"devDependencies": {

scripts/fees.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ async function main() {
153153
})).result}`);
154154

155155
const maxFeesPerGas = (await node.getCurrentMinFees()).mul(1.5);
156-
const gasSettings = GasSettings.default({ maxFeesPerGas });
156+
const gasSettings = GasSettings.fallback({ maxFeesPerGas });
157157

158158
const privateFee = new PrivateFeePaymentMethod(fpc.address, account2.address, wallet, gasSettings);
159159
await bananaCoin.methods.transfer_in_private(account2.address, account1.address, 10, 0).simulate({ from: account2.address });

0 commit comments

Comments
 (0)