@aztec/prover-node 4.0.0-nightly.20260129 → 4.0.0-nightly.20260131
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.
|
@@ -689,7 +689,7 @@ _dec = trackSpan('EpochProvingJob.run', function() {
|
|
|
689
689
|
const intervalMs = Math.ceil((await l2BlockSource.getL1Constants()).ethereumSlotDuration / 2) * 1000;
|
|
690
690
|
this.epochCheckPromise = new RunningPromise(async ()=>{
|
|
691
691
|
const blockHeaders = await l2BlockSource.getCheckpointedBlockHeadersForEpoch(this.epochNumber);
|
|
692
|
-
const blockHashes = await Promise.all(blockHeaders.map(
|
|
692
|
+
const blockHashes = await Promise.all(blockHeaders.map((header)=>header.hash()));
|
|
693
693
|
const thisBlocks = this.checkpoints.flatMap((checkpoint)=>checkpoint.blocks);
|
|
694
694
|
const thisBlockHashes = await Promise.all(thisBlocks.map((block)=>block.hash()));
|
|
695
695
|
if (blockHeaders.length !== thisBlocks.length || !blockHashes.every((block, i)=>block.equals(thisBlockHashes[i]))) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/prover-node",
|
|
3
|
-
"version": "4.0.0-nightly.
|
|
3
|
+
"version": "4.0.0-nightly.20260131",
|
|
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": "4.0.0-nightly.
|
|
60
|
-
"@aztec/bb-prover": "4.0.0-nightly.
|
|
61
|
-
"@aztec/blob-client": "4.0.0-nightly.
|
|
62
|
-
"@aztec/blob-lib": "4.0.0-nightly.
|
|
63
|
-
"@aztec/constants": "4.0.0-nightly.
|
|
64
|
-
"@aztec/epoch-cache": "4.0.0-nightly.
|
|
65
|
-
"@aztec/ethereum": "4.0.0-nightly.
|
|
66
|
-
"@aztec/foundation": "4.0.0-nightly.
|
|
67
|
-
"@aztec/kv-store": "4.0.0-nightly.
|
|
68
|
-
"@aztec/l1-artifacts": "4.0.0-nightly.
|
|
69
|
-
"@aztec/node-keystore": "4.0.0-nightly.
|
|
70
|
-
"@aztec/node-lib": "4.0.0-nightly.
|
|
71
|
-
"@aztec/noir-protocol-circuits-types": "4.0.0-nightly.
|
|
72
|
-
"@aztec/p2p": "4.0.0-nightly.
|
|
73
|
-
"@aztec/protocol-contracts": "4.0.0-nightly.
|
|
74
|
-
"@aztec/prover-client": "4.0.0-nightly.
|
|
75
|
-
"@aztec/sequencer-client": "4.0.0-nightly.
|
|
76
|
-
"@aztec/simulator": "4.0.0-nightly.
|
|
77
|
-
"@aztec/stdlib": "4.0.0-nightly.
|
|
78
|
-
"@aztec/telemetry-client": "4.0.0-nightly.
|
|
79
|
-
"@aztec/world-state": "4.0.0-nightly.
|
|
59
|
+
"@aztec/archiver": "4.0.0-nightly.20260131",
|
|
60
|
+
"@aztec/bb-prover": "4.0.0-nightly.20260131",
|
|
61
|
+
"@aztec/blob-client": "4.0.0-nightly.20260131",
|
|
62
|
+
"@aztec/blob-lib": "4.0.0-nightly.20260131",
|
|
63
|
+
"@aztec/constants": "4.0.0-nightly.20260131",
|
|
64
|
+
"@aztec/epoch-cache": "4.0.0-nightly.20260131",
|
|
65
|
+
"@aztec/ethereum": "4.0.0-nightly.20260131",
|
|
66
|
+
"@aztec/foundation": "4.0.0-nightly.20260131",
|
|
67
|
+
"@aztec/kv-store": "4.0.0-nightly.20260131",
|
|
68
|
+
"@aztec/l1-artifacts": "4.0.0-nightly.20260131",
|
|
69
|
+
"@aztec/node-keystore": "4.0.0-nightly.20260131",
|
|
70
|
+
"@aztec/node-lib": "4.0.0-nightly.20260131",
|
|
71
|
+
"@aztec/noir-protocol-circuits-types": "4.0.0-nightly.20260131",
|
|
72
|
+
"@aztec/p2p": "4.0.0-nightly.20260131",
|
|
73
|
+
"@aztec/protocol-contracts": "4.0.0-nightly.20260131",
|
|
74
|
+
"@aztec/prover-client": "4.0.0-nightly.20260131",
|
|
75
|
+
"@aztec/sequencer-client": "4.0.0-nightly.20260131",
|
|
76
|
+
"@aztec/simulator": "4.0.0-nightly.20260131",
|
|
77
|
+
"@aztec/stdlib": "4.0.0-nightly.20260131",
|
|
78
|
+
"@aztec/telemetry-client": "4.0.0-nightly.20260131",
|
|
79
|
+
"@aztec/world-state": "4.0.0-nightly.20260131",
|
|
80
80
|
"source-map-support": "^0.5.21",
|
|
81
81
|
"tslib": "^2.4.0",
|
|
82
82
|
"viem": "npm:@aztec/viem@2.38.2"
|
|
@@ -368,7 +368,7 @@ export class EpochProvingJob implements Traceable {
|
|
|
368
368
|
this.epochCheckPromise = new RunningPromise(
|
|
369
369
|
async () => {
|
|
370
370
|
const blockHeaders = await l2BlockSource.getCheckpointedBlockHeadersForEpoch(this.epochNumber);
|
|
371
|
-
const blockHashes = await Promise.all(blockHeaders.map(
|
|
371
|
+
const blockHashes = await Promise.all(blockHeaders.map(header => header.hash()));
|
|
372
372
|
const thisBlocks = this.checkpoints.flatMap(checkpoint => checkpoint.blocks);
|
|
373
373
|
const thisBlockHashes = await Promise.all(thisBlocks.map(block => block.hash()));
|
|
374
374
|
if (
|