@aztec/prover-node 3.0.0-nightly.20250911 → 3.0.0-nightly.20250912

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.
package/dest/metrics.js CHANGED
@@ -56,7 +56,7 @@ export class ProverNodeRewardsMetrics {
56
56
  this.prevEpoch = -1n;
57
57
  this.proofSubmissionEpochs = 0;
58
58
  this.observe = async (observer)=>{
59
- const epoch = await this.rollup.getEpochNumber();
59
+ const epoch = await this.rollup.getCurrentEpochNumber();
60
60
  if (epoch > this.proofSubmissionEpochs) {
61
61
  // look at the prev epoch so that we get an accurate value, after proof submission window has closed
62
62
  // For example, if proof submission window is 1 epoch, and we are in epoch 2, we should be looking at epoch 0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/prover-node",
3
- "version": "3.0.0-nightly.20250911",
3
+ "version": "3.0.0-nightly.20250912",
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.20250911",
60
- "@aztec/bb-prover": "3.0.0-nightly.20250911",
61
- "@aztec/blob-lib": "3.0.0-nightly.20250911",
62
- "@aztec/blob-sink": "3.0.0-nightly.20250911",
63
- "@aztec/constants": "3.0.0-nightly.20250911",
64
- "@aztec/epoch-cache": "3.0.0-nightly.20250911",
65
- "@aztec/ethereum": "3.0.0-nightly.20250911",
66
- "@aztec/foundation": "3.0.0-nightly.20250911",
67
- "@aztec/kv-store": "3.0.0-nightly.20250911",
68
- "@aztec/l1-artifacts": "3.0.0-nightly.20250911",
69
- "@aztec/node-keystore": "3.0.0-nightly.20250911",
70
- "@aztec/node-lib": "3.0.0-nightly.20250911",
71
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250911",
72
- "@aztec/p2p": "3.0.0-nightly.20250911",
73
- "@aztec/protocol-contracts": "3.0.0-nightly.20250911",
74
- "@aztec/prover-client": "3.0.0-nightly.20250911",
75
- "@aztec/sequencer-client": "3.0.0-nightly.20250911",
76
- "@aztec/simulator": "3.0.0-nightly.20250911",
77
- "@aztec/stdlib": "3.0.0-nightly.20250911",
78
- "@aztec/telemetry-client": "3.0.0-nightly.20250911",
79
- "@aztec/world-state": "3.0.0-nightly.20250911",
59
+ "@aztec/archiver": "3.0.0-nightly.20250912",
60
+ "@aztec/bb-prover": "3.0.0-nightly.20250912",
61
+ "@aztec/blob-lib": "3.0.0-nightly.20250912",
62
+ "@aztec/blob-sink": "3.0.0-nightly.20250912",
63
+ "@aztec/constants": "3.0.0-nightly.20250912",
64
+ "@aztec/epoch-cache": "3.0.0-nightly.20250912",
65
+ "@aztec/ethereum": "3.0.0-nightly.20250912",
66
+ "@aztec/foundation": "3.0.0-nightly.20250912",
67
+ "@aztec/kv-store": "3.0.0-nightly.20250912",
68
+ "@aztec/l1-artifacts": "3.0.0-nightly.20250912",
69
+ "@aztec/node-keystore": "3.0.0-nightly.20250912",
70
+ "@aztec/node-lib": "3.0.0-nightly.20250912",
71
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250912",
72
+ "@aztec/p2p": "3.0.0-nightly.20250912",
73
+ "@aztec/protocol-contracts": "3.0.0-nightly.20250912",
74
+ "@aztec/prover-client": "3.0.0-nightly.20250912",
75
+ "@aztec/sequencer-client": "3.0.0-nightly.20250912",
76
+ "@aztec/simulator": "3.0.0-nightly.20250912",
77
+ "@aztec/stdlib": "3.0.0-nightly.20250912",
78
+ "@aztec/telemetry-client": "3.0.0-nightly.20250912",
79
+ "@aztec/world-state": "3.0.0-nightly.20250912",
80
80
  "source-map-support": "^0.5.21",
81
81
  "tslib": "^2.4.0",
82
82
  "viem": "2.23.7"
package/src/metrics.ts CHANGED
@@ -91,7 +91,7 @@ export class ProverNodeRewardsMetrics {
91
91
  }
92
92
 
93
93
  private observe = async (observer: BatchObservableResult): Promise<void> => {
94
- const epoch = await this.rollup.getEpochNumber();
94
+ const epoch = await this.rollup.getCurrentEpochNumber();
95
95
 
96
96
  if (epoch > this.proofSubmissionEpochs) {
97
97
  // look at the prev epoch so that we get an accurate value, after proof submission window has closed