@constellation-network/node-pilot 0.12.1-testnet → 0.12.2-testnet

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/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @constellation-network/node-pilot
21
21
  $ cpilot COMMAND
22
22
  running command...
23
23
  $ cpilot (--version|-v)
24
- @constellation-network/node-pilot/0.12.1-testnet darwin-arm64 node-v22.15.0
24
+ @constellation-network/node-pilot/0.12.2-testnet darwin-arm64 node-v22.15.0
25
25
  $ cpilot --help [COMMAND]
26
26
  USAGE
27
27
  $ cpilot COMMAND
@@ -71,7 +71,7 @@ EXAMPLES
71
71
  $ cpilot clean
72
72
  ```
73
73
 
74
- _See code: [src/commands/clean.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/clean.ts)_
74
+ _See code: [src/commands/clean.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/clean.ts)_
75
75
 
76
76
  ## `cpilot config`
77
77
 
@@ -88,7 +88,7 @@ EXAMPLES
88
88
  $ cpilot config
89
89
  ```
90
90
 
91
- _See code: [src/commands/config.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/config.ts)_
91
+ _See code: [src/commands/config.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/config.ts)_
92
92
 
93
93
  ## `cpilot config get [NAME]`
94
94
 
@@ -112,7 +112,7 @@ EXAMPLES
112
112
  $ cpilot config get gl0:CL_PUBLIC_HTTP_PORT
113
113
  ```
114
114
 
115
- _See code: [src/commands/config/get.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/config/get.ts)_
115
+ _See code: [src/commands/config/get.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/config/get.ts)_
116
116
 
117
117
  ## `cpilot config set NAME VALUE`
118
118
 
@@ -135,7 +135,7 @@ EXAMPLES
135
135
  $ cpilot config set gl0:CL_PUBLIC_HTTP_PORT 9000
136
136
  ```
137
137
 
138
- _See code: [src/commands/config/set.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/config/set.ts)_
138
+ _See code: [src/commands/config/set.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/config/set.ts)_
139
139
 
140
140
  ## `cpilot help [COMMAND]`
141
141
 
@@ -172,7 +172,7 @@ EXAMPLES
172
172
  $ cpilot info
173
173
  ```
174
174
 
175
- _See code: [src/commands/info.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/info.ts)_
175
+ _See code: [src/commands/info.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/info.ts)_
176
176
 
177
177
  ## `cpilot logs LAYER`
178
178
 
@@ -198,7 +198,7 @@ EXAMPLES
198
198
  $ cpilot logs
199
199
  ```
200
200
 
201
- _See code: [src/commands/logs.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/logs.ts)_
201
+ _See code: [src/commands/logs.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/logs.ts)_
202
202
 
203
203
  ## `cpilot restart [LAYER]`
204
204
 
@@ -226,7 +226,7 @@ EXAMPLES
226
226
  $ cpilot restart
227
227
  ```
228
228
 
229
- _See code: [src/commands/restart.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/restart.ts)_
229
+ _See code: [src/commands/restart.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/restart.ts)_
230
230
 
231
231
  ## `cpilot shutdown`
232
232
 
@@ -243,7 +243,7 @@ EXAMPLES
243
243
  $ cpilot shutdown
244
244
  ```
245
245
 
246
- _See code: [src/commands/shutdown.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/shutdown.ts)_
246
+ _See code: [src/commands/shutdown.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/shutdown.ts)_
247
247
 
248
248
  ## `cpilot status`
249
249
 
@@ -257,5 +257,5 @@ DESCRIPTION
257
257
  Display node status and configuration settings
258
258
  ```
259
259
 
260
- _See code: [src/commands/status.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.1-testnet/src/commands/status.ts)_
260
+ _See code: [src/commands/status.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.12.2-testnet/src/commands/status.ts)_
261
261
  <!-- commandsstop -->
@@ -5,7 +5,6 @@ import 'json-bigint-patch';
5
5
  import path from "node:path";
6
6
  import { clm } from "../clm.js";
7
7
  import { configStore } from "../config-store.js";
8
- import { promptHelper } from "../helpers/prompt-helper.js";
9
8
  import { shellService } from "./shell-service.js";
10
9
  const CHUNK_SIZE = 20_000;
11
10
  export class FastforwardService {
@@ -28,14 +27,14 @@ export class FastforwardService {
28
27
  const ffs = new FastforwardService();
29
28
  await ffs.runFastForwardSnapshot().catch(async (error) => {
30
29
  clm.debug(error);
31
- const { projectDir } = configStore.getProjectInfo();
32
- const dataDir = path.join(projectDir, 'gl0', 'data', 'incremental_snapshot', 'ordinal');
33
- if (fs.existsSync(dataDir) && fs.readdirSync(dataDir).length > 0) {
34
- clm.warn('Failed to fast forward to latest snapshot. Skipping...');
35
- await promptHelper.doYouWishToContinue();
36
- return;
37
- }
38
- clm.error('Failed to fast forward to latest snapshot. Please try again later.');
30
+ // const {projectDir} = configStore.getProjectInfo();
31
+ // const dataDir = path.join(projectDir, 'gl0', 'data', 'incremental_snapshot', 'ordinal');
32
+ // if (fs.existsSync(dataDir) && fs.readdirSync(dataDir).length > 0) {
33
+ // clm.warn('Failed to fast forward to latest snapshot. Skipping...');
34
+ // await promptHelper.doYouWishToContinue();
35
+ // return;
36
+ // }
37
+ clm.error('Failed to fast forward to latest snapshot. Please try again later or skip this step when prompted.');
39
38
  });
40
39
  }
41
40
  async runFastForwardSnapshot() {
@@ -340,5 +340,5 @@
340
340
  ]
341
341
  }
342
342
  },
343
- "version": "0.12.1-testnet"
343
+ "version": "0.12.2-testnet"
344
344
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@constellation-network/node-pilot",
3
3
  "description": "An easy deployment and monitoring tool for Constellation nodes.",
4
- "version": "0.12.1-testnet",
4
+ "version": "0.12.2-testnet",
5
5
  "author": "Frank Fox",
6
6
  "bin": {
7
7
  "cpilot": "bin/run.js"
@@ -3,6 +3,6 @@ CL_COLLATERAL=25000000000000
3
3
  CL_L0_PEER_HTTP_PORT=9000
4
4
  CL_L0_PEER_HTTP_HOST=52.53.46.33
5
5
  CL_L0_PEER_ID=e0c1ee6ec43510f0e16d2969a7a7c074a5c8cdb477c074fe9c32a9aad8cbc8ff1dff60bb81923e0db437d2686a9b65b86c403e6a21fa32b6acc4e61be4d70925
6
- #CL_GLOBAL_L0_PEER_HTTP_PORT=9000
7
- #CL_GLOBAL_L0_PEER_HOST=52.53.46.33
8
- #CL_GLOBAL_L0_PEER_ID=e0c1ee6ec43510f0e16d2969a7a7c074a5c8cdb477c074fe9c32a9aad8cbc8ff1dff60bb81923e0db437d2686a9b65b86c403e6a21fa32b6acc4e61be4d70925
6
+ CL_GLOBAL_L0_PEER_HTTP_PORT=9000
7
+ CL_GLOBAL_L0_PEER_HOST=52.53.46.33
8
+ CL_GLOBAL_L0_PEER_ID=e0c1ee6ec43510f0e16d2969a7a7c074a5c8cdb477c074fe9c32a9aad8cbc8ff1dff60bb81923e0db437d2686a9b65b86c403e6a21fa32b6acc4e61be4d70925
@@ -3,6 +3,6 @@ CL_COLLATERAL=0
3
3
  CL_L0_PEER_HTTP_PORT=9000
4
4
  CL_L0_PEER_HTTP_HOST=52.8.132.193
5
5
  CL_L0_PEER_ID=e2f4496e5872682d7a55aa06e507a58e96b5d48a5286bfdff7ed780fa464d9e789b2760ecd840f4cb3ee6e1c1d81b2ee844c88dbebf149b1084b7313eb680714
6
- #CL_GLOBAL_L0_PEER_HTTP_PORT=9000
7
- #CL_GLOBAL_L0_PEER_HOST=52.8.132.193
8
- #CL_GLOBAL_L0_PEER_ID=e2f4496e5872682d7a55aa06e507a58e96b5d48a5286bfdff7ed780fa464d9e789b2760ecd840f4cb3ee6e1c1d81b2ee844c88dbebf149b1084b7313eb680714
6
+ CL_GLOBAL_L0_PEER_HTTP_PORT=9000
7
+ CL_GLOBAL_L0_PEER_HOST=52.8.132.193
8
+ CL_GLOBAL_L0_PEER_ID=e2f4496e5872682d7a55aa06e507a58e96b5d48a5286bfdff7ed780fa464d9e789b2760ecd840f4cb3ee6e1c1d81b2ee844c88dbebf149b1084b7313eb680714