@aztec/prover-node 2.1.0-rc.13 → 2.1.0-rc.16
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/factory.js +1 -1
- package/dest/metrics.js +1 -1
- package/dest/prover-node-publisher.js +1 -1
- package/package.json +24 -24
- package/src/factory.ts +1 -1
- package/src/metrics.ts +1 -1
- package/src/prover-node-publisher.ts +1 -1
package/dest/factory.js
CHANGED
|
@@ -16,7 +16,7 @@ import { P2PClientType } from '@aztec/stdlib/p2p';
|
|
|
16
16
|
import { getPackageVersion } from '@aztec/stdlib/update-checker';
|
|
17
17
|
import { L1Metrics, getTelemetryClient } from '@aztec/telemetry-client';
|
|
18
18
|
import { createWorldStateSynchronizer } from '@aztec/world-state';
|
|
19
|
-
import { createPublicClient, fallback, http } from '
|
|
19
|
+
import { createPublicClient, fallback, http } from 'viem';
|
|
20
20
|
import { createKeyStoreForProver } from './config.js';
|
|
21
21
|
import { EpochMonitor } from './monitors/epoch-monitor.js';
|
|
22
22
|
import { ProverNode } from './prover-node.js';
|
package/dest/metrics.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLogger } from '@aztec/foundation/log';
|
|
2
2
|
import { Attributes, Metrics, ValueType } from '@aztec/telemetry-client';
|
|
3
|
-
import { formatEther, formatUnits } from '
|
|
3
|
+
import { formatEther, formatUnits } from 'viem';
|
|
4
4
|
export class ProverNodeJobMetrics {
|
|
5
5
|
meter;
|
|
6
6
|
tracer;
|
|
@@ -9,8 +9,8 @@ import { Timer } from '@aztec/foundation/timer';
|
|
|
9
9
|
import { RollupAbi } from '@aztec/l1-artifacts';
|
|
10
10
|
import { CommitteeAttestation, CommitteeAttestationsAndSigners } from '@aztec/stdlib/block';
|
|
11
11
|
import { getTelemetryClient } from '@aztec/telemetry-client';
|
|
12
|
-
import { encodeFunctionData } from '@spalladino/viem';
|
|
13
12
|
import { inspect } from 'util';
|
|
13
|
+
import { encodeFunctionData } from 'viem';
|
|
14
14
|
import { ProverNodePublisherMetrics } from './metrics.js';
|
|
15
15
|
export class ProverNodePublisher {
|
|
16
16
|
interrupted = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/prover-node",
|
|
3
|
-
"version": "2.1.0-rc.
|
|
3
|
+
"version": "2.1.0-rc.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -56,30 +56,30 @@
|
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@aztec/archiver": "2.1.0-rc.
|
|
60
|
-
"@aztec/bb-prover": "2.1.0-rc.
|
|
61
|
-
"@aztec/blob-lib": "2.1.0-rc.
|
|
62
|
-
"@aztec/blob-sink": "2.1.0-rc.
|
|
63
|
-
"@aztec/constants": "2.1.0-rc.
|
|
64
|
-
"@aztec/epoch-cache": "2.1.0-rc.
|
|
65
|
-
"@aztec/ethereum": "2.1.0-rc.
|
|
66
|
-
"@aztec/foundation": "2.1.0-rc.
|
|
67
|
-
"@aztec/kv-store": "2.1.0-rc.
|
|
68
|
-
"@aztec/l1-artifacts": "2.1.0-rc.
|
|
69
|
-
"@aztec/node-keystore": "2.1.0-rc.
|
|
70
|
-
"@aztec/node-lib": "2.1.0-rc.
|
|
71
|
-
"@aztec/noir-protocol-circuits-types": "2.1.0-rc.
|
|
72
|
-
"@aztec/p2p": "2.1.0-rc.
|
|
73
|
-
"@aztec/protocol-contracts": "2.1.0-rc.
|
|
74
|
-
"@aztec/prover-client": "2.1.0-rc.
|
|
75
|
-
"@aztec/sequencer-client": "2.1.0-rc.
|
|
76
|
-
"@aztec/simulator": "2.1.0-rc.
|
|
77
|
-
"@aztec/stdlib": "2.1.0-rc.
|
|
78
|
-
"@aztec/telemetry-client": "2.1.0-rc.
|
|
79
|
-
"@aztec/world-state": "2.1.0-rc.
|
|
80
|
-
"@spalladino/viem": "2.38.2-eip7594.0",
|
|
59
|
+
"@aztec/archiver": "2.1.0-rc.16",
|
|
60
|
+
"@aztec/bb-prover": "2.1.0-rc.16",
|
|
61
|
+
"@aztec/blob-lib": "2.1.0-rc.16",
|
|
62
|
+
"@aztec/blob-sink": "2.1.0-rc.16",
|
|
63
|
+
"@aztec/constants": "2.1.0-rc.16",
|
|
64
|
+
"@aztec/epoch-cache": "2.1.0-rc.16",
|
|
65
|
+
"@aztec/ethereum": "2.1.0-rc.16",
|
|
66
|
+
"@aztec/foundation": "2.1.0-rc.16",
|
|
67
|
+
"@aztec/kv-store": "2.1.0-rc.16",
|
|
68
|
+
"@aztec/l1-artifacts": "2.1.0-rc.16",
|
|
69
|
+
"@aztec/node-keystore": "2.1.0-rc.16",
|
|
70
|
+
"@aztec/node-lib": "2.1.0-rc.16",
|
|
71
|
+
"@aztec/noir-protocol-circuits-types": "2.1.0-rc.16",
|
|
72
|
+
"@aztec/p2p": "2.1.0-rc.16",
|
|
73
|
+
"@aztec/protocol-contracts": "2.1.0-rc.16",
|
|
74
|
+
"@aztec/prover-client": "2.1.0-rc.16",
|
|
75
|
+
"@aztec/sequencer-client": "2.1.0-rc.16",
|
|
76
|
+
"@aztec/simulator": "2.1.0-rc.16",
|
|
77
|
+
"@aztec/stdlib": "2.1.0-rc.16",
|
|
78
|
+
"@aztec/telemetry-client": "2.1.0-rc.16",
|
|
79
|
+
"@aztec/world-state": "2.1.0-rc.16",
|
|
81
80
|
"source-map-support": "^0.5.21",
|
|
82
|
-
"tslib": "^2.4.0"
|
|
81
|
+
"tslib": "^2.4.0",
|
|
82
|
+
"viem": "npm:@spalladino/viem@2.38.2-eip7594.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@jest/globals": "^30.0.0",
|
package/src/factory.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { getPackageVersion } from '@aztec/stdlib/update-checker';
|
|
|
20
20
|
import { L1Metrics, type TelemetryClient, getTelemetryClient } from '@aztec/telemetry-client';
|
|
21
21
|
import { createWorldStateSynchronizer } from '@aztec/world-state';
|
|
22
22
|
|
|
23
|
-
import { createPublicClient, fallback, http } from '
|
|
23
|
+
import { createPublicClient, fallback, http } from 'viem';
|
|
24
24
|
|
|
25
25
|
import { type ProverNodeConfig, createKeyStoreForProver } from './config.js';
|
|
26
26
|
import { EpochMonitor } from './monitors/epoch-monitor.js';
|
package/src/metrics.ts
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
ValueType,
|
|
17
17
|
} from '@aztec/telemetry-client';
|
|
18
18
|
|
|
19
|
-
import { formatEther, formatUnits } from '
|
|
19
|
+
import { formatEther, formatUnits } from 'viem';
|
|
20
20
|
|
|
21
21
|
export class ProverNodeJobMetrics {
|
|
22
22
|
proverEpochExecutionDuration: Histogram;
|
|
@@ -16,8 +16,8 @@ import type { FeeRecipient, RootRollupPublicInputs } from '@aztec/stdlib/rollup'
|
|
|
16
16
|
import type { L1PublishProofStats } from '@aztec/stdlib/stats';
|
|
17
17
|
import { type TelemetryClient, getTelemetryClient } from '@aztec/telemetry-client';
|
|
18
18
|
|
|
19
|
-
import { type Hex, type TransactionReceipt, encodeFunctionData } from '@spalladino/viem';
|
|
20
19
|
import { inspect } from 'util';
|
|
20
|
+
import { type Hex, type TransactionReceipt, encodeFunctionData } from 'viem';
|
|
21
21
|
|
|
22
22
|
import { ProverNodePublisherMetrics } from './metrics.js';
|
|
23
23
|
|