@aztec/aztec 0.82.1 → 0.82.2-alpha-testnet.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"start_p2p_bootstrap.d.ts","sourceRoot":"","sources":["../../../src/cli/cmds/start_p2p_bootstrap.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,KAAK,KAAK,EAAgB,MAAM,uBAAuB,CAAC;AASjE,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,GAAG,EACZ,cAAc,EAAE,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,EACvC,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,EAAE,KAAK;;GAaf"}
1
+ {"version":3,"file":"start_p2p_bootstrap.d.ts","sourceRoot":"","sources":["../../../src/cli/cmds/start_p2p_bootstrap.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,KAAK,KAAK,EAAgB,MAAM,uBAAuB,CAAC;AASjE,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,GAAG,EACZ,cAAc,EAAE,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,EACvC,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,EAAE,KAAK;;GAcf"}
@@ -9,7 +9,11 @@ import { extractRelevantOptions } from '../util.js';
9
9
  export async function startP2PBootstrap(options, signalHandlers, services, userLog) {
10
10
  // Start a P2P bootstrap node.
11
11
  const config = extractRelevantOptions(options, bootnodeConfigMappings, 'p2p');
12
- userLog(`Starting P2P bootstrap node with config: ${jsonStringify(config)}`);
12
+ const safeConfig = {
13
+ ...config,
14
+ peerIdPrivateKey: '<redacted>'
15
+ };
16
+ userLog(`Starting P2P bootstrap node with config: ${jsonStringify(safeConfig)}`);
13
17
  const telemetryClient = initTelemetryClient(getTelemetryClientConfig());
14
18
  const store = await createStore('p2p-bootstrap', 1, config, createLogger('p2p:bootstrap:store'));
15
19
  const node = new BootstrapNode(store, telemetryClient);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/aztec",
3
- "version": "0.82.1",
3
+ "version": "0.82.2-alpha-testnet.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js"
@@ -29,35 +29,35 @@
29
29
  "../package.common.json"
30
30
  ],
31
31
  "dependencies": {
32
- "@aztec/accounts": "0.82.1",
33
- "@aztec/archiver": "0.82.1",
34
- "@aztec/aztec-faucet": "0.82.1",
35
- "@aztec/aztec-node": "0.82.1",
36
- "@aztec/aztec.js": "0.82.1",
37
- "@aztec/bb-prover": "0.82.1",
38
- "@aztec/bb.js": "0.82.1",
39
- "@aztec/blob-sink": "0.82.1",
40
- "@aztec/bot": "0.82.1",
41
- "@aztec/builder": "0.82.1",
42
- "@aztec/cli": "0.82.1",
43
- "@aztec/cli-wallet": "0.82.1",
44
- "@aztec/constants": "0.82.1",
45
- "@aztec/entrypoints": "0.82.1",
46
- "@aztec/ethereum": "0.82.1",
47
- "@aztec/foundation": "0.82.1",
48
- "@aztec/kv-store": "0.82.1",
49
- "@aztec/noir-contracts.js": "0.82.1",
50
- "@aztec/noir-protocol-circuits-types": "0.82.1",
51
- "@aztec/p2p": "0.82.1",
52
- "@aztec/p2p-bootstrap": "0.82.1",
53
- "@aztec/protocol-contracts": "0.82.1",
54
- "@aztec/prover-client": "0.82.1",
55
- "@aztec/prover-node": "0.82.1",
56
- "@aztec/pxe": "0.82.1",
57
- "@aztec/stdlib": "0.82.1",
58
- "@aztec/telemetry-client": "0.82.1",
59
- "@aztec/txe": "0.82.1",
60
- "@aztec/world-state": "0.82.1",
32
+ "@aztec/accounts": "0.82.2-alpha-testnet.1",
33
+ "@aztec/archiver": "0.82.2-alpha-testnet.1",
34
+ "@aztec/aztec-faucet": "0.82.2-alpha-testnet.1",
35
+ "@aztec/aztec-node": "0.82.2-alpha-testnet.1",
36
+ "@aztec/aztec.js": "0.82.2-alpha-testnet.1",
37
+ "@aztec/bb-prover": "0.82.2-alpha-testnet.1",
38
+ "@aztec/bb.js": "0.82.2-alpha-testnet.1",
39
+ "@aztec/blob-sink": "0.82.2-alpha-testnet.1",
40
+ "@aztec/bot": "0.82.2-alpha-testnet.1",
41
+ "@aztec/builder": "0.82.2-alpha-testnet.1",
42
+ "@aztec/cli": "0.82.2-alpha-testnet.1",
43
+ "@aztec/cli-wallet": "0.82.2-alpha-testnet.1",
44
+ "@aztec/constants": "0.82.2-alpha-testnet.1",
45
+ "@aztec/entrypoints": "0.82.2-alpha-testnet.1",
46
+ "@aztec/ethereum": "0.82.2-alpha-testnet.1",
47
+ "@aztec/foundation": "0.82.2-alpha-testnet.1",
48
+ "@aztec/kv-store": "0.82.2-alpha-testnet.1",
49
+ "@aztec/noir-contracts.js": "0.82.2-alpha-testnet.1",
50
+ "@aztec/noir-protocol-circuits-types": "0.82.2-alpha-testnet.1",
51
+ "@aztec/p2p": "0.82.2-alpha-testnet.1",
52
+ "@aztec/p2p-bootstrap": "0.82.2-alpha-testnet.1",
53
+ "@aztec/protocol-contracts": "0.82.2-alpha-testnet.1",
54
+ "@aztec/prover-client": "0.82.2-alpha-testnet.1",
55
+ "@aztec/prover-node": "0.82.2-alpha-testnet.1",
56
+ "@aztec/pxe": "0.82.2-alpha-testnet.1",
57
+ "@aztec/stdlib": "0.82.2-alpha-testnet.1",
58
+ "@aztec/telemetry-client": "0.82.2-alpha-testnet.1",
59
+ "@aztec/txe": "0.82.2-alpha-testnet.1",
60
+ "@aztec/world-state": "0.82.2-alpha-testnet.1",
61
61
  "@types/chalk": "^2.2.0",
62
62
  "abitype": "^0.8.11",
63
63
  "chalk": "^5.3.0",
@@ -17,7 +17,8 @@ export async function startP2PBootstrap(
17
17
  ) {
18
18
  // Start a P2P bootstrap node.
19
19
  const config = extractRelevantOptions<BootnodeConfig>(options, bootnodeConfigMappings, 'p2p');
20
- userLog(`Starting P2P bootstrap node with config: ${jsonStringify(config)}`);
20
+ const safeConfig = { ...config, peerIdPrivateKey: '<redacted>' };
21
+ userLog(`Starting P2P bootstrap node with config: ${jsonStringify(safeConfig)}`);
21
22
  const telemetryClient = initTelemetryClient(getTelemetryClientConfig());
22
23
  const store = await createStore('p2p-bootstrap', 1, config, createLogger('p2p:bootstrap:store'));
23
24
  const node = new BootstrapNode(store, telemetryClient);