Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.
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
8 changes: 4 additions & 4 deletions docs/ci-cd-migration-impl-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -993,14 +993,14 @@ patches:
- name: L2_NETWORK_ID
value: "MAINNET"
- name: COMPILER_IMAGE
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-mainnet:5.0.0-rc.1"
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-mainnet:4.2.0"
```

**Current `COMPILER_IMAGE` values (hardcoded — update manually when Aztec version changes):**

- mainnet: `registry.digitalocean.com/aztlan-containers/contract-compiler-mainnet:5.0.0-rc.1`
- testnet: `registry.digitalocean.com/aztlan-containers/contract-compiler-testnet:5.0.0-rc.1`
- devnet: `registry.digitalocean.com/aztlan-containers/contract-compiler-devnet:5.0.0-rc.1`
- mainnet: `registry.digitalocean.com/aztlan-containers/contract-compiler-mainnet:4.2.0`
- testnet: `registry.digitalocean.com/aztlan-containers/contract-compiler-testnet:5.0.0-rc.2`
- devnet: `registry.digitalocean.com/aztlan-containers/contract-compiler-devnet:5.0.0-rc.2`

---

Expand Down
4 changes: 2 additions & 2 deletions k8s/local/anvil-ethereum-node/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ build:
# Unset minikube docker env to use host docker
unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD
# Pull foundry image with anvil
docker pull aztecprotocol/aztec:5.0.0-rc.1
docker tag aztecprotocol/aztec:5.0.0-rc.1 $IMAGE
docker pull aztecprotocol/aztec:5.0.0-rc.2
docker tag aztecprotocol/aztec:5.0.0-rc.2 $IMAGE
# Load into minikube
minikube image load $IMAGE
dependencies:
Expand Down
4 changes: 2 additions & 2 deletions k8s/local/aztec-sandbox-node/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ spec:
spec:
initContainers:
- name: wait-for-anvil
image: aztecprotocol/aztec:5.0.0-rc.1
image: aztecprotocol/aztec:5.0.0-rc.2
command:
[
"sh",
"-c",
"until nc -z anvil-ethereum-node 8545; do echo waiting for anvil; sleep 2; done",
]
containers:
- image: aztecprotocol/aztec:5.0.0-rc.1
- image: aztecprotocol/aztec:5.0.0-rc.2
name: aztec-sandbox-node
resources:
requests:
Expand Down
4 changes: 2 additions & 2 deletions k8s/local/aztec-sandbox-node/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ build:
# Unset minikube docker env to use host docker
unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD
# Pull image on host docker
docker pull aztecprotocol/aztec:5.0.0-rc.1
docker tag aztecprotocol/aztec:5.0.0-rc.1 $IMAGE
docker pull aztecprotocol/aztec:5.0.0-rc.2
docker tag aztecprotocol/aztec:5.0.0-rc.2 $IMAGE
# Load into minikube
minikube image load $IMAGE
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion k8s/local/compiler-orchestrator/sandbox/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: K8S_NAMESPACE
value: "chicmoz"
- name: COMPILER_IMAGE
value: "contract-compiler:5.0.0-rc.1"
value: "contract-compiler:5.0.0-rc.2"
- name: MAX_CONCURRENT_JOBS
value: "3"
- name: JOB_TIMEOUT_SECONDS
Expand Down
6 changes: 3 additions & 3 deletions k8s/local/contract-compiler/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ build:
docker:
dockerfile: Dockerfile.compile-contracts
buildArgs:
BASE_AZTEC_IMAGE: "aztecprotocol/aztec:5.0.0-rc.1"
NARGO_AZTEC_VERSION: "v5.0.0-rc.1"
BASE_AZTEC_IMAGE: "aztecprotocol/aztec:5.0.0-rc.2"
NARGO_AZTEC_VERSION: "v5.0.0-rc.2"
DOCKER_DEFAULT_PLATFORM: "linux/amd64"
tagPolicy:
customTemplate:
template: "5.0.0-rc.1"
template: "5.0.0-rc.2"
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@
},
"resolutions": {
"viem": "2.20.0",
"@aztec/accounts": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/bb.js": "5.0.0-rc.1",
"@aztec/bb-prover": "5.0.0-rc.1",
"@aztec/builder": "5.0.0-rc.1",
"@aztec/constants": "5.0.0-rc.1",
"@aztec/entrypoints": "5.0.0-rc.1",
"@aztec/ethereum": "5.0.0-rc.1",
"@aztec/foundation": "5.0.0-rc.1",
"@aztec/l1-artifacts": "5.0.0-rc.1",
"@aztec/noir-contracts.js": "5.0.0-rc.1",
"@aztec/protocol-contracts": "5.0.0-rc.1",
"@aztec/pxe": "5.0.0-rc.1",
"@aztec/simulator": "5.0.0-rc.1",
"@aztec/stdlib": "5.0.0-rc.1",
"@aztec/wallets": "5.0.0-rc.1"
"@aztec/accounts": "5.0.0-rc.2",
"@aztec/aztec.js": "5.0.0-rc.2",
"@aztec/bb.js": "5.0.0-rc.2",
"@aztec/bb-prover": "5.0.0-rc.2",
"@aztec/builder": "5.0.0-rc.2",
"@aztec/constants": "5.0.0-rc.2",
"@aztec/entrypoints": "5.0.0-rc.2",
"@aztec/ethereum": "5.0.0-rc.2",
"@aztec/foundation": "5.0.0-rc.2",
"@aztec/l1-artifacts": "5.0.0-rc.2",
"@aztec/noir-contracts.js": "5.0.0-rc.2",
"@aztec/protocol-contracts": "5.0.0-rc.2",
"@aztec/pxe": "5.0.0-rc.2",
"@aztec/simulator": "5.0.0-rc.2",
"@aztec/stdlib": "5.0.0-rc.2",
"@aztec/wallets": "5.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion packages/backend-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint-base": "yarn run g:lint"
},
"dependencies": {
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.2",
"@chicmoz-pkg/types": "workspace:^",
"drizzle-orm": "0.33.0",
"exponential-backoff": "3.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/contract-verification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"test-once": "yarn run vitest run"
},
"dependencies": {
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/noir-contracts.js": "5.0.0-rc.1",
"@aztec/stdlib": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.2",
"@aztec/noir-contracts.js": "5.0.0-rc.2",
"@aztec/stdlib": "5.0.0-rc.2",
"@chicmoz-pkg/types": "workspace:^",
"zod": "^3.23.8"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const verifyInstanceDeploymentPayload = async (
const saltedHash = await computeSaltedInitializationHash({
initializationHash,
salt: Fr.fromString(salt),
deployer: AztecAddress.fromString(deployer),
deployer: AztecAddress.fromStringUnsafe(deployer),
immutablesHash: Fr.fromString(immutablesHash),
});
const computedAddress = await computeContractAddressFromInstance({
Expand Down
2 changes: 1 addition & 1 deletion packages/message-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint-base": "yarn run g:lint"
},
"dependencies": {
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.2",
"@chicmoz-pkg/types": "workspace:^"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions services/aztec-listener/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"main": "index.js",
"license": "Apache-2.0",
"dependencies": {
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/stdlib": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.2",
"@aztec/stdlib": "5.0.0-rc.2",
"@chicmoz-pkg/backend-utils": "workspace:^",
"@chicmoz-pkg/logger-server": "workspace:^",
"@chicmoz-pkg/message-bus": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const fetchBalances = async (
try {
const balance = await getBalanceOf(
blockNumber,
AztecAddress.fromString(addr),
AztecAddress.fromStringUnsafe(addr),
);
results[currentIndex] = {
status: "fulfilled",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ patches:
- name: L2_NETWORK_ID
value: "DEVNET"
- name: COMPILER_IMAGE
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-devnet:5.0.0-rc.1"
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-devnet:5.0.0-rc.2"
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ patches:
- name: L2_NETWORK_ID
value: "MAINNET"
- name: COMPILER_IMAGE
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-mainnet:5.0.0-rc.1"
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-mainnet:4.2.0"
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ patches:
- name: L2_NETWORK_ID
value: "TESTNET"
- name: COMPILER_IMAGE
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-testnet:5.0.0-rc.1"
value: "registry.digitalocean.com/aztlan-containers/contract-compiler-testnet:5.0.0-rc.2"
2 changes: 1 addition & 1 deletion services/compiler-orchestrator/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const L2_NETWORK_ID: L2NetworkId = l2NetworkIdSchema.parse(

export const COMPILER_IMAGE = z
.string()
.default("contract-compiler:5.0.0-rc.1")
.default("contract-compiler:5.0.0-rc.2")
.parse(process.env.COMPILER_IMAGE);

// COMPILER_IMAGE is the image repository/base reference. The orchestrator
Expand Down
4 changes: 2 additions & 2 deletions services/ethereum-listener/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
],
"license": "Apache-2.0",
"dependencies": {
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/l1-artifacts": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.2",
"@aztec/l1-artifacts": "5.0.0-rc.2",
"@chicmoz-pkg/backend-utils": "workspace:^",
"@chicmoz-pkg/logger-server": "workspace:^",
"@chicmoz-pkg/message-bus": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions services/event-cannon/Dockerfile.compile-contracts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG BASE_AZTEC_IMAGE=aztecprotocol/aztec:5.0.0-rc.1
ARG NARGO_AZTEC_VERSION=v5.0.0-rc.1
ARG BASE_AZTEC_IMAGE=aztecprotocol/aztec:5.0.0-rc.2
ARG NARGO_AZTEC_VERSION=v5.0.0-rc.2

FROM ${BASE_AZTEC_IMAGE}

ARG NARGO_AZTEC_VERSION=v5.0.0-rc.1
ARG NARGO_AZTEC_VERSION=v5.0.0-rc.2

# Put nargo and bb on PATH so `aztec compile` can find them
ENV PATH="/usr/src/noir/noir-repo/target/release:/usr/src/barretenberg/ts/build/amd64-linux:${PATH}"
Expand Down
4 changes: 2 additions & 2 deletions services/event-cannon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
## Compile contracts (if changed or updated version)

```sh
aztec-up install 5.0.0-rc.1
aztec-up use 5.0.0-rc.1
aztec-up install 5.0.0-rc.2
aztec-up use 5.0.0-rc.2

cd src/contract-projects/YOUR_PROJECT
aztec compile
Expand Down
14 changes: 7 additions & 7 deletions services/event-cannon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
],
"license": "Apache-2.0",
"dependencies": {
"@aztec/accounts": "5.0.0-rc.1",
"@aztec/aztec.js": "5.0.0-rc.1",
"@aztec/ethereum": "5.0.0-rc.1",
"@aztec/l1-artifacts": "5.0.0-rc.1",
"@aztec/noir-contracts.js": "5.0.0-rc.1",
"@aztec/pxe": "5.0.0-rc.1",
"@aztec/wallets": "5.0.0-rc.1",
"@aztec/accounts": "5.0.0-rc.2",
"@aztec/aztec.js": "5.0.0-rc.2",
"@aztec/ethereum": "5.0.0-rc.2",
"@aztec/l1-artifacts": "5.0.0-rc.2",
"@aztec/noir-contracts.js": "5.0.0-rc.2",
"@aztec/pxe": "5.0.0-rc.2",
"@aztec/wallets": "5.0.0-rc.2",
"@chicmoz-pkg/contract-verification": "workspace:^",
"@chicmoz-pkg/logger-server": "workspace:^",
"@chicmoz-pkg/types": "workspace:^",
Expand Down
20 changes: 10 additions & 10 deletions services/event-cannon/src/artifacts/ExplorerShowcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ export const ExplorerShowcaseContractArtifact = loadContractArtifact(ExplorerSho
* Type-safe interface for contract ExplorerShowcase;
*/
export class ExplorerShowcaseContract extends ContractBase {

private constructor(
address: AztecAddress,
wallet: Wallet,
) {
super(address, ExplorerShowcaseContractArtifact, wallet);
}





/**
* Creates a contract instance.
* @param address - The deployed contract's address.
Expand All @@ -41,7 +41,7 @@ export class ExplorerShowcaseContract extends ContractBase {
return Contract.at(address, ExplorerShowcaseContract.artifact, wallet) as ExplorerShowcaseContract;
}


/**
* Creates a tx to deploy a new instance of this contract.
* @param instantiation - Optional address-affecting parameters (salt, deployer / universalDeploy, publicKeys).
Expand Down Expand Up @@ -77,9 +77,9 @@ export class ExplorerShowcaseContract extends ContractBase {
opts.instantiation,
);
}





/**
* Returns this contract's artifact.
*/
Expand All @@ -93,7 +93,7 @@ export class ExplorerShowcaseContract extends ContractBase {
public static get artifactForPublic(): ContractArtifact {
return loadContractArtifactForPublic(ExplorerShowcaseContractArtifactJson as NoirCompiledContract);
}


public static get storage(): ContractStorageLayout<'admin' | 'public_counters' | 'private_balances'> {
return {
Expand All @@ -108,11 +108,11 @@ private_balances: {
}
} as ContractStorageLayout<'admin' | 'public_counters' | 'private_balances'>;
}


/** Type-safe wrappers for the public methods exposed by the contract. */
public declare methods: {

/** add_private_balance(amount: integer) */
add_private_balance: ((amount: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;

Expand Down Expand Up @@ -153,5 +153,5 @@ private_balances: {
unshield: ((amount: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
};


}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = [""]
compiler_version = ">=0.25.0"

[dependencies]
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v5.0.0-rc.1", directory = "aztec" }
field_note = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v5.0.0-rc.1", directory = "field-note" }
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v5.0.0-rc.2", directory = "aztec" }
field_note = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v5.0.0-rc.2", directory = "field-note" }
Loading