Skip to content

Commit

Permalink
Adding the Mekong testnet settings as another supported testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
remyroy committed Nov 5, 2024
1 parent e8fc729 commit e8602ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ethstaker_deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __str__(self) -> str:
MAINNET = 'mainnet'
SEPOLIA = 'sepolia'
HOLESKY = 'holesky'
MEKONG = 'mekong'
EPHEMERY = 'ephemery'

# Mainnet setting
Expand All @@ -49,6 +50,12 @@ def __str__(self) -> str:
GENESIS_FORK_VERSION=bytes.fromhex('01017000'),
EXIT_FORK_VERSION=bytes.fromhex('04017000'),
GENESIS_VALIDATORS_ROOT=bytes.fromhex('9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1'))
# Mekong setting
MekongSetting = BaseChainSetting(
NETWORK_NAME=MEKONG,
GENESIS_FORK_VERSION=bytes.fromhex('10637624'),
EXIT_FORK_VERSION=bytes.fromhex('40637624'),
GENESIS_VALIDATORS_ROOT=bytes.fromhex('9838240bca889c52818d7502179b393a828f61f15119d9027827c36caeb67db7'))
# Ephemery setting
# From https://github.com/ephemery-testnet/ephemery-genesis/blob/master/values.env
EphemerySetting = BaseChainSetting(
Expand All @@ -65,6 +72,7 @@ def __str__(self) -> str:
MAINNET: MainnetSetting,
SEPOLIA: SepoliaSetting,
HOLESKY: HoleskySetting,
MEKONG: MekongSetting,
EPHEMERY: EphemerySetting,
}

Expand Down

0 comments on commit e8602ac

Please sign in to comment.