Skip to content

Commit 2e614ee

Browse files
author
Codespace
committed
fix(docs): fix migration notes ordering and update testnet SponsoredFPC address
Move 4.1.3 migration notes to correct position after 4.2.0 entries in source docs, add missing version heading in versioned docs, and update the testnet SponsoredFPC L2 contract address.
1 parent 1e86743 commit 2e614ee

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

docs/developer_versioned_docs/version-v4.2.0-aztecnr-rc.2/docs/resources/migration_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ Contract initialization now emits two separate nullifiers instead of one: a **pr
279279
}).deployed();
280280
```
281281

282+
## 4.1.3
283+
282284
### [Aztec.js] `TxReceipt` now includes `epochNumber`
283285

284286
`TxReceipt` now includes an `epochNumber` field that indicates which epoch the transaction was included in.

docs/docs-developers/docs/resources/migration_notes.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -327,30 +327,6 @@ If you use `assert_contract_was_initialized_by` or `assert_contract_was_not_init
327327
);
328328
```
329329

330-
## 4.1.3
331-
332-
### [Aztec.js] `TxReceipt` now includes `epochNumber`
333-
334-
`TxReceipt` now includes an `epochNumber` field that indicates which epoch the transaction was included in.
335-
336-
### [Aztec.js] `computeL2ToL1MembershipWitness` signature changed
337-
338-
The function signature has changed to resolve the epoch internally from a transaction hash, rather than requiring the caller to pass the epoch number.
339-
340-
**Migration:**
341-
342-
```diff
343-
- const witness = await computeL2ToL1MembershipWitness(aztecNode, epochNumber, messageHash);
344-
- // epoch was passed in by the caller
345-
+ const witness = await computeL2ToL1MembershipWitness(aztecNode, messageHash, txHash);
346-
+ // epoch is now available on the returned witness
347-
+ const epoch = witness.epochNumber;
348-
```
349-
350-
The return type `L2ToL1MembershipWitness` now includes `epochNumber`. An optional `messageIndexInTx` parameter can be passed as the fourth argument to disambiguate when a transaction emits multiple identical L2-to-L1 messages.
351-
352-
**Impact**: All call sites that compute L2-to-L1 membership witnesses must update to the new argument order and extract `epochNumber` from the result instead of passing it in.
353-
354330
### Two separate init nullifiers for private and public
355331

356332
Contract initialization now emits two separate nullifiers instead of one: a **private init nullifier** and a **public init nullifier**. Each nullifier gates its respective execution domain:
@@ -386,6 +362,30 @@ Note hashes used to be computed with the storage slot being the last value of th
386362

387363
This change requires no input from your side unless you were testing or relying on hardcoded note hashes.
388364

365+
## 4.1.3
366+
367+
### [Aztec.js] `TxReceipt` now includes `epochNumber`
368+
369+
`TxReceipt` now includes an `epochNumber` field that indicates which epoch the transaction was included in.
370+
371+
### [Aztec.js] `computeL2ToL1MembershipWitness` signature changed
372+
373+
The function signature has changed to resolve the epoch internally from a transaction hash, rather than requiring the caller to pass the epoch number.
374+
375+
**Migration:**
376+
377+
```diff
378+
- const witness = await computeL2ToL1MembershipWitness(aztecNode, epochNumber, messageHash);
379+
- // epoch was passed in by the caller
380+
+ const witness = await computeL2ToL1MembershipWitness(aztecNode, messageHash, txHash);
381+
+ // epoch is now available on the returned witness
382+
+ const epoch = witness.epochNumber;
383+
```
384+
385+
The return type `L2ToL1MembershipWitness` now includes `epochNumber`. An optional `messageIndexInTx` parameter can be passed as the fourth argument to disambiguate when a transaction emits multiple identical L2-to-L1 messages.
386+
387+
**Impact**: All call sites that compute L2-to-L1 membership witnesses must update to the new argument order and extract `epochNumber` from the result instead of passing it in.
388+
389389
### [Aztec.js] `getPublicEvents` now returns an object instead of an array
390390

391391
`getPublicEvents` now returns a `GetPublicEventsResult<T>` object with `events` and `maxLogsHit` fields instead of a plain array. This enables pagination through large result sets using the new `afterLog` filter option.

docs/docs/networks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The developer SDK/aztec-nr version (used for writing and compiling contracts) ma
6767
| **Class Registry** | `0x0000000000000000000000000000000000000000000000000000000000000003` | `0x0000000000000000000000000000000000000000000000000000000000000003` |
6868
| **MultiCall Entrypoint** | `0x0000000000000000000000000000000000000000000000000000000000000004` | `0x0000000000000000000000000000000000000000000000000000000000000004` |
6969
| **Fee Juice** | `0x0000000000000000000000000000000000000000000000000000000000000005` | `0x0000000000000000000000000000000000000000000000000000000000000005` |
70-
| **SponsoredFPC** | Not deployed | `0x09a4df73aa47f82531a038d1d51abfc85b27665c4b7ca751e2d4fa9f19caffb2` |
70+
| **SponsoredFPC** | Not deployed | `0x2ae02a54fd254586fd628ff46b71071bd8db32b63dc5d083f844f2c208a3923c` |
7171

7272
## Governance Parameters
7373

0 commit comments

Comments
 (0)