@aztec/aztec-node 1.0.0-nightly.20250606 → 1.0.0-nightly.20250607
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 +9 -9
- package/package.json +23 -23
- package/src/aztec-node/server.ts +9 -9
|
@@ -382,16 +382,16 @@ import { NodeMetrics } from './node_metrics.js';
|
|
|
382
382
|
/**
|
|
383
383
|
* Method to stop the aztec node.
|
|
384
384
|
*/ async stop() {
|
|
385
|
-
this.log.info(`Stopping`);
|
|
385
|
+
this.log.info(`Stopping Aztec Node`);
|
|
386
386
|
await this.txQueue.end();
|
|
387
|
-
|
|
388
|
-
await this.proofVerifier
|
|
389
|
-
await this.sequencer
|
|
390
|
-
await this.p2pClient
|
|
391
|
-
await this.worldStateSynchronizer
|
|
387
|
+
await tryStop(this.validatorsSentinel);
|
|
388
|
+
await tryStop(this.proofVerifier);
|
|
389
|
+
await tryStop(this.sequencer);
|
|
390
|
+
await tryStop(this.p2pClient);
|
|
391
|
+
await tryStop(this.worldStateSynchronizer);
|
|
392
392
|
await tryStop(this.blockSource);
|
|
393
|
-
await this.telemetry
|
|
394
|
-
this.log.info(`Stopped`);
|
|
393
|
+
await tryStop(this.telemetry);
|
|
394
|
+
this.log.info(`Stopped Aztec Node`);
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
397
|
* Method to retrieve pending txs.
|
|
@@ -666,7 +666,7 @@ import { NodeMetrics } from './node_metrics.js';
|
|
|
666
666
|
throw failedTxs[0].error;
|
|
667
667
|
}
|
|
668
668
|
const [processedTx] = processedTxs;
|
|
669
|
-
return new PublicSimulationOutput(processedTx.revertReason, processedTx.
|
|
669
|
+
return new PublicSimulationOutput(processedTx.revertReason, processedTx.constants, processedTx.txEffect, returns, processedTx.gasUsed);
|
|
670
670
|
} finally{
|
|
671
671
|
await merkleTreeFork.close();
|
|
672
672
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec-node",
|
|
3
|
-
"version": "1.0.0-nightly.
|
|
3
|
+
"version": "1.0.0-nightly.20250607",
|
|
4
4
|
"main": "dest/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -61,28 +61,28 @@
|
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@aztec/archiver": "1.0.0-nightly.
|
|
65
|
-
"@aztec/bb-prover": "1.0.0-nightly.
|
|
66
|
-
"@aztec/blob-sink": "1.0.0-nightly.
|
|
67
|
-
"@aztec/constants": "1.0.0-nightly.
|
|
68
|
-
"@aztec/epoch-cache": "1.0.0-nightly.
|
|
69
|
-
"@aztec/ethereum": "1.0.0-nightly.
|
|
70
|
-
"@aztec/foundation": "1.0.0-nightly.
|
|
71
|
-
"@aztec/kv-store": "1.0.0-nightly.
|
|
72
|
-
"@aztec/l1-artifacts": "1.0.0-nightly.
|
|
73
|
-
"@aztec/merkle-tree": "1.0.0-nightly.
|
|
74
|
-
"@aztec/node-lib": "1.0.0-nightly.
|
|
75
|
-
"@aztec/noir-protocol-circuits-types": "1.0.0-nightly.
|
|
76
|
-
"@aztec/p2p": "1.0.0-nightly.
|
|
77
|
-
"@aztec/protocol-contracts": "1.0.0-nightly.
|
|
78
|
-
"@aztec/prover-client": "1.0.0-nightly.
|
|
79
|
-
"@aztec/sequencer-client": "1.0.0-nightly.
|
|
80
|
-
"@aztec/simulator": "1.0.0-nightly.
|
|
81
|
-
"@aztec/slasher": "1.0.0-nightly.
|
|
82
|
-
"@aztec/stdlib": "1.0.0-nightly.
|
|
83
|
-
"@aztec/telemetry-client": "1.0.0-nightly.
|
|
84
|
-
"@aztec/validator-client": "1.0.0-nightly.
|
|
85
|
-
"@aztec/world-state": "1.0.0-nightly.
|
|
64
|
+
"@aztec/archiver": "1.0.0-nightly.20250607",
|
|
65
|
+
"@aztec/bb-prover": "1.0.0-nightly.20250607",
|
|
66
|
+
"@aztec/blob-sink": "1.0.0-nightly.20250607",
|
|
67
|
+
"@aztec/constants": "1.0.0-nightly.20250607",
|
|
68
|
+
"@aztec/epoch-cache": "1.0.0-nightly.20250607",
|
|
69
|
+
"@aztec/ethereum": "1.0.0-nightly.20250607",
|
|
70
|
+
"@aztec/foundation": "1.0.0-nightly.20250607",
|
|
71
|
+
"@aztec/kv-store": "1.0.0-nightly.20250607",
|
|
72
|
+
"@aztec/l1-artifacts": "1.0.0-nightly.20250607",
|
|
73
|
+
"@aztec/merkle-tree": "1.0.0-nightly.20250607",
|
|
74
|
+
"@aztec/node-lib": "1.0.0-nightly.20250607",
|
|
75
|
+
"@aztec/noir-protocol-circuits-types": "1.0.0-nightly.20250607",
|
|
76
|
+
"@aztec/p2p": "1.0.0-nightly.20250607",
|
|
77
|
+
"@aztec/protocol-contracts": "1.0.0-nightly.20250607",
|
|
78
|
+
"@aztec/prover-client": "1.0.0-nightly.20250607",
|
|
79
|
+
"@aztec/sequencer-client": "1.0.0-nightly.20250607",
|
|
80
|
+
"@aztec/simulator": "1.0.0-nightly.20250607",
|
|
81
|
+
"@aztec/slasher": "1.0.0-nightly.20250607",
|
|
82
|
+
"@aztec/stdlib": "1.0.0-nightly.20250607",
|
|
83
|
+
"@aztec/telemetry-client": "1.0.0-nightly.20250607",
|
|
84
|
+
"@aztec/validator-client": "1.0.0-nightly.20250607",
|
|
85
|
+
"@aztec/world-state": "1.0.0-nightly.20250607",
|
|
86
86
|
"koa": "^2.16.1",
|
|
87
87
|
"koa-router": "^12.0.0",
|
|
88
88
|
"tslib": "^2.4.0",
|
package/src/aztec-node/server.ts
CHANGED
|
@@ -565,16 +565,16 @@ export class AztecNodeService implements AztecNode, AztecNodeAdmin, Traceable {
|
|
|
565
565
|
* Method to stop the aztec node.
|
|
566
566
|
*/
|
|
567
567
|
public async stop() {
|
|
568
|
-
this.log.info(`Stopping`);
|
|
568
|
+
this.log.info(`Stopping Aztec Node`);
|
|
569
569
|
await this.txQueue.end();
|
|
570
|
-
|
|
571
|
-
await this.proofVerifier
|
|
572
|
-
await this.sequencer
|
|
573
|
-
await this.p2pClient
|
|
574
|
-
await this.worldStateSynchronizer
|
|
570
|
+
await tryStop(this.validatorsSentinel);
|
|
571
|
+
await tryStop(this.proofVerifier);
|
|
572
|
+
await tryStop(this.sequencer);
|
|
573
|
+
await tryStop(this.p2pClient);
|
|
574
|
+
await tryStop(this.worldStateSynchronizer);
|
|
575
575
|
await tryStop(this.blockSource);
|
|
576
|
-
await this.telemetry
|
|
577
|
-
this.log.info(`Stopped`);
|
|
576
|
+
await tryStop(this.telemetry);
|
|
577
|
+
this.log.info(`Stopped Aztec Node`);
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
/**
|
|
@@ -962,7 +962,7 @@ export class AztecNodeService implements AztecNode, AztecNodeAdmin, Traceable {
|
|
|
962
962
|
const [processedTx] = processedTxs;
|
|
963
963
|
return new PublicSimulationOutput(
|
|
964
964
|
processedTx.revertReason,
|
|
965
|
-
processedTx.
|
|
965
|
+
processedTx.constants,
|
|
966
966
|
processedTx.txEffect,
|
|
967
967
|
returns,
|
|
968
968
|
processedTx.gasUsed,
|