-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
25 changed files
with
227 additions
and
84 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export {chiadoChainConfig as chainConfig} from "@lodestar/config/networks"; | ||
|
||
// eth1.providerUrls suggestion: https://rpc.chiado.gnosis.gateway.fm | ||
export const depositContractDeployBlock = 155435; | ||
export const genesisFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/chiado/genesis.ssz"; | ||
export const bootnodesFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/chiado/bootnodes.yaml"; | ||
|
||
export const bootEnrs = [ | ||
"enr:-L64QOijsdi9aVIawMb5h5PWueaPM9Ai6P17GNPFlHzz7MGJQ8tFMdYrEx8WQitNKLG924g2Q9cCdzg54M0UtKa3QIKCMxaHYXR0bmV0c4j__________4RldGgykDE2cEMCAABv__________-CaWSCdjSCaXCEi5AaWYlzZWNwMjU2azGhA8CjTkD4m1s8FbKCN18LgqlYcE65jrT148vFtwd9U62SiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo", | ||
"enr:-L64QKYKGQj5ybkfBxyFU5IEVzP7oJkGHJlie4W8BCGAYEi4P0mmMksaasiYF789mVW_AxYVNVFUjg9CyzmdvpyWQ1KCMlmHYXR0bmV0c4j__________4RldGgykDE2cEMCAABv__________-CaWSCdjSCaXCEi5CtNolzZWNwMjU2azGhAuA7BAwIijy1z81AO9nz_MOukA1ER68rGA67PYQ5pF1qiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo", | ||
"enr:-Ly4QJJUnV9BxP_rw2Bv7E9iyw4sYS2b4OQZIf4Mu_cA6FljJvOeSTQiCUpbZhZjR4R0VseBhdTzrLrlHrAuu_OeZqgJh2F0dG5ldHOI__________-EZXRoMpAxNnBDAgAAb___________gmlkgnY0gmlwhIuQGnOJc2VjcDI1NmsxoQPT_u3IjDtB2r-nveH5DhUmlM8F2IgLyxhmwmqW4L5k3ohzeW5jbmV0cw-DdGNwgiMog3VkcIIjKA", | ||
"enr:-MK4QCkOyqOTPX1_-F-5XVFjPclDUc0fj3EeR8FJ5-hZjv6ARuGlFspM0DtioHn1r6YPUXkOg2g3x6EbeeKdsrvVBYmGAYQKrixeh2F0dG5ldHOIAAAAAAAAAACEZXRoMpAxNnBDAgAAb___________gmlkgnY0gmlwhIuQGlWJc2VjcDI1NmsxoQKdW3-DgLExBkpLGMRtuM88wW_gZkC7Yeg0stYDTrlynYhzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA==", | ||
"enr:-Ly4QLYLNqrjvSxD3lpAPBUNlxa6cIbe79JqLZLFcZZjWoCjZcw-85agLUErHiygG2weRSCLnd5V460qTbLbwJQsfZkoh2F0dG5ldHOI__________-EZXRoMpAxNnBDAgAAb___________gmlkgnY0gmlwhKq7mu-Jc2VjcDI1NmsxoQP900YAYa9kdvzlSKGjVo-F3XVzATjOYp3BsjLjSophO4hzeW5jbmV0cw-DdGNwgiMog3VkcIIjKA", | ||
"enr:-Ly4QCGeYvTCNOGKi0mKRUd45rLj96b4pH98qG7B9TCUGXGpHZALtaL2-XfjASQyhbCqENccI4PGXVqYTIehNT9KJMQgh2F0dG5ldHOI__________-EZXRoMpAxNnBDAgAAb___________gmlkgnY0gmlwhIuQrVSJc2VjcDI1NmsxoQP9iDchx2PGl3JyJ29B9fhLCvVMN6n23pPAIIeFV-sHOIhzeW5jbmV0cw-DdGNwgiMog3VkcIIjKA", | ||
"enr:-Ly4QAtr21x5Ps7HYhdZkIBRBgcBkvlIfEel1YNjtFWf4cV3au2LgBGICz9PtEs9-p2HUl_eME8m1WImxTxSB3AkCMwBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpAxNnBDAgAAb___________gmlkgnY0gmlwhANHhOeJc2VjcDI1NmsxoQNLp1QPV8-pyMCohOtj6xGtSBM_GtVTqzlbvNsCF4ezkYhzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA", | ||
"enr:-Ly4QLgn8Bx6faigkKUGZQvd1HDToV2FAxZIiENK-lczruzQb90qJK-4E65ADly0s4__dQOW7IkLMW7ZAyJy2vtiLy8Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpAxNnBDAgAAb___________gmlkgnY0gmlwhANFIw2Jc2VjcDI1NmsxoQMa-fWEy9UJHfOl_lix3wdY5qust78sHAqZnWwEiyqKgYhzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA", | ||
]; |
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,10 @@ | ||
export {zhejiangChainConfig as chainConfig} from "@lodestar/config/networks"; | ||
|
||
export const depositContractDeployBlock = 0; | ||
export const genesisFileUrl = | ||
"https://raw.githubusercontent.com/ethpandaops/withdrawals-testnet/master/zhejiang-testnet/custom_config_data/genesis.ssz"; | ||
export const bootnodesFileUrl = | ||
"https://raw.githubusercontent.com/ethpandaops/withdrawals-testnet/master/zhejiang-testnet/custom_config_data/bootstrap_nodes.txt"; | ||
|
||
// Pick from above file | ||
export const bootEnrs = []; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
import {fromHexString as b} from "@chainsafe/ssz"; | ||
import {PresetName} from "@lodestar/params"; | ||
import {IChainConfig} from "../types.js"; | ||
import {chainConfig as mainnet} from "../presets/mainnet.js"; | ||
|
||
export const chiadoChainConfig: IChainConfig = { | ||
...mainnet, | ||
|
||
// NOTE: Only add diff values | ||
PRESET_BASE: PresetName.gnosis, | ||
CONFIG_NAME: "chiado", | ||
|
||
// Transition | ||
TERMINAL_TOTAL_DIFFICULTY: BigInt("231707791542740786049188744689299064356246512"), | ||
TERMINAL_BLOCK_HASH: b("0x0000000000000000000000000000000000000000000000000000000000000000"), | ||
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: Infinity, | ||
|
||
SECONDS_PER_SLOT: 5, | ||
SECONDS_PER_ETH1_BLOCK: 6, | ||
ETH1_FOLLOW_DISTANCE: 1024, | ||
CHURN_LIMIT_QUOTIENT: 4096, | ||
|
||
// Ethereum Goerli testnet | ||
DEPOSIT_CHAIN_ID: 10200, | ||
DEPOSIT_NETWORK_ID: 10200, | ||
DEPOSIT_CONTRACT_ADDRESS: b("0xb97036A26259B7147018913bD58a774cf91acf25"), | ||
|
||
// Dec 8, 2021, 13:00 UTC | ||
MIN_GENESIS_TIME: 1665396000, | ||
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 6000, | ||
GENESIS_FORK_VERSION: b("0x0000006f"), | ||
GENESIS_DELAY: 300, | ||
|
||
// Forking | ||
ALTAIR_FORK_VERSION: b("0x0100006f"), | ||
ALTAIR_FORK_EPOCH: 90, | ||
// Bellatrix | ||
BELLATRIX_FORK_VERSION: b("0x0200006f"), | ||
BELLATRIX_FORK_EPOCH: 180, | ||
}; |
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,41 @@ | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
import {fromHexString as b} from "@chainsafe/ssz"; | ||
import {IChainConfig} from "../types.js"; | ||
import {chainConfig as mainnet} from "../presets/mainnet.js"; | ||
|
||
// Zhejiang beacon chain config: | ||
// https://github.com/eth-clients/merge-testnets/blob/main/sepolia-beacon-chain/config.yaml | ||
|
||
export const zhejiangChainConfig: IChainConfig = { | ||
...mainnet, | ||
|
||
CONFIG_NAME: "zhejiang", | ||
|
||
// Genesis | ||
// --------------------------------------------------------------- | ||
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 58000, | ||
MIN_GENESIS_TIME: 1675263480, | ||
GENESIS_FORK_VERSION: b("0x00000069"), | ||
GENESIS_DELAY: 120, | ||
|
||
// Forking | ||
// --------------------------------------------------------------- | ||
// # Altair | ||
ALTAIR_FORK_VERSION: b("0x00000070"), | ||
ALTAIR_FORK_EPOCH: 0, | ||
// # Merge | ||
BELLATRIX_FORK_VERSION: b("0x00000071"), | ||
BELLATRIX_FORK_EPOCH: 0, | ||
TERMINAL_TOTAL_DIFFICULTY: BigInt("0"), | ||
// Capella | ||
CAPELLA_FORK_VERSION: b("0x00000072"), | ||
CAPELLA_FORK_EPOCH: 1350, | ||
// Deneb | ||
EIP4844_FORK_VERSION: b("0x00000073"), | ||
|
||
// Deposit contract | ||
// --------------------------------------------------------------- | ||
DEPOSIT_CHAIN_ID: 1337803, | ||
DEPOSIT_NETWORK_ID: 1337803, | ||
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
Oops, something went wrong.