@aztec/aztec-node 2.0.0-nightly.20250901 → 2.0.0-nightly.20250902
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/aztec-node/server.js +2 -2
- package/package.json +24 -24
- package/src/aztec-node/server.ts +2 -2
|
@@ -211,8 +211,8 @@ import { NodeMetrics } from './node_metrics.js';
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
let epochPruneWatcher;
|
|
214
|
-
if (config.slashPrunePenalty > 0n) {
|
|
215
|
-
epochPruneWatcher = new EpochPruneWatcher(archiver, archiver, epochCache, p2pClient.getTxProvider(), blockBuilder, config
|
|
214
|
+
if (config.slashPrunePenalty > 0n || config.slashDataWithholdingPenalty > 0n) {
|
|
215
|
+
epochPruneWatcher = new EpochPruneWatcher(archiver, archiver, epochCache, p2pClient.getTxProvider(), blockBuilder, config);
|
|
216
216
|
await epochPruneWatcher.start();
|
|
217
217
|
watchers.push(epochPruneWatcher);
|
|
218
218
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec-node",
|
|
3
|
-
"version": "2.0.0-nightly.
|
|
3
|
+
"version": "2.0.0-nightly.20250902",
|
|
4
4
|
"main": "dest/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -66,29 +66,29 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@aztec/archiver": "2.0.0-nightly.
|
|
70
|
-
"@aztec/bb-prover": "2.0.0-nightly.
|
|
71
|
-
"@aztec/blob-sink": "2.0.0-nightly.
|
|
72
|
-
"@aztec/constants": "2.0.0-nightly.
|
|
73
|
-
"@aztec/epoch-cache": "2.0.0-nightly.
|
|
74
|
-
"@aztec/ethereum": "2.0.0-nightly.
|
|
75
|
-
"@aztec/foundation": "2.0.0-nightly.
|
|
76
|
-
"@aztec/kv-store": "2.0.0-nightly.
|
|
77
|
-
"@aztec/l1-artifacts": "2.0.0-nightly.
|
|
78
|
-
"@aztec/merkle-tree": "2.0.0-nightly.
|
|
79
|
-
"@aztec/node-keystore": "2.0.0-nightly.
|
|
80
|
-
"@aztec/node-lib": "2.0.0-nightly.
|
|
81
|
-
"@aztec/noir-protocol-circuits-types": "2.0.0-nightly.
|
|
82
|
-
"@aztec/p2p": "2.0.0-nightly.
|
|
83
|
-
"@aztec/protocol-contracts": "2.0.0-nightly.
|
|
84
|
-
"@aztec/prover-client": "2.0.0-nightly.
|
|
85
|
-
"@aztec/sequencer-client": "2.0.0-nightly.
|
|
86
|
-
"@aztec/simulator": "2.0.0-nightly.
|
|
87
|
-
"@aztec/slasher": "2.0.0-nightly.
|
|
88
|
-
"@aztec/stdlib": "2.0.0-nightly.
|
|
89
|
-
"@aztec/telemetry-client": "2.0.0-nightly.
|
|
90
|
-
"@aztec/validator-client": "2.0.0-nightly.
|
|
91
|
-
"@aztec/world-state": "2.0.0-nightly.
|
|
69
|
+
"@aztec/archiver": "2.0.0-nightly.20250902",
|
|
70
|
+
"@aztec/bb-prover": "2.0.0-nightly.20250902",
|
|
71
|
+
"@aztec/blob-sink": "2.0.0-nightly.20250902",
|
|
72
|
+
"@aztec/constants": "2.0.0-nightly.20250902",
|
|
73
|
+
"@aztec/epoch-cache": "2.0.0-nightly.20250902",
|
|
74
|
+
"@aztec/ethereum": "2.0.0-nightly.20250902",
|
|
75
|
+
"@aztec/foundation": "2.0.0-nightly.20250902",
|
|
76
|
+
"@aztec/kv-store": "2.0.0-nightly.20250902",
|
|
77
|
+
"@aztec/l1-artifacts": "2.0.0-nightly.20250902",
|
|
78
|
+
"@aztec/merkle-tree": "2.0.0-nightly.20250902",
|
|
79
|
+
"@aztec/node-keystore": "2.0.0-nightly.20250902",
|
|
80
|
+
"@aztec/node-lib": "2.0.0-nightly.20250902",
|
|
81
|
+
"@aztec/noir-protocol-circuits-types": "2.0.0-nightly.20250902",
|
|
82
|
+
"@aztec/p2p": "2.0.0-nightly.20250902",
|
|
83
|
+
"@aztec/protocol-contracts": "2.0.0-nightly.20250902",
|
|
84
|
+
"@aztec/prover-client": "2.0.0-nightly.20250902",
|
|
85
|
+
"@aztec/sequencer-client": "2.0.0-nightly.20250902",
|
|
86
|
+
"@aztec/simulator": "2.0.0-nightly.20250902",
|
|
87
|
+
"@aztec/slasher": "2.0.0-nightly.20250902",
|
|
88
|
+
"@aztec/stdlib": "2.0.0-nightly.20250902",
|
|
89
|
+
"@aztec/telemetry-client": "2.0.0-nightly.20250902",
|
|
90
|
+
"@aztec/validator-client": "2.0.0-nightly.20250902",
|
|
91
|
+
"@aztec/world-state": "2.0.0-nightly.20250902",
|
|
92
92
|
"koa": "^2.16.1",
|
|
93
93
|
"koa-router": "^12.0.0",
|
|
94
94
|
"tslib": "^2.4.0",
|
package/src/aztec-node/server.ts
CHANGED
|
@@ -328,14 +328,14 @@ export class AztecNodeService implements AztecNode, AztecNodeAdmin, Traceable {
|
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
let epochPruneWatcher: EpochPruneWatcher | undefined;
|
|
331
|
-
if (config.slashPrunePenalty > 0n) {
|
|
331
|
+
if (config.slashPrunePenalty > 0n || config.slashDataWithholdingPenalty > 0n) {
|
|
332
332
|
epochPruneWatcher = new EpochPruneWatcher(
|
|
333
333
|
archiver,
|
|
334
334
|
archiver,
|
|
335
335
|
epochCache,
|
|
336
336
|
p2pClient.getTxProvider(),
|
|
337
337
|
blockBuilder,
|
|
338
|
-
config
|
|
338
|
+
config,
|
|
339
339
|
);
|
|
340
340
|
await epochPruneWatcher.start();
|
|
341
341
|
watchers.push(epochPruneWatcher);
|