-
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export {holeskyChainConfig as chainConfig} from "@lodestar/config/networks"; | ||
|
||
export const depositContractDeployBlock = 0; | ||
export const genesisFileUrl = | ||
"https://media.githubusercontent.com/media/barnabasbusa/holesky/main/custom_config_data/genesis.ssz"; | ||
export const bootnodesFileUrl = | ||
"https://raw.githubusercontent.com/barnabasbusa/holesky/main/custom_config_data/bootstrap_nodes.txt"; | ||
|
||
export const bootEnrs = [ | ||
"enr:-Iq4QJk4WqRkjsX5c2CXtOra6HnxN-BMXnWhmhEQO9Bn9iABTJGdjUOurM7Btj1ouKaFkvTRoju5vz2GPmVON2dffQKGAX53x8JigmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk", | ||
"enr:-KG4QMH842KsJOZAHxI98VJcf8oPr1U8Ylyp2Tb-sNAPniWSCaxIS4F9gc3lGOnROEok7g5qrOm8WgJTl2WXx8MhMmIMhGV0aDKQqX6DZjABcAAKAAAAAAAAAIJpZIJ2NIJpcISygIjpiXNlY3AyNTZrMaECvQMvoDF46BfJgvAbbv1hwpNu9VQBXRIpHS_B8zmkZmmDdGNwgiMog3VkcIIjKA", | ||
"enr:-Ly4QDU8tZeygxz1gEeAD4EKe4H_8gg-IanpTY6h8A1YGPv5BPNvCMD77zjHUk_iF1pfG_8DC6jYWbIOD1k5kF-LaG4Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpCpfoNmMAFwAAoAAAAAAAAAgmlkgnY0gmlwhJK-DYCJc2VjcDI1NmsxoQN4bUae9DwIcq_56DNztksQYXeddTDKRonI5qI3YhN4SohzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA", | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
import {fromHexString as b} from "@chainsafe/ssz"; | ||
import {ChainConfig} from "../types.js"; | ||
import {chainConfig as mainnet} from "../presets/mainnet.js"; | ||
|
||
// Holesky beacon chain config: | ||
// https://github.com/barnabasbusa/holesky/blob/main/custom_config_data/config.yaml | ||
|
||
export const holeskyChainConfig: ChainConfig = { | ||
...mainnet, | ||
|
||
CONFIG_NAME: "holesky", | ||
|
||
// Genesis | ||
// --------------------------------------------------------------- | ||
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 16384, | ||
// Sep-15-2023 14:55:00 +UTC | ||
MIN_GENESIS_TIME: 1694786100, | ||
GENESIS_DELAY: 300, | ||
GENESIS_FORK_VERSION: b("0x00017000"), | ||
|
||
// Forking | ||
// --------------------------------------------------------------- | ||
// # Altair | ||
ALTAIR_FORK_VERSION: b("0x10017000"), | ||
ALTAIR_FORK_EPOCH: 0, | ||
// # Merge | ||
BELLATRIX_FORK_VERSION: b("0x20017000"), | ||
BELLATRIX_FORK_EPOCH: 0, | ||
TERMINAL_TOTAL_DIFFICULTY: BigInt("0"), | ||
// Capella | ||
CAPELLA_FORK_VERSION: b("0x30017000"), | ||
CAPELLA_FORK_EPOCH: 10, | ||
|
||
// # 28,000,000,000 Gwei to ensure quicker ejection | ||
EJECTION_BALANCE: 28000000000, | ||
|
||
// Deposit contract | ||
// --------------------------------------------------------------- | ||
DEPOSIT_CHAIN_ID: 17000, | ||
DEPOSIT_NETWORK_ID: 17000, | ||
DEPOSIT_CONTRACT_ADDRESS: b("0x4242424242424242424242424242424242424242"), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters