@aztec/prover-node 3.0.0-nightly.20250918 → 3.0.0-nightly.20250920

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.
@@ -111,13 +111,12 @@ import { validateEpochProvingJobData } from './epoch-proving-job-data.js';
111
111
  const { promise, resolve } = promiseWithResolvers();
112
112
  this.runPromise = promise;
113
113
  try {
114
- const firstCheckpointNumber = this.blocks[0].header.globalVariables.slotNumber;
115
114
  const blobFieldsPerCheckpoint = this.blocks.map((block)=>block.body.toBlobFields());
116
115
  const finalBlobBatchingChallenges = await buildFinalBlobChallenges(blobFieldsPerCheckpoint);
117
116
  // TODO(#17027): Enable multiple blocks per checkpoint.
118
117
  // Total number of checkpoints equals number of blocks because we currently build a checkpoint with only one block.
119
118
  const totalNumCheckpoints = epochSizeBlocks;
120
- this.prover.startNewEpoch(epochNumber, firstCheckpointNumber, totalNumCheckpoints, finalBlobBatchingChallenges);
119
+ this.prover.startNewEpoch(epochNumber, totalNumCheckpoints, finalBlobBatchingChallenges);
121
120
  await this.prover.startTubeCircuits(Array.from(this.txs.values()));
122
121
  await asyncPool(this.config.parallelBlockLimit ?? 32, this.blocks, async (block)=>{
123
122
  this.checkState();
@@ -151,7 +150,7 @@ import { validateEpochProvingJobData } from './epoch-proving-job-data.js';
151
150
  // Each checkpoint has only one block.
152
151
  const totalNumBlocks = 1;
153
152
  const checkpointIndex = block.number - fromBlock;
154
- await this.prover.startNewCheckpoint(checkpointConstants, l1ToL2Messages, totalNumBlocks, blobFieldsPerCheckpoint[checkpointIndex].length, previousHeader);
153
+ await this.prover.startNewCheckpoint(checkpointIndex, checkpointConstants, l1ToL2Messages, totalNumBlocks, blobFieldsPerCheckpoint[checkpointIndex].length, previousHeader);
155
154
  // Start block proving
156
155
  await this.prover.startNewBlock(block.number, globalVariables.timestamp, txs.length);
157
156
  // Process public fns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/prover-node",
3
- "version": "3.0.0-nightly.20250918",
3
+ "version": "3.0.0-nightly.20250920",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -56,27 +56,27 @@
56
56
  ]
57
57
  },
58
58
  "dependencies": {
59
- "@aztec/archiver": "3.0.0-nightly.20250918",
60
- "@aztec/bb-prover": "3.0.0-nightly.20250918",
61
- "@aztec/blob-lib": "3.0.0-nightly.20250918",
62
- "@aztec/blob-sink": "3.0.0-nightly.20250918",
63
- "@aztec/constants": "3.0.0-nightly.20250918",
64
- "@aztec/epoch-cache": "3.0.0-nightly.20250918",
65
- "@aztec/ethereum": "3.0.0-nightly.20250918",
66
- "@aztec/foundation": "3.0.0-nightly.20250918",
67
- "@aztec/kv-store": "3.0.0-nightly.20250918",
68
- "@aztec/l1-artifacts": "3.0.0-nightly.20250918",
69
- "@aztec/node-keystore": "3.0.0-nightly.20250918",
70
- "@aztec/node-lib": "3.0.0-nightly.20250918",
71
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250918",
72
- "@aztec/p2p": "3.0.0-nightly.20250918",
73
- "@aztec/protocol-contracts": "3.0.0-nightly.20250918",
74
- "@aztec/prover-client": "3.0.0-nightly.20250918",
75
- "@aztec/sequencer-client": "3.0.0-nightly.20250918",
76
- "@aztec/simulator": "3.0.0-nightly.20250918",
77
- "@aztec/stdlib": "3.0.0-nightly.20250918",
78
- "@aztec/telemetry-client": "3.0.0-nightly.20250918",
79
- "@aztec/world-state": "3.0.0-nightly.20250918",
59
+ "@aztec/archiver": "3.0.0-nightly.20250920",
60
+ "@aztec/bb-prover": "3.0.0-nightly.20250920",
61
+ "@aztec/blob-lib": "3.0.0-nightly.20250920",
62
+ "@aztec/blob-sink": "3.0.0-nightly.20250920",
63
+ "@aztec/constants": "3.0.0-nightly.20250920",
64
+ "@aztec/epoch-cache": "3.0.0-nightly.20250920",
65
+ "@aztec/ethereum": "3.0.0-nightly.20250920",
66
+ "@aztec/foundation": "3.0.0-nightly.20250920",
67
+ "@aztec/kv-store": "3.0.0-nightly.20250920",
68
+ "@aztec/l1-artifacts": "3.0.0-nightly.20250920",
69
+ "@aztec/node-keystore": "3.0.0-nightly.20250920",
70
+ "@aztec/node-lib": "3.0.0-nightly.20250920",
71
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250920",
72
+ "@aztec/p2p": "3.0.0-nightly.20250920",
73
+ "@aztec/protocol-contracts": "3.0.0-nightly.20250920",
74
+ "@aztec/prover-client": "3.0.0-nightly.20250920",
75
+ "@aztec/sequencer-client": "3.0.0-nightly.20250920",
76
+ "@aztec/simulator": "3.0.0-nightly.20250920",
77
+ "@aztec/stdlib": "3.0.0-nightly.20250920",
78
+ "@aztec/telemetry-client": "3.0.0-nightly.20250920",
79
+ "@aztec/world-state": "3.0.0-nightly.20250920",
80
80
  "source-map-support": "^0.5.21",
81
81
  "tslib": "^2.4.0",
82
82
  "viem": "2.23.7"
@@ -126,7 +126,6 @@ export class EpochProvingJob implements Traceable {
126
126
  this.runPromise = promise;
127
127
 
128
128
  try {
129
- const firstCheckpointNumber = this.blocks[0].header.globalVariables.slotNumber;
130
129
  const blobFieldsPerCheckpoint = this.blocks.map(block => block.body.toBlobFields());
131
130
  const finalBlobBatchingChallenges = await buildFinalBlobChallenges(blobFieldsPerCheckpoint);
132
131
 
@@ -134,7 +133,7 @@ export class EpochProvingJob implements Traceable {
134
133
  // Total number of checkpoints equals number of blocks because we currently build a checkpoint with only one block.
135
134
  const totalNumCheckpoints = epochSizeBlocks;
136
135
 
137
- this.prover.startNewEpoch(epochNumber, firstCheckpointNumber, totalNumCheckpoints, finalBlobBatchingChallenges);
136
+ this.prover.startNewEpoch(epochNumber, totalNumCheckpoints, finalBlobBatchingChallenges);
138
137
  await this.prover.startTubeCircuits(Array.from(this.txs.values()));
139
138
 
140
139
  await asyncPool(this.config.parallelBlockLimit ?? 32, this.blocks, async block => {
@@ -174,6 +173,7 @@ export class EpochProvingJob implements Traceable {
174
173
  const totalNumBlocks = 1;
175
174
  const checkpointIndex = block.number - fromBlock;
176
175
  await this.prover.startNewCheckpoint(
176
+ checkpointIndex,
177
177
  checkpointConstants,
178
178
  l1ToL2Messages,
179
179
  totalNumBlocks,