@aztec/prover-node 0.82.2-alpha-testnet.3 → 0.82.2-alpha-testnet.4
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/config.d.ts +2 -6
- package/dest/config.d.ts.map +1 -1
- package/dest/config.js +3 -11
- package/package.json +19 -19
- package/src/config.ts +5 -22
package/dest/config.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ArchiverConfig } from '@aztec/archiver/config';
|
|
2
2
|
import type { ACVMConfig, BBConfig } from '@aztec/bb-prover/config';
|
|
3
|
+
import { type GenesisStateConfig } from '@aztec/ethereum';
|
|
3
4
|
import { type ConfigMappingsType } from '@aztec/foundation/config';
|
|
4
5
|
import { type DataStoreConfig } from '@aztec/kv-store/config';
|
|
5
6
|
import { type P2PConfig } from '@aztec/p2p/config';
|
|
@@ -8,12 +9,7 @@ import { type ProverClientConfig } from '@aztec/prover-client/config';
|
|
|
8
9
|
import { type PublisherConfig, type TxSenderConfig } from '@aztec/sequencer-client/config';
|
|
9
10
|
import { type WorldStateConfig } from '@aztec/world-state/config';
|
|
10
11
|
import { type ProverCoordinationConfig } from './prover-coordination/config.js';
|
|
11
|
-
export type ProverNodeConfig = ArchiverConfig & ProverClientConfig & P2PConfig & WorldStateConfig & PublisherConfig & TxSenderConfig & DataStoreConfig & ProverCoordinationConfig & SpecificProverNodeConfig &
|
|
12
|
-
/** Whether to populate the genesis state with initial fee juice for the test accounts */
|
|
13
|
-
testAccounts: boolean;
|
|
14
|
-
/** Whether to populate the genesis state with initial fee juice for the sponsored FPC */
|
|
15
|
-
sponsoredFPC: boolean;
|
|
16
|
-
};
|
|
12
|
+
export type ProverNodeConfig = ArchiverConfig & ProverClientConfig & P2PConfig & WorldStateConfig & PublisherConfig & TxSenderConfig & DataStoreConfig & ProverCoordinationConfig & SpecificProverNodeConfig & GenesisStateConfig;
|
|
17
13
|
type SpecificProverNodeConfig = {
|
|
18
14
|
proverNodeMaxPendingJobs: number;
|
|
19
15
|
proverNodePollingIntervalMs: number;
|
package/dest/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,wBAAwB,CAAC;AACrF,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,wBAAwB,CAAC;AACrF,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,KAAK,kBAAkB,EAA8B,MAAM,iBAAiB,CAAC;AACtF,OAAO,EAAE,KAAK,kBAAkB,EAA6C,MAAM,0BAA0B,CAAC;AAC9G,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,mBAAmB,CAAC;AACtE,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAGxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,kBAAkB,EAAgD,MAAM,6BAA6B,CAAC;AACpH,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EAGpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,gBAAgB,EAA4B,MAAM,2BAA2B,CAAC;AAE5F,OAAO,EAAE,KAAK,wBAAwB,EAAoC,MAAM,iCAAiC,CAAC;AAElH,MAAM,MAAM,gBAAgB,GAAG,cAAc,GAC3C,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,eAAe,GACf,cAAc,GACd,eAAe,GACf,wBAAwB,GACxB,wBAAwB,GACxB,kBAAkB,CAAC;AAErB,KAAK,wBAAwB,GAAG;IAC9B,wBAAwB,EAAE,MAAM,CAAC;IACjC,2BAA2B,EAAE,MAAM,CAAC;IACpC,mCAAmC,EAAE,MAAM,CAAC;IAC5C,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,8BAA8B,EAAE,MAAM,CAAC;CACxC,CAAC;AAmCF,eAAO,MAAM,wBAAwB,EAAE,kBAAkB,CAAC,gBAAgB,CAWzE,CAAC;AAEF,wBAAgB,0BAA0B,IAAI,gBAAgB,CAE7D;AAED,wBAAgB,gCAAgC,IAAI,kBAAkB,CAIrE;AAED,wBAAgB,+BAA+B,IAAI,iBAAiB,GAAG,QAAQ,GAAG,UAAU,CAK3F"}
|
package/dest/config.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { archiverConfigMappings } from '@aztec/archiver/config';
|
|
2
|
-
import {
|
|
2
|
+
import { genesisStateConfigMappings } from '@aztec/ethereum';
|
|
3
|
+
import { getConfigFromMappings, numberConfigHelper } from '@aztec/foundation/config';
|
|
3
4
|
import { dataConfigMappings } from '@aztec/kv-store/config';
|
|
4
5
|
import { p2pConfigMappings } from '@aztec/p2p/config';
|
|
5
6
|
import { proverAgentConfigMappings, proverBrokerConfigMappings } from '@aztec/prover-client/broker';
|
|
@@ -49,16 +50,7 @@ export const proverNodeConfigMappings = {
|
|
|
49
50
|
...getTxSenderConfigMappings('PROVER'),
|
|
50
51
|
...proverCoordinationConfigMappings,
|
|
51
52
|
...specificProverNodeConfigMappings,
|
|
52
|
-
|
|
53
|
-
env: 'TEST_ACCOUNTS',
|
|
54
|
-
description: 'Whether to populate the genesis state with initial fee juice for the test accounts.',
|
|
55
|
-
...booleanConfigHelper(false)
|
|
56
|
-
},
|
|
57
|
-
sponsoredFPC: {
|
|
58
|
-
env: 'SPONSORED_FPC',
|
|
59
|
-
description: 'Whether to populate the genesis state with initial fee juice for the sponsored FPC.',
|
|
60
|
-
...booleanConfigHelper(false)
|
|
61
|
-
}
|
|
53
|
+
...genesisStateConfigMappings
|
|
62
54
|
};
|
|
63
55
|
export function getProverNodeConfigFromEnv() {
|
|
64
56
|
return getConfigFromMappings(proverNodeConfigMappings);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/prover-node",
|
|
3
|
-
"version": "0.82.2-alpha-testnet.
|
|
3
|
+
"version": "0.82.2-alpha-testnet.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -53,24 +53,24 @@
|
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aztec/archiver": "0.82.2-alpha-testnet.
|
|
57
|
-
"@aztec/bb-prover": "0.82.2-alpha-testnet.
|
|
58
|
-
"@aztec/blob-sink": "0.82.2-alpha-testnet.
|
|
59
|
-
"@aztec/constants": "0.82.2-alpha-testnet.
|
|
60
|
-
"@aztec/epoch-cache": "0.82.2-alpha-testnet.
|
|
61
|
-
"@aztec/ethereum": "0.82.2-alpha-testnet.
|
|
62
|
-
"@aztec/foundation": "0.82.2-alpha-testnet.
|
|
63
|
-
"@aztec/kv-store": "0.82.2-alpha-testnet.
|
|
64
|
-
"@aztec/l1-artifacts": "0.82.2-alpha-testnet.
|
|
65
|
-
"@aztec/noir-protocol-circuits-types": "0.82.2-alpha-testnet.
|
|
66
|
-
"@aztec/p2p": "0.82.2-alpha-testnet.
|
|
67
|
-
"@aztec/protocol-contracts": "0.82.2-alpha-testnet.
|
|
68
|
-
"@aztec/prover-client": "0.82.2-alpha-testnet.
|
|
69
|
-
"@aztec/sequencer-client": "0.82.2-alpha-testnet.
|
|
70
|
-
"@aztec/simulator": "0.82.2-alpha-testnet.
|
|
71
|
-
"@aztec/stdlib": "0.82.2-alpha-testnet.
|
|
72
|
-
"@aztec/telemetry-client": "0.82.2-alpha-testnet.
|
|
73
|
-
"@aztec/world-state": "0.82.2-alpha-testnet.
|
|
56
|
+
"@aztec/archiver": "0.82.2-alpha-testnet.4",
|
|
57
|
+
"@aztec/bb-prover": "0.82.2-alpha-testnet.4",
|
|
58
|
+
"@aztec/blob-sink": "0.82.2-alpha-testnet.4",
|
|
59
|
+
"@aztec/constants": "0.82.2-alpha-testnet.4",
|
|
60
|
+
"@aztec/epoch-cache": "0.82.2-alpha-testnet.4",
|
|
61
|
+
"@aztec/ethereum": "0.82.2-alpha-testnet.4",
|
|
62
|
+
"@aztec/foundation": "0.82.2-alpha-testnet.4",
|
|
63
|
+
"@aztec/kv-store": "0.82.2-alpha-testnet.4",
|
|
64
|
+
"@aztec/l1-artifacts": "0.82.2-alpha-testnet.4",
|
|
65
|
+
"@aztec/noir-protocol-circuits-types": "0.82.2-alpha-testnet.4",
|
|
66
|
+
"@aztec/p2p": "0.82.2-alpha-testnet.4",
|
|
67
|
+
"@aztec/protocol-contracts": "0.82.2-alpha-testnet.4",
|
|
68
|
+
"@aztec/prover-client": "0.82.2-alpha-testnet.4",
|
|
69
|
+
"@aztec/sequencer-client": "0.82.2-alpha-testnet.4",
|
|
70
|
+
"@aztec/simulator": "0.82.2-alpha-testnet.4",
|
|
71
|
+
"@aztec/stdlib": "0.82.2-alpha-testnet.4",
|
|
72
|
+
"@aztec/telemetry-client": "0.82.2-alpha-testnet.4",
|
|
73
|
+
"@aztec/world-state": "0.82.2-alpha-testnet.4",
|
|
74
74
|
"source-map-support": "^0.5.21",
|
|
75
75
|
"tslib": "^2.4.0",
|
|
76
76
|
"viem": "2.23.7"
|
package/src/config.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { type ArchiverConfig, archiverConfigMappings } from '@aztec/archiver/config';
|
|
2
2
|
import type { ACVMConfig, BBConfig } from '@aztec/bb-prover/config';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
booleanConfigHelper,
|
|
6
|
-
getConfigFromMappings,
|
|
7
|
-
numberConfigHelper,
|
|
8
|
-
} from '@aztec/foundation/config';
|
|
3
|
+
import { type GenesisStateConfig, genesisStateConfigMappings } from '@aztec/ethereum';
|
|
4
|
+
import { type ConfigMappingsType, getConfigFromMappings, numberConfigHelper } from '@aztec/foundation/config';
|
|
9
5
|
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
|
|
10
6
|
import { type P2PConfig, p2pConfigMappings } from '@aztec/p2p/config';
|
|
11
7
|
import {
|
|
@@ -33,12 +29,8 @@ export type ProverNodeConfig = ArchiverConfig &
|
|
|
33
29
|
TxSenderConfig &
|
|
34
30
|
DataStoreConfig &
|
|
35
31
|
ProverCoordinationConfig &
|
|
36
|
-
SpecificProverNodeConfig &
|
|
37
|
-
|
|
38
|
-
testAccounts: boolean;
|
|
39
|
-
/** Whether to populate the genesis state with initial fee juice for the sponsored FPC */
|
|
40
|
-
sponsoredFPC: boolean;
|
|
41
|
-
};
|
|
32
|
+
SpecificProverNodeConfig &
|
|
33
|
+
GenesisStateConfig;
|
|
42
34
|
|
|
43
35
|
type SpecificProverNodeConfig = {
|
|
44
36
|
proverNodeMaxPendingJobs: number;
|
|
@@ -92,16 +84,7 @@ export const proverNodeConfigMappings: ConfigMappingsType<ProverNodeConfig> = {
|
|
|
92
84
|
...getTxSenderConfigMappings('PROVER'),
|
|
93
85
|
...proverCoordinationConfigMappings,
|
|
94
86
|
...specificProverNodeConfigMappings,
|
|
95
|
-
|
|
96
|
-
env: 'TEST_ACCOUNTS',
|
|
97
|
-
description: 'Whether to populate the genesis state with initial fee juice for the test accounts.',
|
|
98
|
-
...booleanConfigHelper(false),
|
|
99
|
-
},
|
|
100
|
-
sponsoredFPC: {
|
|
101
|
-
env: 'SPONSORED_FPC',
|
|
102
|
-
description: 'Whether to populate the genesis state with initial fee juice for the sponsored FPC.',
|
|
103
|
-
...booleanConfigHelper(false),
|
|
104
|
-
},
|
|
87
|
+
...genesisStateConfigMappings,
|
|
105
88
|
};
|
|
106
89
|
|
|
107
90
|
export function getProverNodeConfigFromEnv(): ProverNodeConfig {
|