@aztec/prover-node 0.0.1-commit.d1f2d6c → 0.0.1-commit.e61ad554

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.
@@ -686,7 +686,7 @@ _dec = trackSpan('EpochProvingJob.run', function() {
686
686
  const intervalMs = Math.ceil((await l2BlockSource.getL1Constants()).ethereumSlotDuration / 2) * 1000;
687
687
  this.epochCheckPromise = new RunningPromise(async ()=>{
688
688
  const blockHeaders = await l2BlockSource.getCheckpointedBlockHeadersForEpoch(this.epochNumber);
689
- const blockHashes = await Promise.all(blockHeaders.map((header)=>header.hash()));
689
+ const blockHashes = await Promise.all(blockHeaders.map(async (header)=>(await header.hash()).toField()));
690
690
  const thisBlocks = this.checkpoints.flatMap((checkpoint)=>checkpoint.blocks);
691
691
  const thisBlockHashes = await Promise.all(thisBlocks.map((block)=>block.hash()));
692
692
  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": "0.0.1-commit.d1f2d6c",
3
+ "version": "0.0.1-commit.e61ad554",
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": "0.0.1-commit.d1f2d6c",
60
- "@aztec/bb-prover": "0.0.1-commit.d1f2d6c",
61
- "@aztec/blob-client": "0.0.1-commit.d1f2d6c",
62
- "@aztec/blob-lib": "0.0.1-commit.d1f2d6c",
63
- "@aztec/constants": "0.0.1-commit.d1f2d6c",
64
- "@aztec/epoch-cache": "0.0.1-commit.d1f2d6c",
65
- "@aztec/ethereum": "0.0.1-commit.d1f2d6c",
66
- "@aztec/foundation": "0.0.1-commit.d1f2d6c",
67
- "@aztec/kv-store": "0.0.1-commit.d1f2d6c",
68
- "@aztec/l1-artifacts": "0.0.1-commit.d1f2d6c",
69
- "@aztec/node-keystore": "0.0.1-commit.d1f2d6c",
70
- "@aztec/node-lib": "0.0.1-commit.d1f2d6c",
71
- "@aztec/noir-protocol-circuits-types": "0.0.1-commit.d1f2d6c",
72
- "@aztec/p2p": "0.0.1-commit.d1f2d6c",
73
- "@aztec/protocol-contracts": "0.0.1-commit.d1f2d6c",
74
- "@aztec/prover-client": "0.0.1-commit.d1f2d6c",
75
- "@aztec/sequencer-client": "0.0.1-commit.d1f2d6c",
76
- "@aztec/simulator": "0.0.1-commit.d1f2d6c",
77
- "@aztec/stdlib": "0.0.1-commit.d1f2d6c",
78
- "@aztec/telemetry-client": "0.0.1-commit.d1f2d6c",
79
- "@aztec/world-state": "0.0.1-commit.d1f2d6c",
59
+ "@aztec/archiver": "0.0.1-commit.e61ad554",
60
+ "@aztec/bb-prover": "0.0.1-commit.e61ad554",
61
+ "@aztec/blob-client": "0.0.1-commit.e61ad554",
62
+ "@aztec/blob-lib": "0.0.1-commit.e61ad554",
63
+ "@aztec/constants": "0.0.1-commit.e61ad554",
64
+ "@aztec/epoch-cache": "0.0.1-commit.e61ad554",
65
+ "@aztec/ethereum": "0.0.1-commit.e61ad554",
66
+ "@aztec/foundation": "0.0.1-commit.e61ad554",
67
+ "@aztec/kv-store": "0.0.1-commit.e61ad554",
68
+ "@aztec/l1-artifacts": "0.0.1-commit.e61ad554",
69
+ "@aztec/node-keystore": "0.0.1-commit.e61ad554",
70
+ "@aztec/node-lib": "0.0.1-commit.e61ad554",
71
+ "@aztec/noir-protocol-circuits-types": "0.0.1-commit.e61ad554",
72
+ "@aztec/p2p": "0.0.1-commit.e61ad554",
73
+ "@aztec/protocol-contracts": "0.0.1-commit.e61ad554",
74
+ "@aztec/prover-client": "0.0.1-commit.e61ad554",
75
+ "@aztec/sequencer-client": "0.0.1-commit.e61ad554",
76
+ "@aztec/simulator": "0.0.1-commit.e61ad554",
77
+ "@aztec/stdlib": "0.0.1-commit.e61ad554",
78
+ "@aztec/telemetry-client": "0.0.1-commit.e61ad554",
79
+ "@aztec/world-state": "0.0.1-commit.e61ad554",
80
80
  "source-map-support": "^0.5.21",
81
81
  "tslib": "^2.4.0",
82
82
  "viem": "npm:@aztec/viem@2.38.2"
@@ -363,7 +363,7 @@ export class EpochProvingJob implements Traceable {
363
363
  this.epochCheckPromise = new RunningPromise(
364
364
  async () => {
365
365
  const blockHeaders = await l2BlockSource.getCheckpointedBlockHeadersForEpoch(this.epochNumber);
366
- const blockHashes = await Promise.all(blockHeaders.map(header => header.hash()));
366
+ const blockHashes = await Promise.all(blockHeaders.map(async header => (await header.hash()).toField()));
367
367
  const thisBlocks = this.checkpoints.flatMap(checkpoint => checkpoint.blocks);
368
368
  const thisBlockHashes = await Promise.all(thisBlocks.map(block => block.hash()));
369
369
  if (