@chainsafe/lodestar 1.39.0-dev.b37f2bd1bd → 1.39.0-dev.c151a164f2
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/.git-data.json +1 -1
- package/lib/cmds/beacon/handler.d.ts.map +1 -1
- package/lib/cmds/beacon/handler.js +3 -8
- package/lib/cmds/beacon/handler.js.map +1 -1
- package/lib/cmds/beacon/initBeaconState.d.ts +2 -3
- package/lib/cmds/beacon/initBeaconState.d.ts.map +1 -1
- package/lib/cmds/beacon/initBeaconState.js +3 -6
- package/lib/cmds/beacon/initBeaconState.js.map +1 -1
- package/lib/cmds/beacon/options.js +1 -1
- package/lib/cmds/beacon/options.js.map +1 -1
- package/lib/cmds/dev/files.js +1 -1
- package/lib/cmds/dev/files.js.map +1 -1
- package/lib/cmds/dev/handler.js +1 -1
- package/lib/cmds/dev/handler.js.map +1 -1
- package/lib/cmds/dev/options.d.ts +6 -6
- package/lib/cmds/dev/options.d.ts.map +1 -1
- package/lib/cmds/dev/options.js +0 -5
- package/lib/cmds/dev/options.js.map +1 -1
- package/lib/networks/chiado.d.ts +0 -1
- package/lib/networks/chiado.d.ts.map +1 -1
- package/lib/networks/chiado.js +0 -2
- package/lib/networks/chiado.js.map +1 -1
- package/lib/networks/dev.d.ts +0 -1
- package/lib/networks/dev.d.ts.map +1 -1
- package/lib/networks/dev.js +0 -1
- package/lib/networks/dev.js.map +1 -1
- package/lib/networks/ephemery.d.ts +0 -1
- package/lib/networks/ephemery.d.ts.map +1 -1
- package/lib/networks/ephemery.js +0 -1
- package/lib/networks/ephemery.js.map +1 -1
- package/lib/networks/gnosis.d.ts +0 -1
- package/lib/networks/gnosis.d.ts.map +1 -1
- package/lib/networks/gnosis.js +0 -2
- package/lib/networks/gnosis.js.map +1 -1
- package/lib/networks/hoodi.d.ts +0 -1
- package/lib/networks/hoodi.d.ts.map +1 -1
- package/lib/networks/hoodi.js +0 -1
- package/lib/networks/hoodi.js.map +1 -1
- package/lib/networks/index.d.ts +0 -1
- package/lib/networks/index.d.ts.map +1 -1
- package/lib/networks/index.js.map +1 -1
- package/lib/networks/mainnet.d.ts +0 -1
- package/lib/networks/mainnet.d.ts.map +1 -1
- package/lib/networks/mainnet.js +0 -1
- package/lib/networks/mainnet.js.map +1 -1
- package/lib/networks/sepolia.d.ts +0 -1
- package/lib/networks/sepolia.d.ts.map +1 -1
- package/lib/networks/sepolia.js +0 -1
- package/lib/networks/sepolia.js.map +1 -1
- package/lib/options/beaconNodeOptions/eth1.d.ts +12 -3
- package/lib/options/beaconNodeOptions/eth1.d.ts.map +1 -1
- package/lib/options/beaconNodeOptions/eth1.js +11 -32
- package/lib/options/beaconNodeOptions/eth1.js.map +1 -1
- package/lib/options/beaconNodeOptions/index.d.ts.map +1 -1
- package/lib/options/beaconNodeOptions/index.js +0 -1
- package/lib/options/beaconNodeOptions/index.js.map +1 -1
- package/package.json +14 -14
- package/src/cmds/beacon/handler.ts +3 -11
- package/src/cmds/beacon/initBeaconState.ts +2 -9
- package/src/cmds/beacon/options.ts +1 -1
- package/src/cmds/dev/files.ts +1 -1
- package/src/cmds/dev/handler.ts +1 -1
- package/src/cmds/dev/options.ts +0 -5
- package/src/networks/chiado.ts +0 -2
- package/src/networks/dev.ts +0 -1
- package/src/networks/ephemery.ts +0 -1
- package/src/networks/gnosis.ts +0 -2
- package/src/networks/hoodi.ts +0 -1
- package/src/networks/index.ts +0 -1
- package/src/networks/mainnet.ts +0 -1
- package/src/networks/sepolia.ts +0 -1
- package/src/options/beaconNodeOptions/eth1.ts +20 -37
- package/src/options/beaconNodeOptions/index.ts +0 -1
package/lib/networks/sepolia.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { sepoliaChainConfig as chainConfig } from "@lodestar/config/networks";
|
|
2
|
-
export const depositContractDeployBlock = 1273020;
|
|
3
2
|
export const genesisFileUrl = "https://github.com/eth-clients/sepolia/raw/main/metadata/genesis.ssz";
|
|
4
3
|
export const genesisStateRoot = "0xfb9afe32150fa39f4b346be2519a67e2a4f5efcd50a1dc192c3f6b3d013d2798";
|
|
5
4
|
export const bootnodesFileUrl = "https://raw.githubusercontent.com/eth-clients/sepolia/main/metadata/bootstrap_nodes.yaml";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sepolia.js","sourceRoot":"","sources":["../../src/networks/sepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,IAAI,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAE5E,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"sepolia.js","sourceRoot":"","sources":["../../src/networks/sepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,IAAI,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAE5E,MAAM,CAAC,MAAM,cAAc,GAAG,sEAAsE,CAAC;AACrG,MAAM,CAAC,MAAM,gBAAgB,GAAG,oEAAoE,CAAC;AACrG,MAAM,CAAC,MAAM,gBAAgB,GAC3B,0FAA0F,CAAC;AAE7F,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,kOAAkO;IAClO,6OAA6O;IAC7O,6OAA6O;IAC7O,6OAA6O;IAC7O,6OAA6O;IAC7O,6OAA6O;IAC7O,gOAAgO;CACjO,CAAC"}
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
import { IBeaconNodeOptions } from "@lodestar/beacon-node";
|
|
2
1
|
import { CliCommandOptions } from "@lodestar/utils";
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated These options are no longer used since eth1 deposit tracking was removed.
|
|
4
|
+
*/
|
|
4
5
|
export type Eth1Args = {
|
|
6
|
+
/** @deprecated */
|
|
5
7
|
eth1?: boolean;
|
|
8
|
+
/** @deprecated */
|
|
6
9
|
"eth1.providerUrls"?: string[];
|
|
10
|
+
/** @deprecated */
|
|
7
11
|
"eth1.depositContractDeployBlock"?: number;
|
|
12
|
+
/** @deprecated */
|
|
8
13
|
"eth1.disableEth1DepositDataTracker"?: boolean;
|
|
14
|
+
/** @deprecated */
|
|
9
15
|
"eth1.unsafeAllowDepositDataOverwrite"?: boolean;
|
|
16
|
+
/** @deprecated */
|
|
10
17
|
"eth1.forcedEth1DataVote"?: string;
|
|
11
18
|
};
|
|
12
|
-
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated These options are no longer used since eth1 deposit tracking was removed.
|
|
21
|
+
*/
|
|
13
22
|
export declare const options: CliCommandOptions<Eth1Args>;
|
|
14
23
|
//# sourceMappingURL=eth1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eth1.d.ts","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/eth1.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eth1.d.ts","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/eth1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,kBAAkB;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kBAAkB;IAClB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,kBAAkB;IAClB,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAC3C,kBAAkB;IAClB,oCAAoC,CAAC,EAAE,OAAO,CAAC;IAC/C,kBAAkB;IAClB,sCAAsC,CAAC,EAAE,OAAO,CAAC;IACjD,kBAAkB;IAClB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,QAAQ,CAsD/C,CAAC"}
|
|
@@ -1,40 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export function parseArgs(args) {
|
|
5
|
-
let jwtSecretHex;
|
|
6
|
-
let jwtId;
|
|
7
|
-
let providerUrls = args["eth1.providerUrls"];
|
|
8
|
-
// If no providerUrls are explicitly provided, we should pick the execution endpoint
|
|
9
|
-
// because as per Kiln spec v2.1, execution *must* host the `eth_` methods necessary
|
|
10
|
-
// for deposit and merge trackers on engine endpoints as well protected by a
|
|
11
|
-
// jwt auth mechanism.
|
|
12
|
-
if (providerUrls === undefined && args["execution.urls"]) {
|
|
13
|
-
providerUrls = args["execution.urls"];
|
|
14
|
-
jwtSecretHex = args.jwtSecret ? extractJwtHexSecret(fs.readFileSync(args.jwtSecret, "utf-8").trim()) : undefined;
|
|
15
|
-
jwtId = args.jwtId;
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
enabled: args.eth1,
|
|
19
|
-
providerUrls,
|
|
20
|
-
jwtSecretHex,
|
|
21
|
-
jwtId,
|
|
22
|
-
depositContractDeployBlock: args["eth1.depositContractDeployBlock"],
|
|
23
|
-
disableEth1DepositDataTracker: args["eth1.disableEth1DepositDataTracker"],
|
|
24
|
-
unsafeAllowDepositDataOverwrite: args["eth1.unsafeAllowDepositDataOverwrite"],
|
|
25
|
-
forcedEth1DataVote: args["eth1.forcedEth1DataVote"],
|
|
26
|
-
};
|
|
27
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated These options are no longer used since eth1 deposit tracking was removed.
|
|
3
|
+
*/
|
|
28
4
|
export const options = {
|
|
29
5
|
eth1: {
|
|
6
|
+
hidden: true,
|
|
7
|
+
deprecated: true,
|
|
30
8
|
description: "Whether to follow the eth1 chain",
|
|
31
9
|
type: "boolean",
|
|
32
|
-
defaultDescription: String(defaultOptions.eth1.enabled),
|
|
33
10
|
group: "eth1",
|
|
34
11
|
},
|
|
35
12
|
"eth1.providerUrls": {
|
|
13
|
+
hidden: true,
|
|
14
|
+
deprecated: true,
|
|
36
15
|
description: "Urls to Eth1 node with enabled rpc. If not explicitly provided and execution endpoint provided via execution.urls, it will use execution.urls. Otherwise will try connecting on the specified default(s)",
|
|
37
|
-
defaultDescription: defaultOptions.eth1.providerUrls?.join(","),
|
|
38
16
|
type: "array",
|
|
39
17
|
string: true,
|
|
40
18
|
coerce: (urls) =>
|
|
@@ -44,27 +22,28 @@ export const options = {
|
|
|
44
22
|
},
|
|
45
23
|
"eth1.depositContractDeployBlock": {
|
|
46
24
|
hidden: true,
|
|
25
|
+
deprecated: true,
|
|
47
26
|
description: "Block number at which the deposit contract contract was deployed",
|
|
48
27
|
type: "number",
|
|
49
|
-
defaultDescription: String(defaultOptions.eth1.depositContractDeployBlock),
|
|
50
28
|
group: "eth1",
|
|
51
29
|
},
|
|
52
30
|
"eth1.disableEth1DepositDataTracker": {
|
|
53
31
|
hidden: true,
|
|
32
|
+
deprecated: true,
|
|
54
33
|
description: "Disable Eth1DepositDataTracker modules",
|
|
55
34
|
type: "boolean",
|
|
56
|
-
defaultDescription: String(defaultOptions.eth1.disableEth1DepositDataTracker),
|
|
57
35
|
group: "eth1",
|
|
58
36
|
},
|
|
59
37
|
"eth1.unsafeAllowDepositDataOverwrite": {
|
|
60
38
|
hidden: true,
|
|
39
|
+
deprecated: true,
|
|
61
40
|
description: "Allow the deposit tracker to overwrite previously fetched and saved deposit event data. Warning!!! This is an unsafe operation, so enable this flag only if you know what you are doing.",
|
|
62
41
|
type: "boolean",
|
|
63
|
-
defaultDescription: String(defaultOptions.eth1.unsafeAllowDepositDataOverwrite),
|
|
64
42
|
group: "eth1",
|
|
65
43
|
},
|
|
66
44
|
"eth1.forcedEth1DataVote": {
|
|
67
45
|
hidden: true,
|
|
46
|
+
deprecated: true,
|
|
68
47
|
description: "Vote for a specific eth1_data regardless of all conditions. Hex encoded ssz serialized Eth1Data type",
|
|
69
48
|
type: "string",
|
|
70
49
|
group: "eth1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eth1.js","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/eth1.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eth1.js","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/eth1.ts"],"names":[],"mappings":"AAoBA;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAgC;IAClD,IAAI,EAAE;QACJ,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,kCAAkC;QAC/C,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,MAAM;KACd;IAED,mBAAmB,EAAE;QACnB,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,WAAW,EACT,0MAA0M;QAC5M,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,CAAC,IAAc,EAAY,EAAE;QACnC,0CAA0C;QAC1C,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACzC,KAAK,EAAE,MAAM;KACd;IAED,iCAAiC,EAAE;QACjC,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,kEAAkE;QAC/E,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;KACd;IAED,oCAAoC,EAAE;QACpC,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,MAAM;KACd;IAED,sCAAsC,EAAE;QACtC,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,WAAW,EACT,0LAA0L;QAC5L,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,MAAM;KACd;IAED,yBAAyB,EAAE;QACzB,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,sGAAsG;QACnH,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;KACd;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,OAAO,GACtC,KAAK,CAAC,SAAS,GACf,IAAI,CAAC,QAAQ,GACb,SAAS,CAAC,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,GAC5B,OAAO,CAAC,WAAW,GACnB,UAAU,CAAC,cAAc,GACzB,OAAO,CAAC,WAAW,GACnB,IAAI,CAAC,QAAQ,CAAC;AAEhB,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,OAAO,GACtC,KAAK,CAAC,SAAS,GACf,IAAI,CAAC,QAAQ,GACb,SAAS,CAAC,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,GAC5B,OAAO,CAAC,WAAW,GACnB,UAAU,CAAC,cAAc,GACzB,OAAO,CAAC,WAAW,GACnB,IAAI,CAAC,QAAQ,CAAC;AAEhB,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,CAa9F;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC"}
|
|
@@ -14,7 +14,6 @@ export function parseBeaconNodeArgs(args) {
|
|
|
14
14
|
api: api.parseArgs(args),
|
|
15
15
|
chain: chain.parseArgs(args),
|
|
16
16
|
// db: {},
|
|
17
|
-
eth1: eth1.parseArgs(args),
|
|
18
17
|
executionEngine: execution.parseArgs(args),
|
|
19
18
|
executionBuilder: builder.parseArgs(args),
|
|
20
19
|
metrics: metrics.parseArgs(args),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAYlC,MAAM,UAAU,mBAAmB,CAAC,IAAoB;IACtD,iFAAiF;IACjF,OAAO,wBAAwB,CAAC;QAC9B,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC;QAC5B,UAAU;QACV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/options/beaconNodeOptions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAYlC,MAAM,UAAU,mBAAmB,CAAC,IAAoB;IACtD,iFAAiF;IACjF,OAAO,wBAAwB,CAAC;QAC9B,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC;QAC5B,UAAU;QACV,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;QAC1C,gBAAgB,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;QACzC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;QAChC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC;QACtC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;QAChC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC3B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,GAAG,CAAC,OAAO;IACd,GAAG,KAAK,CAAC,OAAO;IAChB,GAAG,IAAI,CAAC,OAAO;IACf,GAAG,SAAS,CAAC,OAAO;IACpB,GAAG,OAAO,CAAC,OAAO;IAClB,GAAG,OAAO,CAAC,OAAO;IAClB,GAAG,UAAU,CAAC,OAAO;IACrB,GAAG,OAAO,CAAC,OAAO;IAClB,GAAG,IAAI,CAAC,OAAO;CAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainsafe/lodestar",
|
|
3
|
-
"version": "1.39.0-dev.
|
|
3
|
+
"version": "1.39.0-dev.c151a164f2",
|
|
4
4
|
"description": "Command line interface for lodestar",
|
|
5
5
|
"author": "ChainSafe Systems",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -69,17 +69,17 @@
|
|
|
69
69
|
"@libp2p/crypto": "^5.0.15",
|
|
70
70
|
"@libp2p/interface": "^2.7.0",
|
|
71
71
|
"@libp2p/peer-id": "^5.1.0",
|
|
72
|
-
"@lodestar/api": "1.39.0-dev.
|
|
73
|
-
"@lodestar/beacon-node": "1.39.0-dev.
|
|
74
|
-
"@lodestar/config": "1.39.0-dev.
|
|
75
|
-
"@lodestar/db": "1.39.0-dev.
|
|
76
|
-
"@lodestar/light-client": "1.39.0-dev.
|
|
77
|
-
"@lodestar/logger": "1.39.0-dev.
|
|
78
|
-
"@lodestar/params": "1.39.0-dev.
|
|
79
|
-
"@lodestar/state-transition": "1.39.0-dev.
|
|
80
|
-
"@lodestar/types": "1.39.0-dev.
|
|
81
|
-
"@lodestar/utils": "1.39.0-dev.
|
|
82
|
-
"@lodestar/validator": "1.39.0-dev.
|
|
72
|
+
"@lodestar/api": "1.39.0-dev.c151a164f2",
|
|
73
|
+
"@lodestar/beacon-node": "1.39.0-dev.c151a164f2",
|
|
74
|
+
"@lodestar/config": "1.39.0-dev.c151a164f2",
|
|
75
|
+
"@lodestar/db": "1.39.0-dev.c151a164f2",
|
|
76
|
+
"@lodestar/light-client": "1.39.0-dev.c151a164f2",
|
|
77
|
+
"@lodestar/logger": "1.39.0-dev.c151a164f2",
|
|
78
|
+
"@lodestar/params": "1.39.0-dev.c151a164f2",
|
|
79
|
+
"@lodestar/state-transition": "1.39.0-dev.c151a164f2",
|
|
80
|
+
"@lodestar/types": "1.39.0-dev.c151a164f2",
|
|
81
|
+
"@lodestar/utils": "1.39.0-dev.c151a164f2",
|
|
82
|
+
"@lodestar/validator": "1.39.0-dev.c151a164f2",
|
|
83
83
|
"@multiformats/multiaddr": "^12.1.3",
|
|
84
84
|
"deepmerge": "^4.3.1",
|
|
85
85
|
"ethers": "^6.7.0",
|
|
@@ -94,12 +94,12 @@
|
|
|
94
94
|
"yargs": "^17.7.1"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@lodestar/test-utils": "1.39.0-dev.
|
|
97
|
+
"@lodestar/test-utils": "1.39.0-dev.c151a164f2",
|
|
98
98
|
"@types/debug": "^4.1.7",
|
|
99
99
|
"@types/inquirer": "^9.0.3",
|
|
100
100
|
"@types/proper-lockfile": "^4.1.4",
|
|
101
101
|
"@types/yargs": "^17.0.24",
|
|
102
102
|
"fastify": "^5.2.1"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "754677d50463b1608d590c4d1b10076b3000655c"
|
|
105
105
|
}
|
|
@@ -10,7 +10,7 @@ import {ACTIVE_PRESET, PresetName} from "@lodestar/params";
|
|
|
10
10
|
import {ErrorAborted, bytesToInt, formatBytes} from "@lodestar/utils";
|
|
11
11
|
import {ProcessShutdownCallback} from "@lodestar/validator";
|
|
12
12
|
import {BeaconNodeOptions, getBeaconConfigFromArgs} from "../../config/index.js";
|
|
13
|
-
import {getNetworkBootnodes,
|
|
13
|
+
import {getNetworkBootnodes, isKnownNetworkName, readBootnodes} from "../../networks/index.js";
|
|
14
14
|
import {GlobalArgs, parseBeaconNodeArgs} from "../../options/index.js";
|
|
15
15
|
import {LogArgs} from "../../options/logOptions.js";
|
|
16
16
|
import {
|
|
@@ -71,13 +71,11 @@ export async function beaconHandler(args: BeaconArgs & GlobalArgs): Promise<void
|
|
|
71
71
|
// BeaconNode setup
|
|
72
72
|
try {
|
|
73
73
|
const {anchorState, isFinalized, wsCheckpoint} = await initBeaconState(
|
|
74
|
-
options,
|
|
75
74
|
args,
|
|
76
75
|
beaconPaths.dataDir,
|
|
77
76
|
config,
|
|
78
77
|
db,
|
|
79
|
-
logger
|
|
80
|
-
abortController.signal
|
|
78
|
+
logger
|
|
81
79
|
);
|
|
82
80
|
const beaconConfig = createBeaconConfig(config, anchorState.genesisValidatorsRoot);
|
|
83
81
|
const node = await BeaconNode.init({
|
|
@@ -189,12 +187,6 @@ export async function beaconHandlerInit(args: BeaconArgs & GlobalArgs) {
|
|
|
189
187
|
// Add detailed version string for API node/version endpoint
|
|
190
188
|
beaconNodeOptions.set({api: {commit, version}});
|
|
191
189
|
|
|
192
|
-
// Set known depositContractDeployBlock
|
|
193
|
-
if (isKnownNetworkName(network)) {
|
|
194
|
-
const {depositContractDeployBlock} = getNetworkData(network);
|
|
195
|
-
beaconNodeOptions.set({eth1: {depositContractDeployBlock}});
|
|
196
|
-
}
|
|
197
|
-
|
|
198
190
|
const logger = initLogger(args, beaconPaths.dataDir, config);
|
|
199
191
|
const {privateKey, enr} = await initPrivateKeyAndEnr(args, beaconPaths.beaconDir, logger);
|
|
200
192
|
|
|
@@ -226,7 +218,7 @@ export async function beaconHandlerInit(args: BeaconArgs & GlobalArgs) {
|
|
|
226
218
|
// Add User-Agent header to all builder requests
|
|
227
219
|
beaconNodeOptions.set({executionBuilder: {userAgent: versionStr}});
|
|
228
220
|
// Set jwt version with version string
|
|
229
|
-
beaconNodeOptions.set({executionEngine: {jwtVersion: versionStr}
|
|
221
|
+
beaconNodeOptions.set({executionEngine: {jwtVersion: versionStr}});
|
|
230
222
|
// Set commit and version for ClientVersion
|
|
231
223
|
beaconNodeOptions.set({executionEngine: {commit, version}});
|
|
232
224
|
}
|
|
@@ -2,10 +2,8 @@ import {
|
|
|
2
2
|
DbCPStateDatastore,
|
|
3
3
|
FileCPStateDatastore,
|
|
4
4
|
IBeaconDb,
|
|
5
|
-
IBeaconNodeOptions,
|
|
6
5
|
checkAndPersistAnchorState,
|
|
7
6
|
getStateTypeFromBytes,
|
|
8
|
-
initStateFromEth1,
|
|
9
7
|
} from "@lodestar/beacon-node";
|
|
10
8
|
import {BeaconConfig, ChainForkConfig, createBeaconConfig} from "@lodestar/config";
|
|
11
9
|
import {
|
|
@@ -94,20 +92,17 @@ async function initAndVerifyWeakSubjectivityState(
|
|
|
94
92
|
* 1. restore from weak subjectivity state (possibly downloaded from a remote beacon node)
|
|
95
93
|
* 2. restore from db
|
|
96
94
|
* 3. restore from genesis state (possibly downloaded via URL)
|
|
97
|
-
* 4. create genesis state from eth1
|
|
98
95
|
*
|
|
99
96
|
* The returned anchorState could be finalized or not.
|
|
100
97
|
* - if we load from checkpointState, checkpointSyncUrl, genesisStateFile or archived db, it is finalized
|
|
101
98
|
* - it's not finalized if we load from unsafeCheckpointState or lastPersistedCheckpointState
|
|
102
99
|
*/
|
|
103
100
|
export async function initBeaconState(
|
|
104
|
-
options: IBeaconNodeOptions,
|
|
105
101
|
args: BeaconArgs & GlobalArgs,
|
|
106
102
|
dataDir: string,
|
|
107
103
|
chainForkConfig: ChainForkConfig,
|
|
108
104
|
db: IBeaconDb,
|
|
109
|
-
logger: Logger
|
|
110
|
-
signal: AbortSignal
|
|
105
|
+
logger: Logger
|
|
111
106
|
): Promise<{anchorState: BeaconStateAllForks; isFinalized: boolean; wsCheckpoint?: Checkpoint}> {
|
|
112
107
|
if (args.forceCheckpointSync && !(args.checkpointState || args.checkpointSyncUrl || args.unsafeCheckpointState)) {
|
|
113
108
|
throw new Error("Forced checkpoint sync without specifying a checkpointState or checkpointSyncUrl");
|
|
@@ -333,9 +328,7 @@ export async function initBeaconState(
|
|
|
333
328
|
return {anchorState, isFinalized};
|
|
334
329
|
}
|
|
335
330
|
|
|
336
|
-
|
|
337
|
-
const anchorState = await initStateFromEth1({config: chainForkConfig, db, logger, opts: options.eth1, signal});
|
|
338
|
-
return {anchorState, isFinalized: true};
|
|
331
|
+
throw Error("Failed to initialize beacon state, please provide a genesis state file or use checkpoint sync");
|
|
339
332
|
}
|
|
340
333
|
|
|
341
334
|
async function readWSState(
|
|
@@ -150,7 +150,7 @@ export const beaconExtraOptions: CliCommandOptions<BeaconExtraArgs> = {
|
|
|
150
150
|
|
|
151
151
|
private: {
|
|
152
152
|
description:
|
|
153
|
-
"Do not send implementation details over p2p identify protocol and in builder
|
|
153
|
+
"Do not send implementation details over p2p identify protocol, and in builder and execution engine requests",
|
|
154
154
|
type: "boolean",
|
|
155
155
|
},
|
|
156
156
|
|
package/src/cmds/dev/files.ts
CHANGED
|
@@ -15,7 +15,7 @@ export async function writeTestnetFiles(
|
|
|
15
15
|
const genesisTime = Math.floor(Date.now() / 1000);
|
|
16
16
|
const eth1BlockHash = Buffer.alloc(32, 0);
|
|
17
17
|
|
|
18
|
-
const
|
|
18
|
+
const state = nodeUtils.initDevState(config, genesisValidators, {genesisTime, eth1BlockHash});
|
|
19
19
|
|
|
20
20
|
// Write testnet data
|
|
21
21
|
fs.mkdirSync(targetDir, {recursive: true});
|
package/src/cmds/dev/handler.ts
CHANGED
|
@@ -60,7 +60,7 @@ export async function devHandler(args: IDevArgs & GlobalArgs): Promise<void> {
|
|
|
60
60
|
const genesisTime = args.genesisTime ?? Math.floor(Date.now() / 1000) + 5;
|
|
61
61
|
const eth1BlockHash = fromHex(args.genesisEth1Hash ?? toHex(Buffer.alloc(32, 0x0b)));
|
|
62
62
|
|
|
63
|
-
const
|
|
63
|
+
const state = nodeUtils.initDevState(config, validatorCount, {genesisTime, eth1BlockHash});
|
|
64
64
|
|
|
65
65
|
args.genesisStateFile = "genesis.ssz";
|
|
66
66
|
fs.writeFileSync(args.genesisStateFile, state.serialize());
|
package/src/cmds/dev/options.ts
CHANGED
|
@@ -80,11 +80,6 @@ const externalOptionsOverrides: Partial<Record<"network" | keyof typeof beaconNo
|
|
|
80
80
|
defaultDescription: undefined,
|
|
81
81
|
default: true,
|
|
82
82
|
},
|
|
83
|
-
eth1: {
|
|
84
|
-
...beaconNodeOptions.eth1,
|
|
85
|
-
defaultDescription: undefined,
|
|
86
|
-
default: false,
|
|
87
|
-
},
|
|
88
83
|
rest: {
|
|
89
84
|
...beaconNodeOptions.rest,
|
|
90
85
|
defaultDescription: undefined,
|
package/src/networks/chiado.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export {chiadoChainConfig as chainConfig} from "@lodestar/config/networks";
|
|
2
2
|
|
|
3
|
-
// eth1.providerUrls suggestion: https://rpc.chiado.gnosis.gateway.fm
|
|
4
|
-
export const depositContractDeployBlock = 155435;
|
|
5
3
|
export const genesisFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/chiado/genesis.ssz";
|
|
6
4
|
export const genesisStateRoot = "0xa48419160f8f146ecaa53d12a5d6e1e6af414a328afdc56b60d5002bb472a077";
|
|
7
5
|
export const bootnodesFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/chiado/bootnodes.yaml";
|
package/src/networks/dev.ts
CHANGED
package/src/networks/ephemery.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export {ephemeryChainConfig as chainConfig} from "@lodestar/config/networks";
|
|
2
2
|
|
|
3
|
-
export const depositContractDeployBlock = 0;
|
|
4
3
|
export const genesisFileUrl = "https://ephemery.dev/latest/genesis.ssz";
|
|
5
4
|
export const genesisStateRoot = null;
|
|
6
5
|
export const bootnodesFileUrl = "https://ephemery.dev/latest/bootstrap_nodes.txt";
|
package/src/networks/gnosis.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export {gnosisChainConfig as chainConfig} from "@lodestar/config/networks";
|
|
2
2
|
|
|
3
|
-
// eth1.providerUrls suggestion: https://rpc.gnosischain.com
|
|
4
|
-
export const depositContractDeployBlock = 19469077;
|
|
5
3
|
export const genesisFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/mainnet/genesis.ssz";
|
|
6
4
|
export const genesisStateRoot = "0x1511578d6de70428bf3529ab92102f21070694cb205443437fae359a7f220537";
|
|
7
5
|
export const bootnodesFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/mainnet/bootnodes.yaml";
|
package/src/networks/hoodi.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export {hoodiChainConfig as chainConfig} from "@lodestar/config/networks";
|
|
2
2
|
|
|
3
|
-
export const depositContractDeployBlock = 0;
|
|
4
3
|
export const genesisFileUrl = "https://media.githubusercontent.com/media/eth-clients/hoodi/main/metadata/genesis.ssz";
|
|
5
4
|
export const genesisStateRoot = "0x2683ebc120f91f740c7bed4c866672d01e1ba51b4cc360297138465ee5df40f0";
|
|
6
5
|
export const bootnodesFileUrl =
|
package/src/networks/index.ts
CHANGED
|
@@ -49,7 +49,6 @@ const GET_STATE_LOG_INTERVAL = 30 * 1000;
|
|
|
49
49
|
|
|
50
50
|
export function getNetworkData(network: NetworkName): {
|
|
51
51
|
chainConfig: ChainConfig;
|
|
52
|
-
depositContractDeployBlock: number;
|
|
53
52
|
genesisFileUrl: string | null;
|
|
54
53
|
genesisStateRoot: string | null;
|
|
55
54
|
bootnodesFileUrl: string | null;
|
package/src/networks/mainnet.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export {mainnetChainConfig as chainConfig} from "@lodestar/config/networks";
|
|
2
2
|
|
|
3
|
-
export const depositContractDeployBlock = 11052984;
|
|
4
3
|
export const genesisFileUrl =
|
|
5
4
|
"https://raw.githubusercontent.com/eth-clients/mainnet/refs/heads/main/metadata/genesis.ssz";
|
|
6
5
|
export const genesisStateRoot = "0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b";
|
package/src/networks/sepolia.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export {sepoliaChainConfig as chainConfig} from "@lodestar/config/networks";
|
|
2
2
|
|
|
3
|
-
export const depositContractDeployBlock = 1273020;
|
|
4
3
|
export const genesisFileUrl = "https://github.com/eth-clients/sepolia/raw/main/metadata/genesis.ssz";
|
|
5
4
|
export const genesisStateRoot = "0xfb9afe32150fa39f4b346be2519a67e2a4f5efcd50a1dc192c3f6b3d013d2798";
|
|
6
5
|
export const bootnodesFileUrl =
|
|
@@ -1,58 +1,40 @@
|
|
|
1
|
-
import fs from "node:fs";
|
|
2
|
-
import {IBeaconNodeOptions, defaultOptions} from "@lodestar/beacon-node";
|
|
3
1
|
import {CliCommandOptions} from "@lodestar/utils";
|
|
4
|
-
import {extractJwtHexSecret} from "../../util/index.js";
|
|
5
|
-
import {ExecutionEngineArgs} from "./execution.js";
|
|
6
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated These options are no longer used since eth1 deposit tracking was removed.
|
|
5
|
+
*/
|
|
7
6
|
export type Eth1Args = {
|
|
7
|
+
/** @deprecated */
|
|
8
8
|
eth1?: boolean;
|
|
9
|
+
/** @deprecated */
|
|
9
10
|
"eth1.providerUrls"?: string[];
|
|
11
|
+
/** @deprecated */
|
|
10
12
|
"eth1.depositContractDeployBlock"?: number;
|
|
13
|
+
/** @deprecated */
|
|
11
14
|
"eth1.disableEth1DepositDataTracker"?: boolean;
|
|
15
|
+
/** @deprecated */
|
|
12
16
|
"eth1.unsafeAllowDepositDataOverwrite"?: boolean;
|
|
17
|
+
/** @deprecated */
|
|
13
18
|
"eth1.forcedEth1DataVote"?: string;
|
|
14
19
|
};
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
let providerUrls = args["eth1.providerUrls"];
|
|
21
|
-
|
|
22
|
-
// If no providerUrls are explicitly provided, we should pick the execution endpoint
|
|
23
|
-
// because as per Kiln spec v2.1, execution *must* host the `eth_` methods necessary
|
|
24
|
-
// for deposit and merge trackers on engine endpoints as well protected by a
|
|
25
|
-
// jwt auth mechanism.
|
|
26
|
-
if (providerUrls === undefined && args["execution.urls"]) {
|
|
27
|
-
providerUrls = args["execution.urls"];
|
|
28
|
-
jwtSecretHex = args.jwtSecret ? extractJwtHexSecret(fs.readFileSync(args.jwtSecret, "utf-8").trim()) : undefined;
|
|
29
|
-
jwtId = args.jwtId;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
return {
|
|
33
|
-
enabled: args.eth1,
|
|
34
|
-
providerUrls,
|
|
35
|
-
jwtSecretHex,
|
|
36
|
-
jwtId,
|
|
37
|
-
depositContractDeployBlock: args["eth1.depositContractDeployBlock"],
|
|
38
|
-
disableEth1DepositDataTracker: args["eth1.disableEth1DepositDataTracker"],
|
|
39
|
-
unsafeAllowDepositDataOverwrite: args["eth1.unsafeAllowDepositDataOverwrite"],
|
|
40
|
-
forcedEth1DataVote: args["eth1.forcedEth1DataVote"],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated These options are no longer used since eth1 deposit tracking was removed.
|
|
23
|
+
*/
|
|
44
24
|
export const options: CliCommandOptions<Eth1Args> = {
|
|
45
25
|
eth1: {
|
|
26
|
+
hidden: true,
|
|
27
|
+
deprecated: true,
|
|
46
28
|
description: "Whether to follow the eth1 chain",
|
|
47
29
|
type: "boolean",
|
|
48
|
-
defaultDescription: String(defaultOptions.eth1.enabled),
|
|
49
30
|
group: "eth1",
|
|
50
31
|
},
|
|
51
32
|
|
|
52
33
|
"eth1.providerUrls": {
|
|
34
|
+
hidden: true,
|
|
35
|
+
deprecated: true,
|
|
53
36
|
description:
|
|
54
37
|
"Urls to Eth1 node with enabled rpc. If not explicitly provided and execution endpoint provided via execution.urls, it will use execution.urls. Otherwise will try connecting on the specified default(s)",
|
|
55
|
-
defaultDescription: defaultOptions.eth1.providerUrls?.join(","),
|
|
56
38
|
type: "array",
|
|
57
39
|
string: true,
|
|
58
40
|
coerce: (urls: string[]): string[] =>
|
|
@@ -63,31 +45,32 @@ export const options: CliCommandOptions<Eth1Args> = {
|
|
|
63
45
|
|
|
64
46
|
"eth1.depositContractDeployBlock": {
|
|
65
47
|
hidden: true,
|
|
48
|
+
deprecated: true,
|
|
66
49
|
description: "Block number at which the deposit contract contract was deployed",
|
|
67
50
|
type: "number",
|
|
68
|
-
defaultDescription: String(defaultOptions.eth1.depositContractDeployBlock),
|
|
69
51
|
group: "eth1",
|
|
70
52
|
},
|
|
71
53
|
|
|
72
54
|
"eth1.disableEth1DepositDataTracker": {
|
|
73
55
|
hidden: true,
|
|
56
|
+
deprecated: true,
|
|
74
57
|
description: "Disable Eth1DepositDataTracker modules",
|
|
75
58
|
type: "boolean",
|
|
76
|
-
defaultDescription: String(defaultOptions.eth1.disableEth1DepositDataTracker),
|
|
77
59
|
group: "eth1",
|
|
78
60
|
},
|
|
79
61
|
|
|
80
62
|
"eth1.unsafeAllowDepositDataOverwrite": {
|
|
81
63
|
hidden: true,
|
|
64
|
+
deprecated: true,
|
|
82
65
|
description:
|
|
83
66
|
"Allow the deposit tracker to overwrite previously fetched and saved deposit event data. Warning!!! This is an unsafe operation, so enable this flag only if you know what you are doing.",
|
|
84
67
|
type: "boolean",
|
|
85
|
-
defaultDescription: String(defaultOptions.eth1.unsafeAllowDepositDataOverwrite),
|
|
86
68
|
group: "eth1",
|
|
87
69
|
},
|
|
88
70
|
|
|
89
71
|
"eth1.forcedEth1DataVote": {
|
|
90
72
|
hidden: true,
|
|
73
|
+
deprecated: true,
|
|
91
74
|
description: "Vote for a specific eth1_data regardless of all conditions. Hex encoded ssz serialized Eth1Data type",
|
|
92
75
|
type: "string",
|
|
93
76
|
group: "eth1",
|
|
@@ -27,7 +27,6 @@ export function parseBeaconNodeArgs(args: BeaconNodeArgs): RecursivePartial<IBea
|
|
|
27
27
|
api: api.parseArgs(args),
|
|
28
28
|
chain: chain.parseArgs(args),
|
|
29
29
|
// db: {},
|
|
30
|
-
eth1: eth1.parseArgs(args),
|
|
31
30
|
executionEngine: execution.parseArgs(args),
|
|
32
31
|
executionBuilder: builder.parseArgs(args),
|
|
33
32
|
metrics: metrics.parseArgs(args),
|