@aztec/sequencer-client 3.0.0-nightly.20251223 → 3.0.0-nightly.20251224

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.
@@ -44,7 +44,7 @@ import { createPublicClient, fallback, http } from 'viem';
44
44
  // Since this might be called in the middle of a slot where a block might have been published,
45
45
  // we need to fetch the last block written, and estimate the earliest timestamp for the next block.
46
46
  // The timestamp of that last block will act as a lower bound for the next block.
47
- const lastBlock = await this.rollupContract.getCheckpoint(await this.rollupContract.getCheckpointNumber());
47
+ const lastBlock = await this.rollupContract.getPendingCheckpoint();
48
48
  const earliestTimestamp = await this.rollupContract.getTimestampForSlot(SlotNumber.fromBigInt(lastBlock.slotNumber + 1n));
49
49
  const nextEthTimestamp = BigInt((await this.publicClient.getBlock()).timestamp + BigInt(this.ethereumSlotDuration));
50
50
  const timestamp = earliestTimestamp > nextEthTimestamp ? earliestTimestamp : nextEthTimestamp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/sequencer-client",
3
- "version": "3.0.0-nightly.20251223",
3
+ "version": "3.0.0-nightly.20251224",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -26,37 +26,37 @@
26
26
  "test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --config jest.integration.config.json"
27
27
  },
28
28
  "dependencies": {
29
- "@aztec/aztec.js": "3.0.0-nightly.20251223",
30
- "@aztec/bb-prover": "3.0.0-nightly.20251223",
31
- "@aztec/blob-client": "3.0.0-nightly.20251223",
32
- "@aztec/blob-lib": "3.0.0-nightly.20251223",
33
- "@aztec/constants": "3.0.0-nightly.20251223",
34
- "@aztec/epoch-cache": "3.0.0-nightly.20251223",
35
- "@aztec/ethereum": "3.0.0-nightly.20251223",
36
- "@aztec/foundation": "3.0.0-nightly.20251223",
37
- "@aztec/l1-artifacts": "3.0.0-nightly.20251223",
38
- "@aztec/merkle-tree": "3.0.0-nightly.20251223",
39
- "@aztec/node-keystore": "3.0.0-nightly.20251223",
40
- "@aztec/noir-acvm_js": "3.0.0-nightly.20251223",
41
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251223",
42
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251223",
43
- "@aztec/noir-types": "3.0.0-nightly.20251223",
44
- "@aztec/p2p": "3.0.0-nightly.20251223",
45
- "@aztec/protocol-contracts": "3.0.0-nightly.20251223",
46
- "@aztec/prover-client": "3.0.0-nightly.20251223",
47
- "@aztec/simulator": "3.0.0-nightly.20251223",
48
- "@aztec/slasher": "3.0.0-nightly.20251223",
49
- "@aztec/stdlib": "3.0.0-nightly.20251223",
50
- "@aztec/telemetry-client": "3.0.0-nightly.20251223",
51
- "@aztec/validator-client": "3.0.0-nightly.20251223",
52
- "@aztec/world-state": "3.0.0-nightly.20251223",
29
+ "@aztec/aztec.js": "3.0.0-nightly.20251224",
30
+ "@aztec/bb-prover": "3.0.0-nightly.20251224",
31
+ "@aztec/blob-client": "3.0.0-nightly.20251224",
32
+ "@aztec/blob-lib": "3.0.0-nightly.20251224",
33
+ "@aztec/constants": "3.0.0-nightly.20251224",
34
+ "@aztec/epoch-cache": "3.0.0-nightly.20251224",
35
+ "@aztec/ethereum": "3.0.0-nightly.20251224",
36
+ "@aztec/foundation": "3.0.0-nightly.20251224",
37
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251224",
38
+ "@aztec/merkle-tree": "3.0.0-nightly.20251224",
39
+ "@aztec/node-keystore": "3.0.0-nightly.20251224",
40
+ "@aztec/noir-acvm_js": "3.0.0-nightly.20251224",
41
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251224",
42
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251224",
43
+ "@aztec/noir-types": "3.0.0-nightly.20251224",
44
+ "@aztec/p2p": "3.0.0-nightly.20251224",
45
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251224",
46
+ "@aztec/prover-client": "3.0.0-nightly.20251224",
47
+ "@aztec/simulator": "3.0.0-nightly.20251224",
48
+ "@aztec/slasher": "3.0.0-nightly.20251224",
49
+ "@aztec/stdlib": "3.0.0-nightly.20251224",
50
+ "@aztec/telemetry-client": "3.0.0-nightly.20251224",
51
+ "@aztec/validator-client": "3.0.0-nightly.20251224",
52
+ "@aztec/world-state": "3.0.0-nightly.20251224",
53
53
  "lodash.chunk": "^4.2.0",
54
54
  "tslib": "^2.4.0",
55
55
  "viem": "npm:@aztec/viem@2.38.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@aztec/archiver": "3.0.0-nightly.20251223",
59
- "@aztec/kv-store": "3.0.0-nightly.20251223",
58
+ "@aztec/archiver": "3.0.0-nightly.20251224",
59
+ "@aztec/kv-store": "3.0.0-nightly.20251224",
60
60
  "@jest/globals": "^30.0.0",
61
61
  "@types/jest": "^30.0.0",
62
62
  "@types/lodash.chunk": "^4.2.7",
@@ -69,7 +69,7 @@ export class GlobalVariableBuilder implements GlobalVariableBuilderInterface {
69
69
  // we need to fetch the last block written, and estimate the earliest timestamp for the next block.
70
70
  // The timestamp of that last block will act as a lower bound for the next block.
71
71
 
72
- const lastBlock = await this.rollupContract.getCheckpoint(await this.rollupContract.getCheckpointNumber());
72
+ const lastBlock = await this.rollupContract.getPendingCheckpoint();
73
73
  const earliestTimestamp = await this.rollupContract.getTimestampForSlot(
74
74
  SlotNumber.fromBigInt(lastBlock.slotNumber + 1n),
75
75
  );