Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: schedule electra on holesky and sepolia #7402

Draft
wants to merge 2 commits into
base: unstable
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/config/src/chainConfig/networks/holesky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export const holeskyChainConfig: ChainConfig = {
// Deneb
DENEB_FORK_VERSION: b("0x05017000"),
DENEB_FORK_EPOCH: 29696,
// Electra
ELECTRA_FORK_VERSION: b("0x06017000"),
ELECTRA_FORK_EPOCH: 113152,

// # 28,000,000,000 Gwei to ensure quicker ejection
EJECTION_BALANCE: 28000000000,
Expand Down
3 changes: 3 additions & 0 deletions packages/config/src/chainConfig/networks/sepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export const sepoliaChainConfig: ChainConfig = {
// Deneb
DENEB_FORK_VERSION: b("0x90000073"),
DENEB_FORK_EPOCH: 132608,
// Electra
ELECTRA_FORK_VERSION: b("0x90000074"),
ELECTRA_FORK_EPOCH: 219392,

// Deposit contract
// ---------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions packages/validator/test/unit/utils/interopConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const lighthouseHoleskyConfig = {
DOMAIN_SYNC_COMMITTEE_SELECTION_PROOF: "0x08000000",
DOMAIN_BLS_TO_EXECUTION_CHANGE: "0x0A000000",
MAX_EFFECTIVE_BALANCE_ELECTRA: "2048000000000",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "65536",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "4096",
MIN_ACTIVATION_BALANCE: "32000000000",
PENDING_DEPOSITS_LIMIT: "134217728",
PENDING_PARTIAL_WITHDRAWALS_LIMIT: "134217728",
Expand Down Expand Up @@ -219,7 +219,7 @@ export const prysmHoleskyConfig = {
MIN_SLASHING_PENALTY_QUOTIENT: "128",
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: "64",
MIN_SLASHING_PENALTY_QUOTIENT_BELLATRIX: "32",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "65536",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "4096",
MIN_SYNC_COMMITTEE_PARTICIPANTS: "1",
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: "256",
NODE_ID_BITS: "256",
Expand Down Expand Up @@ -357,7 +357,7 @@ export const tekuHoleskyConfig = {
DOMAIN_DEPOSIT: "0x03000000",
DOMAIN_CONTRIBUTION_AND_PROOF: "0x09000000",
UPDATE_TIMEOUT: "8192",
ELECTRA_FORK_EPOCH: "18446744073709551615",
ELECTRA_FORK_EPOCH: "113152",
SYNC_COMMITTEE_BRANCH_LENGTH: "5",
DEPOSIT_CHAIN_ID: "17000",
MAX_BLOB_COMMITMENTS_PER_BLOCK: "4096",
Expand Down Expand Up @@ -401,7 +401,7 @@ export const tekuHoleskyConfig = {
CHURN_LIMIT_QUOTIENT: "65536",
BLS_WITHDRAWAL_PREFIX: "0x00",
MAX_EFFECTIVE_BALANCE_ELECTRA: "2048000000000",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "65536",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "4096",
MIN_ACTIVATION_BALANCE: "32000000000",
PENDING_DEPOSITS_LIMIT: "134217728",
PENDING_PARTIAL_WITHDRAWALS_LIMIT: "134217728",
Expand Down Expand Up @@ -544,7 +544,7 @@ export const nimbusHoleskyConfig = {
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: "16",
SYNC_COMMITTEE_SUBNET_COUNT: "4",
MAX_EFFECTIVE_BALANCE_ELECTRA: "2048000000000",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "65536",
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: "4096",
MIN_ACTIVATION_BALANCE: "32000000000",
PENDING_DEPOSITS_LIMIT: "134217728",
PENDING_PARTIAL_WITHDRAWALS_LIMIT: "134217728",
Expand Down
Loading