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
ARG AZTEC_VERSION=4.3.0
ENV AZTEC_VERSION=$AZTEC_VERSION
ENV NON_INTERACTIVE=1
ENV BIN_PATH=/usr/local/bin
Expand Down
3 changes: 2 additions & 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
AZTEC_VERSION: 4.3.0

steps:
- name: Checkout repository
Expand All @@ -41,6 +41,7 @@ jobs:
- name: Update path
run: |
echo "$HOME/.aztec/current/bin" >> $GITHUB_PATH
echo "$HOME/.aztec/current/internal-bin" >> $GITHUB_PATH
echo "$HOME/.aztec/current/node_modules/.bin" >> $GITHUB_PATH
echo "$HOME/.aztec/bin" >> $GITHUB_PATH

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`** — pinned across `Nargo.toml`, `package.json`, `config/*.json`, and README. All must stay in sync when updating.
**Aztec version: `4.3.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", directory = "aztec" }
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.3.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` (check `Nargo.toml` and `package.json` for source of truth)
**Aztec version pinned in this repo:** `4.3.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" | VERSION="4.2.0" bash -s`
* **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.3.0" | VERSION="4.3.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
export VERSION=4.3.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
export VERSION=4.3.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"
"version": "4.3.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` (check `Nargo.toml` and `package.json` for source of truth)
**Aztec version pinned in this repo:** `4.3.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" | VERSION="4.2.0" bash -s`
- **Aztec CLI** installed via `curl -fsSL "https://install.aztec.network/4.3.0" | VERSION="4.3.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
export VERSION=4.3.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",
"@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",
"@aztec/accounts": "4.3.0",
"@aztec/aztec.js": "4.3.0",
"@aztec/constants": "4.3.0",
"@aztec/entrypoints": "4.3.0",
"@aztec/noir-contracts.js": "4.3.0",
"@aztec/protocol-contracts": "4.3.0",
"@aztec/pxe": "4.3.0",
"@aztec/stdlib": "4.3.0",
"@aztec/wallet-sdk": "4.3.0",
"@aztec/wallets": "4.3.0",
"dotenv": "^17.2.2"
},
"devDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions scripts/multiple_wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ async function main() {
let ownerAddress = schnorrAccount.address;

// Simulate before sending to surface revert reasons
const tokenDeploy = TokenContract.deploy(wallet1, ownerAddress, 'Clean USDC', 'USDC', 6);
const tokenDeploy = TokenContract.deploy(wallet1, ownerAddress, 'Clean USDC', 'USDC', 6, {
salt: L2_TOKEN_CONTRACT_SALT,
});
await tokenDeploy.simulate({ from: ownerAddress });
const { contract: token } = await tokenDeploy.send({
from: ownerAddress,
contractAddressSalt: L2_TOKEN_CONTRACT_SALT,
fee: { paymentMethod },
wait: { timeout: timeouts.deployTimeout }
});
Expand Down
3 changes: 1 addition & 2 deletions src/test/e2e/accounts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ describe("Accounts", () => {
deployer: deployerAccount.getAddress()
});
const deployer = new ContractDeployer(PodRacingArtifact, wallet);
const { receipt } = await deployer.deploy(adminAddress).send({
const { receipt } = await deployer.deploy([adminAddress], { salt, deployer: deployerAccount.getAddress() }).send({
from: deployerAddress,
contractAddressSalt: salt,
fee: { paymentMethod: sponsoredPaymentMethod },
wait: { timeout: getTimeouts().deployTimeout, returnReceipt: true }
});
Expand Down
7 changes: 4 additions & 3 deletions src/utils/sponsored_fpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ export async function getSponsoredFPCAddress() {

export async function setupSponsoredFPC(deployer: Wallet, log: LogFn) {
const [{ item: from }] = await deployer.getAccounts();
const deployRequest = SponsoredFPCContract.deploy(deployer);
const deployRequest = SponsoredFPCContract.deploy(deployer, {
salt: new Fr(SPONSORED_FPC_SALT),
universalDeploy: true,
});
// Simulate before sending to surface revert reasons
await deployRequest.simulate({ from });
const { contract: deployed } = await deployRequest
.send({
from,
contractAddressSalt: new Fr(SPONSORED_FPC_SALT),
universalDeploy: true,
});

log(`SponsoredFPC: ${deployed.address}`);
Expand Down
Loading
Loading