Skip to content

Commit 8e6119d

Browse files
committed
rm holesky support
1 parent 8ea5ed9 commit 8e6119d

File tree

10 files changed

+7
-48
lines changed

10 files changed

+7
-48
lines changed

.gitmodules

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,6 @@
220220
url = https://github.com/arnetheduck/nim-results.git
221221
ignore = untracked
222222
branch = master
223-
[submodule "vendor/holesky"]
224-
path = vendor/holesky
225-
url = https://github.com/eth-clients/holesky
226-
ignore = untracked
227-
branch = main
228223
[submodule "vendor/nim-minilru"]
229224
path = vendor/nim-minilru
230225
url = https://github.com/status-im/nim-minilru.git

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ ifneq ($(OS), Windows_NT)
111111
PLATFORM_SPECIFIC_TARGETS += gnosis-build
112112
endif
113113

114-
# We don't need these `vendor/holesky` and `vendor/hoodi` files but
114+
# We don't need these `vendor/hoodi` files but
115115
# fetching them may trigger 'This repository is over its data quota' from GitHub
116116
#
117117
# MSYS_NO_PATHCONV=1: On Windows MSYS2, 1st path gets mangled without this flag!
@@ -125,7 +125,7 @@ ifeq ($(NIM_PARAMS),)
125125
# with Ctrl+C after deleting the working copy and before getting a chance to
126126
# restore it in $(BUILD_SYSTEM_DIR).
127127

128-
# `vendor/holesky` and `vendor/hoodi` require Git LFS
128+
# `vendor/hoodi` requires Git LFS
129129
ifeq (, $(shell which git-lfs))
130130
ifeq ($(shell uname), Darwin)
131131
$(error Git LFS not installed. Run 'brew install git-lfs' to set up)

beacon_chain/conf.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ proc shortNetworkName*(eth2Network: Option[string]): string =
11761176
# network that can be used for directories etc.
11771177
if eth2Network.isSome() and
11781178
eth2Network.get() in
1179-
["mainnet", "minimal", "gnosis", "chiado", "hoodi", "holesky", "sepolia"]:
1179+
["mainnet", "minimal", "gnosis", "chiado", "hoodi", "sepolia"]:
11801180
eth2Network.get()
11811181
else:
11821182
eth2Network.loadEth2Network().cfg.name()

beacon_chain/el/el_manager.nim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,6 @@ proc checkChainIdWithSingleEL(
11441144
expectedChain = case m.eth1Network.get
11451145
of mainnet: 1.u256
11461146
of sepolia: 11155111.u256
1147-
of holesky: 17000.u256
11481147
of hoodi: 560048.u256
11491148
if expectedChain != providerChain:
11501149
warn "The specified EL client is connected to a different chain",

beacon_chain/networking/network_metadata.nim

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ type
4343
Eth1Network* = enum
4444
mainnet
4545
sepolia
46-
holesky
4746
hoodi
4847

4948
GenesisMetadataKind* = enum
@@ -289,13 +288,6 @@ elif IsMainnetSupported:
289288
Opt.some sepolia,
290289
useBakedInGenesis = Opt.some "sepolia")
291290

292-
holeskyMetadata = loadCompileTimeNetworkMetadata(
293-
vendorDir & "/holesky/metadata",
294-
Opt.some holesky,
295-
downloadGenesisFrom = Opt.some DownloadInfo(
296-
url: "https://github.com/status-im/nimbus-eth2/releases/download/v23.9.1/holesky-genesis.ssz.sz",
297-
digest: Eth2Digest.fromHex "0x0ea3f6f9515823b59c863454675fefcd1d8b4f2dbe454db166206a41fda060a0"))
298-
299291
# File can be reproduced by `cd vendor/hoodi`, then `git lfs install` and
300292
# `git lfs pull`, and then from repo root:
301293
#
@@ -325,15 +317,15 @@ elif IsMainnetSupported:
325317

326318
static:
327319
for network in [
328-
mainnetMetadata, sepoliaMetadata, holeskyMetadata, hoodiMetadata]:
320+
mainnetMetadata, sepoliaMetadata, hoodiMetadata]:
329321
checkForkConsistency(network.cfg)
330322
doAssert network.cfg.GLOAS_FORK_EPOCH == FAR_FUTURE_EPOCH
331323
doAssert ConsensusFork.high == ConsensusFork.Gloas
332324

333325
doAssert mainnetMetadata.cfg.FULU_FORK_EPOCH == FAR_FUTURE_EPOCH
334326
doAssert mainnetMetadata.cfg.BLOB_SCHEDULE.len == 0
335327

336-
for network in [sepoliaMetadata, holeskyMetadata, hoodiMetadata]:
328+
for network in [sepoliaMetadata, hoodiMetadata]:
337329
doAssert network.cfg.FULU_FORK_EPOCH < FAR_FUTURE_EPOCH
338330
doAssert network.cfg.BLOB_SCHEDULE.len == 2
339331

@@ -379,8 +371,6 @@ proc getMetadataForNetwork*(networkName: string): Eth2NetworkMetadata =
379371
mainnetMetadata
380372
of "hoodi":
381373
hoodiMetadata
382-
of "holesky":
383-
holeskyMetadata
384374
of "sepolia":
385375
sepoliaMetadata
386376
else:

beacon_chain/networking/network_metadata_downloads.nim

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
66
# at your option. This file may not be copied, modified, or distributed except according to those terms.
77

8-
{.push raises: [].}
8+
{.push raises: [], gcsafe.}
99

1010
import
1111
std/uri,
@@ -77,12 +77,6 @@ proc sourceDesc*(metadata: GenesisMetadata): string =
7777
metadata.path
7878

7979
when isMainModule:
80-
let holeskyMetadata = getMetadataForNetwork("holesky")
81-
io2.writeFile(
82-
"holesky-genesis.ssz",
83-
waitFor holeskyMetadata.fetchGenesisBytes()
84-
).expect("success")
85-
8680
let hoodiMetadata = getMetadataForNetwork("hoodi")
8781
io2.writeFile(
8882
"hoodi-genesis.ssz",

beacon_chain/validators/block_payloads.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ proc makeBuilderBlock*(
493493
func isExcludedTestnet(cfg: RuntimeConfig): bool =
494494
## Ensure that builder API testing can still occur in certain circumstances.
495495
cfg.DEPOSIT_CHAIN_ID == cfg.DEPOSIT_NETWORK_ID and
496-
cfg.DEPOSIT_CHAIN_ID in [17000'u64, 560048] # Holesky and Hoodi, respectively
496+
cfg.DEPOSIT_CHAIN_ID == 560048'u64 # Hoodi
497497

498498
proc collectBids*(
499499
node: BeaconNode,

docs/the_nimbus_book/src/rest-api.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ You can make requests as follows (here we are requesting the version the Nimbus
3636
curl -X GET http://unstable.hoodi.beacon-api.nimbus.team/eth/v1/node/version
3737
```
3838

39-
=== "Holesky unstable branch"
40-
```
41-
curl -X GET http://unstable.holesky.beacon-api.nimbus.team/eth/v1/node/version
42-
```
43-
4439
=== "Sepolia unstable branch"
4540
```
4641
curl -X GET http://unstable.sepolia.beacon-api.nimbus.team/eth/v1/node/version

run-holesky-beacon-node.sh

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

vendor/holesky

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

0 commit comments

Comments
 (0)