Skip to content

Commit d2553b3

Browse files
committed
Delete Kiln and Ropsten configs (#4038)
## Proposed Changes Remove built-in support for Ropsten and Kiln via the `--network` flag. Both testnets are long dead and deprecated. This shaves about 30MiB off the binary size, from 135MiB to 103MiB (maxperf), or 165MiB to 135MiB (release).
1 parent da59308 commit d2553b3

File tree

11 files changed

+7
-176
lines changed

11 files changed

+7
-176
lines changed

book/src/database-migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Several conditions need to be met in order to run `lighthouse db`:
116116
2. The command must run as the user that owns the beacon node database. If you are using systemd then
117117
your beacon node might run as a user called `lighthousebeacon`.
118118
3. The `--datadir` flag must be set to the location of the Lighthouse data directory.
119-
4. The `--network` flag must be set to the correct network, e.g. `mainnet`, `prater` or `ropsten`.
119+
4. The `--network` flag must be set to the correct network, e.g. `mainnet`, `prater` or `sepolia`.
120120

121121
The general form for a `lighthouse db` command is:
122122

common/eth2_config/src/lib.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -278,26 +278,6 @@ define_hardcoded_nets!(
278278
// directory.
279279
GENESIS_STATE_IS_KNOWN
280280
),
281-
(
282-
// Network name (must be unique among all networks).
283-
kiln,
284-
// The name of the directory in the `eth2_network_config/built_in_network_configs`
285-
// directory where the configuration files are located for this network.
286-
"kiln",
287-
// Set to `true` if the genesis state can be found in the `built_in_network_configs`
288-
// directory.
289-
GENESIS_STATE_IS_KNOWN
290-
),
291-
(
292-
// Network name (must be unique among all networks).
293-
ropsten,
294-
// The name of the directory in the `eth2_network_config/built_in_network_configs`
295-
// directory where the configuration files are located for this network.
296-
"ropsten",
297-
// Set to `true` if the genesis state can be found in the `built_in_network_configs`
298-
// directory.
299-
GENESIS_STATE_IS_KNOWN
300-
),
301281
(
302282
// Network name (must be unique among all networks).
303283
sepolia,

common/eth2_network_config/built_in_network_configs/kiln/boot_enr.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

common/eth2_network_config/built_in_network_configs/kiln/config.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

common/eth2_network_config/built_in_network_configs/kiln/deploy_block.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

common/eth2_network_config/built_in_network_configs/ropsten/boot_enr.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

common/eth2_network_config/built_in_network_configs/ropsten/config.yaml

Lines changed: 0 additions & 71 deletions
This file was deleted.

common/eth2_network_config/built_in_network_configs/ropsten/deploy_block.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)