mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2024-12-23 11:57:19 +00:00
Add Altona setting
This commit is contained in:
parent
87a1e15c00
commit
0c51422281
@ -4,23 +4,21 @@ from typing import Dict, NamedTuple
|
|||||||
class BaseChainSetting(NamedTuple):
|
class BaseChainSetting(NamedTuple):
|
||||||
GENESIS_FORK_VERSION: bytes
|
GENESIS_FORK_VERSION: bytes
|
||||||
|
|
||||||
|
# Eth2 Mainet setting
|
||||||
MainnetSetting = BaseChainSetting(
|
MainnetSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
|
||||||
GENESIS_FORK_VERSION=bytes.fromhex('00000000'),
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# Eth2 spec v0.11.3 testnet
|
# Eth2 spec v0.11.3 testnet
|
||||||
WittiSetting = BaseChainSetting(
|
WittiSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000113'))
|
||||||
GENESIS_FORK_VERSION=bytes.fromhex('00000113'),
|
# Eth2 spec v0.12.1 testnet
|
||||||
)
|
AltonaSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000121'))
|
||||||
|
|
||||||
|
|
||||||
MAINNET = 'mainnet'
|
MAINNET = 'mainnet'
|
||||||
WITTI = 'witti'
|
WITTI = 'witti'
|
||||||
|
ALTONA = 'altona'
|
||||||
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
||||||
MAINNET: MainnetSetting,
|
MAINNET: MainnetSetting,
|
||||||
WITTI: WittiSetting,
|
WITTI: WittiSetting,
|
||||||
|
ALTONA: AltonaSetting,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user