Skip to content

Commit

Permalink
Add Holesky Deneb Epoch (#13506)
Browse files Browse the repository at this point in the history
* Add Holesky Deneb Epoch

* Fix fork version

Co-authored-by: Preston Van Loon <[email protected]>

* Fix config

---------

Co-authored-by: Preston Van Loon <[email protected]>
  • Loading branch information
terencechain and prestonvanloon authored Jan 23, 2024
1 parent 75a2831 commit 8522feb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ filegroup(
visibility = ["//visibility:public"],
)
""",
sha256 = "9f66d8d5644982d3d0d2e3d2b9ebe77a5f96638a5d7fcd715599c32818195cb3",
strip_prefix = "holesky-ea39b9006210848e13f28d92e12a30548cecd41d",
url = "https://github.com/eth-clients/holesky/archive/ea39b9006210848e13f28d92e12a30548cecd41d.tar.gz", # 2023-09-21
sha256 = "5f4be6fd088683ea9db45c863b9c5a1884422449e5b59fd2d561d3ba0f73ffd9",
strip_prefix = "holesky-9d9aabf2d4de51334ee5fed6c79a4d55097d1a43",
url = "https://github.com/eth-clients/holesky/archive/9d9aabf2d4de51334ee5fed6c79a4d55097d1a43.tar.gz", # 2024-01-22
)

http_archive(
Expand Down
6 changes: 2 additions & 4 deletions config/params/testnet_holesky_config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package params

import "math"

// UseHoleskyNetworkConfig uses the Holesky beacon chain specific network config.
func UseHoleskyNetworkConfig() {
cfg := BeaconNetworkConfig().Copy()
Expand Down Expand Up @@ -36,8 +34,8 @@ func HoleskyConfig() *BeaconChainConfig {
cfg.BellatrixForkVersion = []byte{0x3, 0x1, 0x70, 0x0}
cfg.CapellaForkEpoch = 256
cfg.CapellaForkVersion = []byte{0x4, 0x1, 0x70, 0x0}
cfg.DenebForkEpoch = math.MaxUint64
cfg.DenebForkVersion = []byte{0x40, 0x1, 0x70, 0x0}
cfg.DenebForkEpoch = 29696
cfg.DenebForkVersion = []byte{0x05, 0x1, 0x70, 0x0}
cfg.TerminalTotalDifficulty = "0"
cfg.DepositContractAddress = "0x4242424242424242424242424242424242424242"
cfg.EjectionBalance = 28000000000
Expand Down

0 comments on commit 8522feb

Please sign in to comment.