@aztec/prover-node 0.82.2-alpha-testnet.1 → 0.82.2-alpha-testnet.2
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 -0
- package/dest/config.d.ts.map +1 -1
- package/dest/config.js +5 -0
- package/package.json +19 -19
- package/src/config.ts +7 -0
package/dest/config.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ import { type ProverCoordinationConfig } from './prover-coordination/config.js';
|
|
|
11
11
|
export type ProverNodeConfig = ArchiverConfig & ProverClientConfig & P2PConfig & WorldStateConfig & PublisherConfig & TxSenderConfig & DataStoreConfig & ProverCoordinationConfig & SpecificProverNodeConfig & {
|
|
12
12
|
/** Whether to populate the genesis state with initial fee juice for the test accounts */
|
|
13
13
|
testAccounts: boolean;
|
|
14
|
+
/** Whether to populate the genesis state with initial fee juice for the sponsored FPC */
|
|
15
|
+
sponsoredFPC: boolean;
|
|
14
16
|
};
|
|
15
17
|
type SpecificProverNodeConfig = {
|
|
16
18
|
proverNodeMaxPendingJobs: 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,EACL,KAAK,kBAAkB,EAIxB,MAAM,0BAA0B,CAAC;AAClC,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;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,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,GAAG;IACzB,yFAAyF;IACzF,YAAY,EAAE,OAAO,CAAC;IACtB,yFAAyF;IACzF,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEJ,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,CAoBzE,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
|
@@ -53,6 +53,11 @@ export const proverNodeConfigMappings = {
|
|
|
53
53
|
env: 'TEST_ACCOUNTS',
|
|
54
54
|
description: 'Whether to populate the genesis state with initial fee juice for the test accounts.',
|
|
55
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)
|
|
56
61
|
}
|
|
57
62
|
};
|
|
58
63
|
export function getProverNodeConfigFromEnv() {
|
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.2",
|
|
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.2",
|
|
57
|
+
"@aztec/bb-prover": "0.82.2-alpha-testnet.2",
|
|
58
|
+
"@aztec/blob-sink": "0.82.2-alpha-testnet.2",
|
|
59
|
+
"@aztec/constants": "0.82.2-alpha-testnet.2",
|
|
60
|
+
"@aztec/epoch-cache": "0.82.2-alpha-testnet.2",
|
|
61
|
+
"@aztec/ethereum": "0.82.2-alpha-testnet.2",
|
|
62
|
+
"@aztec/foundation": "0.82.2-alpha-testnet.2",
|
|
63
|
+
"@aztec/kv-store": "0.82.2-alpha-testnet.2",
|
|
64
|
+
"@aztec/l1-artifacts": "0.82.2-alpha-testnet.2",
|
|
65
|
+
"@aztec/noir-protocol-circuits-types": "0.82.2-alpha-testnet.2",
|
|
66
|
+
"@aztec/p2p": "0.82.2-alpha-testnet.2",
|
|
67
|
+
"@aztec/protocol-contracts": "0.82.2-alpha-testnet.2",
|
|
68
|
+
"@aztec/prover-client": "0.82.2-alpha-testnet.2",
|
|
69
|
+
"@aztec/sequencer-client": "0.82.2-alpha-testnet.2",
|
|
70
|
+
"@aztec/simulator": "0.82.2-alpha-testnet.2",
|
|
71
|
+
"@aztec/stdlib": "0.82.2-alpha-testnet.2",
|
|
72
|
+
"@aztec/telemetry-client": "0.82.2-alpha-testnet.2",
|
|
73
|
+
"@aztec/world-state": "0.82.2-alpha-testnet.2",
|
|
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
|
@@ -36,6 +36,8 @@ export type ProverNodeConfig = ArchiverConfig &
|
|
|
36
36
|
SpecificProverNodeConfig & {
|
|
37
37
|
/** Whether to populate the genesis state with initial fee juice for the test accounts */
|
|
38
38
|
testAccounts: boolean;
|
|
39
|
+
/** Whether to populate the genesis state with initial fee juice for the sponsored FPC */
|
|
40
|
+
sponsoredFPC: boolean;
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
type SpecificProverNodeConfig = {
|
|
@@ -95,6 +97,11 @@ export const proverNodeConfigMappings: ConfigMappingsType<ProverNodeConfig> = {
|
|
|
95
97
|
description: 'Whether to populate the genesis state with initial fee juice for the test accounts.',
|
|
96
98
|
...booleanConfigHelper(false),
|
|
97
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
|
+
},
|
|
98
105
|
};
|
|
99
106
|
|
|
100
107
|
export function getProverNodeConfigFromEnv(): ProverNodeConfig {
|