Skip to content

Commit

Permalink
adds support for mekong testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlBeek committed Nov 26, 2024
1 parent e8735e7 commit 26146a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions staking_deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class BaseChainSetting(NamedTuple):
MAINNET = 'mainnet'
SEPOLIA = 'sepolia'
HOLESKY = 'holesky'
MEKONG = 'mekong'

# Mainnet setting
MainnetSetting = BaseChainSetting(
Expand All @@ -26,12 +27,17 @@ class BaseChainSetting(NamedTuple):
HoleskySetting = BaseChainSetting(
NETWORK_NAME=HOLESKY, GENESIS_FORK_VERSION=bytes.fromhex('01017000'),
GENESIS_VALIDATORS_ROOT=bytes.fromhex('9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1'))
# Mekong setting
MekongSetting = BaseChainSetting(
NETWORK_NAME=MEKONG, GENESIS_FORK_VERSION=bytes.fromhex('10637624'),
GENESIS_VALIDATORS_ROOT=bytes.fromhex('9838240bca889c52818d7502179b393a828f61f15119d9027827c36caeb67db7'))


ALL_CHAINS: Dict[str, BaseChainSetting] = {
MAINNET: MainnetSetting,
SEPOLIA: SepoliaSetting,
HOLESKY: HoleskySetting,
MEKONG: MekongSetting,
}


Expand Down

0 comments on commit 26146a7

Please sign in to comment.