Skip to content

Commit 185f1de

Browse files
authored
docs: update developer and operator docs for v4.3.1 (#23872)
Updates the developer and operator docs from v4.3.0 to v4.3.1 (bug-fix release, both mainnet and testnet). There are no docs content changes between the two tags, so instead of a full re-cut the versioned snapshots are renamed and macro-resolved version strings bumped in place **Content additions:** - New v4.3.1 section in the operator changelog (`docs-operate/.../changelog/v4.3.md`, mirrored into the snapshot) - Added the v4.3.x entry to the operator changelog index, which was missing on `next` (it only existed on the release branch) - Replaced a hardcoded `v4.3.0` in `testing_contracts.md` with the `#include_aztec_version` macro so it tracks releases automatically
2 parents 9df0d05 + b11f2b0 commit 185f1de

180 files changed

Lines changed: 411 additions & 380 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/developer_version_config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"mainnet": "v4.3.0",
3-
"testnet": "v4.3.0"
2+
"mainnet": "v4.3.1",
3+
"testnet": "v4.3.1"
44
}

docs/developer_versioned_docs/version-v4.3.0/ai_tooling.md renamed to docs/developer_versioned_docs/version-v4.3.1/ai_tooling.md

File renamed without changes.

docs/developer_versioned_docs/version-v4.3.0/docs/aztec-js/_category_.json renamed to docs/developer_versioned_docs/version-v4.3.1/docs/aztec-js/_category_.json

File renamed without changes.

docs/developer_versioned_docs/version-v4.3.0/docs/aztec-js/aztec_js_reference.md renamed to docs/developer_versioned_docs/version-v4.3.1/docs/aztec-js/aztec_js_reference.md

File renamed without changes.

docs/developer_versioned_docs/version-v4.3.0/docs/aztec-js/how_to_connect_to_local_network.md renamed to docs/developer_versioned_docs/version-v4.3.1/docs/aztec-js/how_to_connect_to_local_network.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This guide shows you how to connect your application to the Aztec local network
1616
## Install dependencies
1717

1818
```bash
19-
yarn add @aztec/aztec.js@4.3.0 @aztec/wallets@4.3.0
19+
yarn add @aztec/aztec.js@4.3.1 @aztec/wallets@4.3.1
2020
```
2121

2222
## Connect to the network
@@ -37,7 +37,7 @@ await waitForNode(node);
3737
// Create an EmbeddedWallet connected to the node
3838
const wallet = await EmbeddedWallet.create(node, { ephemeral: true });
3939
```
40-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L1-L14" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L1-L14</a></sub></sup>
40+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L1-L14" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L1-L14</a></sub></sup>
4141
4242

4343
:::note About EmbeddedWallet
@@ -57,7 +57,7 @@ const nodeInfo = await node.getNodeInfo();
5757
console.log("Connected to local network version:", nodeInfo.nodeVersion);
5858
console.log("Chain ID:", nodeInfo.l1ChainId);
5959
```
60-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L16-L20" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L16-L20</a></sub></sup>
60+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L16-L20" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L16-L20</a></sub></sup>
6161
6262

6363
### Load pre-funded accounts
@@ -81,7 +81,7 @@ const [aliceAddress, bobAddress] = await Promise.all(
8181
console.log(`Alice's address: ${aliceAddress.toString()}`);
8282
console.log(`Bob's address: ${bobAddress.toString()}`);
8383
```
84-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L22-L38" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L22-L38</a></sub></sup>
84+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L22-L38" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L22-L38</a></sub></sup>
8585
8686

8787
These accounts are pre-funded with fee juice (the native gas token) at genesis, so you can immediately send transactions without needing to bridge funds from L1.
@@ -96,7 +96,7 @@ import { getFeeJuiceBalance } from "@aztec/aztec.js/utils";
9696
const aliceBalance = await getFeeJuiceBalance(aliceAddress, node);
9797
console.log(`Alice's fee juice balance: ${aliceBalance}`);
9898
```
99-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L40-L45" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L40-L45</a></sub></sup>
99+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L40-L45" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L40-L45</a></sub></sup>
100100
101101

102102
## Next steps

docs/developer_versioned_docs/version-v4.3.0/docs/aztec-js/how_to_create_account.md renamed to docs/developer_versioned_docs/version-v4.3.1/docs/aztec-js/how_to_create_account.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This guide shows you how to create and deploy a new account on Aztec.
1515
## Install dependencies
1616

1717
```bash
18-
yarn add @aztec/aztec.js@4.3.0 @aztec/wallets@4.3.0 @aztec/noir-contracts.js@4.3.0
18+
yarn add @aztec/aztec.js@4.3.1 @aztec/wallets@4.3.1 @aztec/noir-contracts.js@4.3.1
1919
```
2020

2121
## Create a new account
@@ -30,7 +30,7 @@ const salt = Fr.random();
3030
const newAccount = await wallet.createSchnorrAccount(secret, salt);
3131
console.log("New account address:", newAccount.address.toString());
3232
```
33-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L47-L54" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L47-L54</a></sub></sup>
33+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L47-L54" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L47-L54</a></sub></sup>
3434
3535

3636
The secret is used to derive the account's encryption keys, and the salt ensures address uniqueness. The signing key is automatically derived from the secret.
@@ -74,7 +74,7 @@ await deployMethod.send({
7474
fee: { paymentMethod: sponsoredPaymentMethod },
7575
});
7676
```
77-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L56-L82" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L56-L82</a></sub></sup>
77+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L56-L82" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L56-L82</a></sub></sup>
7878
7979

8080
:::info
@@ -98,7 +98,7 @@ const feeJuiceAccount = await wallet.createSchnorrAccount(
9898
feeJuiceSalt,
9999
);
100100
```
101-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L84-L94" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L84-L94</a></sub></sup>
101+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L84-L94" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L84-L94</a></sub></sup>
102102
103103

104104
Claim the bridged Fee Juice and deploy in one step:
@@ -117,7 +117,7 @@ await deployMethodBridged.send({
117117
fee: { paymentMethod: bridgePaymentMethod },
118118
});
119119
```
120-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L156-L169" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L156-L169</a></sub></sup>
120+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L156-L169" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L156-L169</a></sub></sup>
121121
122122

123123
If the account already has Fee Juice on L2 (for example, from a faucet or a previously claimed bridge), no special payment method is needed — just call `send({ from: NO_FROM })` and Fee Juice is used automatically.
@@ -134,7 +134,7 @@ Confirm the account was deployed successfully. Substitute the account variable f
134134
const metadata = await wallet.getContractMetadata(newAccount.address);
135135
console.log("Account deployed:", metadata.initializationStatus);
136136
```
137-
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.0/docs/examples/ts/aztecjs_connection/index.ts#L171-L176" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L171-L176</a></sub></sup>
137+
> <sup><sub><a href="https://github.com/AztecProtocol/aztec-packages/blob/v4.3.1/docs/examples/ts/aztecjs_connection/index.ts#L171-L176" target="_blank" rel="noopener noreferrer">Source code: docs/examples/ts/aztecjs_connection/index.ts#L171-L176</a></sub></sup>
138138
139139

140140
## Next steps

0 commit comments

Comments
 (0)