You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
+ // 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
-
354
330
### Two separate init nullifiers for private and public
355
331
356
332
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
386
362
387
363
This change requires no input from your side unless you were testing or relying on hardcoded note hashes.
388
364
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.
+ // 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
+
389
389
### [Aztec.js]`getPublicEvents` now returns an object instead of an array
390
390
391
391
`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.
0 commit comments