@aztec/aztec 2.1.0-rc.9 → 2.1.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/bin/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import { injectCommands as injectInfrastructureCommands } from '@aztec/cli/infra
|
|
|
8
8
|
import { injectCommands as injectL1Commands } from '@aztec/cli/l1';
|
|
9
9
|
import { injectCommands as injectMiscCommands } from '@aztec/cli/misc';
|
|
10
10
|
import { injectCommands as injectPXECommands } from '@aztec/cli/pxe';
|
|
11
|
+
import { injectCommands as injectValidatorKeysCommands } from '@aztec/cli/validator_keys';
|
|
11
12
|
import { getActiveNetworkName } from '@aztec/foundation/config';
|
|
12
13
|
import { createConsoleLogger, createLogger } from '@aztec/foundation/log';
|
|
13
14
|
import { Command } from 'commander';
|
|
@@ -30,8 +31,8 @@ const debugLogger = createLogger('cli');
|
|
|
30
31
|
networkValue = args[networkIndex].split('=')[1] || args[networkIndex + 1];
|
|
31
32
|
}
|
|
32
33
|
const networkName = getActiveNetworkName(networkValue);
|
|
33
|
-
await enrichEnvironmentWithChainConfig(networkName);
|
|
34
34
|
await enrichEnvironmentWithNetworkConfig(networkName);
|
|
35
|
+
enrichEnvironmentWithChainConfig(networkName);
|
|
35
36
|
const cliVersion = getCliVersion();
|
|
36
37
|
let program = new Command('aztec');
|
|
37
38
|
program.description('Aztec command line interface').version(cliVersion);
|
|
@@ -43,6 +44,7 @@ const debugLogger = createLogger('cli');
|
|
|
43
44
|
program = injectPXECommands(program, userLog, debugLogger);
|
|
44
45
|
program = injectMiscCommands(program, userLog);
|
|
45
46
|
program = injectWalletCommands(program, userLog, debugLogger);
|
|
47
|
+
program = injectValidatorKeysCommands(program, userLog);
|
|
46
48
|
await program.parseAsync(process.argv);
|
|
47
49
|
}
|
|
48
50
|
main().catch((err)=>{
|
|
@@ -144,7 +144,7 @@ export const aztecStartOptions = {
|
|
|
144
144
|
],
|
|
145
145
|
STORAGE: [
|
|
146
146
|
configToFlag('--data-directory', dataConfigMappings.dataDirectory),
|
|
147
|
-
configToFlag('--data-store-map-size-kb', dataConfigMappings.
|
|
147
|
+
configToFlag('--data-store-map-size-kb', dataConfigMappings.dataStoreMapSizeKb)
|
|
148
148
|
],
|
|
149
149
|
'WORLD STATE': [
|
|
150
150
|
configToFlag('--world-state-data-directory', worldStateConfigMappings.worldStateDataDirectory),
|
|
@@ -18,7 +18,7 @@ import { extractRelevantOptions } from '../util.js';
|
|
|
18
18
|
...envConfig,
|
|
19
19
|
...cliOptions
|
|
20
20
|
};
|
|
21
|
-
archiverConfig.
|
|
21
|
+
archiverConfig.dataStoreMapSizeKb = archiverConfig.archiverStoreMapSizeKb ?? archiverConfig.dataStoreMapSizeKb;
|
|
22
22
|
if (!archiverConfig.l1Contracts.registryAddress || archiverConfig.l1Contracts.registryAddress.isZero()) {
|
|
23
23
|
throw new Error('L1 registry address is required to start an Archiver');
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -28,44 +28,44 @@
|
|
|
28
28
|
"../package.common.json"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aztec/accounts": "2.1.
|
|
32
|
-
"@aztec/archiver": "2.1.
|
|
33
|
-
"@aztec/aztec-faucet": "2.1.
|
|
34
|
-
"@aztec/aztec-node": "2.1.
|
|
35
|
-
"@aztec/aztec.js": "2.1.
|
|
36
|
-
"@aztec/bb-prover": "2.1.
|
|
37
|
-
"@aztec/bb.js": "2.1.
|
|
38
|
-
"@aztec/blob-sink": "2.1.
|
|
39
|
-
"@aztec/bot": "2.1.
|
|
40
|
-
"@aztec/builder": "2.1.
|
|
41
|
-
"@aztec/cli": "2.1.
|
|
42
|
-
"@aztec/cli-wallet": "2.1.
|
|
43
|
-
"@aztec/constants": "2.1.
|
|
44
|
-
"@aztec/entrypoints": "2.1.
|
|
45
|
-
"@aztec/ethereum": "2.1.
|
|
46
|
-
"@aztec/foundation": "2.1.
|
|
47
|
-
"@aztec/kv-store": "2.1.
|
|
48
|
-
"@aztec/l1-artifacts": "2.1.
|
|
49
|
-
"@aztec/node-lib": "2.1.
|
|
50
|
-
"@aztec/noir-contracts.js": "2.1.
|
|
51
|
-
"@aztec/noir-protocol-circuits-types": "2.1.
|
|
52
|
-
"@aztec/p2p": "2.1.
|
|
53
|
-
"@aztec/p2p-bootstrap": "2.1.
|
|
54
|
-
"@aztec/protocol-contracts": "2.1.
|
|
55
|
-
"@aztec/prover-client": "2.1.
|
|
56
|
-
"@aztec/prover-node": "2.1.
|
|
57
|
-
"@aztec/pxe": "2.1.
|
|
58
|
-
"@aztec/stdlib": "2.1.
|
|
59
|
-
"@aztec/telemetry-client": "2.1.
|
|
60
|
-
"@aztec/txe": "2.1.
|
|
61
|
-
"@aztec/world-state": "2.1.
|
|
31
|
+
"@aztec/accounts": "2.1.2",
|
|
32
|
+
"@aztec/archiver": "2.1.2",
|
|
33
|
+
"@aztec/aztec-faucet": "2.1.2",
|
|
34
|
+
"@aztec/aztec-node": "2.1.2",
|
|
35
|
+
"@aztec/aztec.js": "2.1.2",
|
|
36
|
+
"@aztec/bb-prover": "2.1.2",
|
|
37
|
+
"@aztec/bb.js": "2.1.2",
|
|
38
|
+
"@aztec/blob-sink": "2.1.2",
|
|
39
|
+
"@aztec/bot": "2.1.2",
|
|
40
|
+
"@aztec/builder": "2.1.2",
|
|
41
|
+
"@aztec/cli": "2.1.2",
|
|
42
|
+
"@aztec/cli-wallet": "2.1.2",
|
|
43
|
+
"@aztec/constants": "2.1.2",
|
|
44
|
+
"@aztec/entrypoints": "2.1.2",
|
|
45
|
+
"@aztec/ethereum": "2.1.2",
|
|
46
|
+
"@aztec/foundation": "2.1.2",
|
|
47
|
+
"@aztec/kv-store": "2.1.2",
|
|
48
|
+
"@aztec/l1-artifacts": "2.1.2",
|
|
49
|
+
"@aztec/node-lib": "2.1.2",
|
|
50
|
+
"@aztec/noir-contracts.js": "2.1.2",
|
|
51
|
+
"@aztec/noir-protocol-circuits-types": "2.1.2",
|
|
52
|
+
"@aztec/p2p": "2.1.2",
|
|
53
|
+
"@aztec/p2p-bootstrap": "2.1.2",
|
|
54
|
+
"@aztec/protocol-contracts": "2.1.2",
|
|
55
|
+
"@aztec/prover-client": "2.1.2",
|
|
56
|
+
"@aztec/prover-node": "2.1.2",
|
|
57
|
+
"@aztec/pxe": "2.1.2",
|
|
58
|
+
"@aztec/stdlib": "2.1.2",
|
|
59
|
+
"@aztec/telemetry-client": "2.1.2",
|
|
60
|
+
"@aztec/txe": "2.1.2",
|
|
61
|
+
"@aztec/world-state": "2.1.2",
|
|
62
62
|
"@types/chalk": "^2.2.0",
|
|
63
63
|
"abitype": "^0.8.11",
|
|
64
64
|
"chalk": "^5.3.0",
|
|
65
65
|
"commander": "^12.1.0",
|
|
66
66
|
"koa": "^2.16.1",
|
|
67
67
|
"koa-router": "^13.1.1",
|
|
68
|
-
"viem": "2.
|
|
68
|
+
"viem": "npm:@spalladino/viem@2.38.2-eip7594.0"
|
|
69
69
|
},
|
|
70
70
|
"files": [
|
|
71
71
|
"dest",
|
package/src/bin/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { injectCommands as injectInfrastructureCommands } from '@aztec/cli/infra
|
|
|
8
8
|
import { injectCommands as injectL1Commands } from '@aztec/cli/l1';
|
|
9
9
|
import { injectCommands as injectMiscCommands } from '@aztec/cli/misc';
|
|
10
10
|
import { injectCommands as injectPXECommands } from '@aztec/cli/pxe';
|
|
11
|
+
import { injectCommands as injectValidatorKeysCommands } from '@aztec/cli/validator_keys';
|
|
11
12
|
import { getActiveNetworkName } from '@aztec/foundation/config';
|
|
12
13
|
import { createConsoleLogger, createLogger } from '@aztec/foundation/log';
|
|
13
14
|
|
|
@@ -39,8 +40,8 @@ async function main() {
|
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
const networkName = getActiveNetworkName(networkValue);
|
|
42
|
-
await enrichEnvironmentWithChainConfig(networkName);
|
|
43
43
|
await enrichEnvironmentWithNetworkConfig(networkName);
|
|
44
|
+
enrichEnvironmentWithChainConfig(networkName);
|
|
44
45
|
|
|
45
46
|
const cliVersion = getCliVersion();
|
|
46
47
|
let program = new Command('aztec');
|
|
@@ -53,6 +54,7 @@ async function main() {
|
|
|
53
54
|
program = injectPXECommands(program, userLog, debugLogger);
|
|
54
55
|
program = injectMiscCommands(program, userLog);
|
|
55
56
|
program = injectWalletCommands(program, userLog, debugLogger);
|
|
57
|
+
program = injectValidatorKeysCommands(program, userLog);
|
|
56
58
|
|
|
57
59
|
await program.parseAsync(process.argv);
|
|
58
60
|
}
|
|
@@ -172,7 +172,7 @@ export const aztecStartOptions: { [key: string]: AztecStartOption[] } = {
|
|
|
172
172
|
],
|
|
173
173
|
STORAGE: [
|
|
174
174
|
configToFlag('--data-directory', dataConfigMappings.dataDirectory),
|
|
175
|
-
configToFlag('--data-store-map-size-kb', dataConfigMappings.
|
|
175
|
+
configToFlag('--data-store-map-size-kb', dataConfigMappings.dataStoreMapSizeKb),
|
|
176
176
|
],
|
|
177
177
|
'WORLD STATE': [
|
|
178
178
|
configToFlag('--world-state-data-directory', worldStateConfigMappings.worldStateDataDirectory),
|
|
@@ -32,7 +32,7 @@ export async function startArchiver(
|
|
|
32
32
|
);
|
|
33
33
|
|
|
34
34
|
let archiverConfig = { ...envConfig, ...cliOptions };
|
|
35
|
-
archiverConfig.
|
|
35
|
+
archiverConfig.dataStoreMapSizeKb = archiverConfig.archiverStoreMapSizeKb ?? archiverConfig.dataStoreMapSizeKb;
|
|
36
36
|
|
|
37
37
|
if (!archiverConfig.l1Contracts.registryAddress || archiverConfig.l1Contracts.registryAddress.isZero()) {
|
|
38
38
|
throw new Error('L1 registry address is required to start an Archiver');
|