@aztec/aztec.js 3.0.0-nightly.20251124 → 3.0.0-nightly.20251126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -294,7 +294,7 @@ import { getContract, toFunctionSelector } from 'viem';
294
294
  leafIndex: messageIndex,
295
295
  siblingPath
296
296
  });
297
- const isConsumedBefore = await this.outbox.read.hasMessageBeenConsumedAtBlock([
297
+ const isConsumedBefore = await this.outbox.read.hasMessageBeenConsumedAtCheckpoint([
298
298
  blockNumber,
299
299
  messageLeafId
300
300
  ]);
@@ -313,7 +313,7 @@ import { getContract, toFunctionSelector } from 'viem';
313
313
  await this.extendedClient.waitForTransactionReceipt({
314
314
  hash: await this.extendedClient.writeContract(withdrawRequest)
315
315
  });
316
- const isConsumedAfter = await this.outbox.read.hasMessageBeenConsumedAtBlock([
316
+ const isConsumedAfter = await this.outbox.read.hasMessageBeenConsumedAtCheckpoint([
317
317
  blockNumber,
318
318
  messageLeafId
319
319
  ]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aztec/aztec.js",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/aztec.js",
4
- "version": "3.0.0-nightly.20251124",
4
+ "version": "3.0.0-nightly.20251126",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./abi": "./dest/api/abi.js",
@@ -84,13 +84,13 @@
84
84
  ]
85
85
  },
86
86
  "dependencies": {
87
- "@aztec/constants": "3.0.0-nightly.20251124",
88
- "@aztec/entrypoints": "3.0.0-nightly.20251124",
89
- "@aztec/ethereum": "3.0.0-nightly.20251124",
90
- "@aztec/foundation": "3.0.0-nightly.20251124",
91
- "@aztec/l1-artifacts": "3.0.0-nightly.20251124",
92
- "@aztec/protocol-contracts": "3.0.0-nightly.20251124",
93
- "@aztec/stdlib": "3.0.0-nightly.20251124",
87
+ "@aztec/constants": "3.0.0-nightly.20251126",
88
+ "@aztec/entrypoints": "3.0.0-nightly.20251126",
89
+ "@aztec/ethereum": "3.0.0-nightly.20251126",
90
+ "@aztec/foundation": "3.0.0-nightly.20251126",
91
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251126",
92
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251126",
93
+ "@aztec/stdlib": "3.0.0-nightly.20251126",
94
94
  "axios": "^1.12.0",
95
95
  "tslib": "^2.4.0",
96
96
  "viem": "npm:@spalladino/viem@2.38.2-eip7594.0",
@@ -429,7 +429,7 @@ export class L1TokenPortalManager extends L1ToL2TokenPortalManager {
429
429
  );
430
430
 
431
431
  const messageLeafId = getL2ToL1MessageLeafId({ leafIndex: messageIndex, siblingPath });
432
- const isConsumedBefore = await this.outbox.read.hasMessageBeenConsumedAtBlock([blockNumber, messageLeafId]);
432
+ const isConsumedBefore = await this.outbox.read.hasMessageBeenConsumedAtCheckpoint([blockNumber, messageLeafId]);
433
433
  if (isConsumedBefore) {
434
434
  throw new Error(
435
435
  `L1 to L2 message at block ${blockNumber} index ${messageIndex} height ${siblingPath.pathSize} has already been consumed`,
@@ -450,7 +450,7 @@ export class L1TokenPortalManager extends L1ToL2TokenPortalManager {
450
450
  hash: await this.extendedClient.writeContract(withdrawRequest),
451
451
  });
452
452
 
453
- const isConsumedAfter = await this.outbox.read.hasMessageBeenConsumedAtBlock([blockNumber, messageLeafId]);
453
+ const isConsumedAfter = await this.outbox.read.hasMessageBeenConsumedAtCheckpoint([blockNumber, messageLeafId]);
454
454
  if (!isConsumedAfter) {
455
455
  throw new Error(
456
456
  `L1 to L2 message at block ${blockNumber} index ${messageIndex} height ${siblingPath.pathSize} not consumed after withdrawal`,