Skip to content

Commit

Permalink
update Holesky and Sepolia Electra fork epochs (#6908)
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec authored Feb 9, 2025
1 parent 3ec8700 commit 146e4eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions beacon_chain/networking/network_metadata.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# beacon_chain
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Copyright (c) 2018-2025 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand Down Expand Up @@ -340,9 +340,13 @@ elif const_preset == "mainnet":
for network in [mainnetMetadata, sepoliaMetadata, holeskyMetadata]:
checkForkConsistency(network.cfg)

for network in [sepoliaMetadata, holeskyMetadata]:
doAssert network.cfg.ELECTRA_FORK_EPOCH < FAR_FUTURE_EPOCH

doAssert mainnetMetadata.cfg.DENEB_FORK_EPOCH < FAR_FUTURE_EPOCH
doAssert mainnetMetadata.cfg.ELECTRA_FORK_EPOCH == FAR_FUTURE_EPOCH

for network in [mainnetMetadata, sepoliaMetadata, holeskyMetadata]:
doAssert network.cfg.DENEB_FORK_EPOCH < FAR_FUTURE_EPOCH
doAssert network.cfg.ELECTRA_FORK_EPOCH == FAR_FUTURE_EPOCH
doAssert network.cfg.FULU_FORK_EPOCH == FAR_FUTURE_EPOCH
doAssert ConsensusFork.high == ConsensusFork.Fulu

Expand Down
2 changes: 1 addition & 1 deletion vendor/holesky
Submodule holesky updated 1 files
+4 −0 metadata/config.yaml
2 changes: 1 addition & 1 deletion vendor/sepolia
Submodule sepolia updated 1 files
+4 −0 metadata/config.yaml

0 comments on commit 146e4eb

Please sign in to comment.