@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 +1 -1
- package/package.json +22 -22
- package/src/metrics.ts +1 -1
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.
|
|
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.
|
|
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.
|
|
60
|
-
"@aztec/bb-prover": "3.0.0-nightly.
|
|
61
|
-
"@aztec/blob-lib": "3.0.0-nightly.
|
|
62
|
-
"@aztec/blob-sink": "3.0.0-nightly.
|
|
63
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
64
|
-
"@aztec/epoch-cache": "3.0.0-nightly.
|
|
65
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
66
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
67
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
68
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
69
|
-
"@aztec/node-keystore": "3.0.0-nightly.
|
|
70
|
-
"@aztec/node-lib": "3.0.0-nightly.
|
|
71
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
72
|
-
"@aztec/p2p": "3.0.0-nightly.
|
|
73
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
74
|
-
"@aztec/prover-client": "3.0.0-nightly.
|
|
75
|
-
"@aztec/sequencer-client": "3.0.0-nightly.
|
|
76
|
-
"@aztec/simulator": "3.0.0-nightly.
|
|
77
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
78
|
-
"@aztec/telemetry-client": "3.0.0-nightly.
|
|
79
|
-
"@aztec/world-state": "3.0.0-nightly.
|
|
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.
|
|
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
|