Skip to content

Commit

Permalink
Add Spadina testnet (ethereum#96)
Browse files Browse the repository at this point in the history
* Add Spadina testnet

* Update Spadina `GENESIS_FORK_VERSION` to `0x00000002`

Sync with goerli/medalla#46 updates
  • Loading branch information
hwwhww authored Sep 18, 2020
1 parent 312508b commit 83e028c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eth2deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@ class BaseChainSetting(NamedTuple):
AltonaSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000121'))
# Eth2 "official" public testnet (spec v0.12.2)
MedallaSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000001'))
# Eth2 "dress rehearsal_" testnet (spec v0.12.3)
SpadinaSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000002'))


MAINNET = 'mainnet'
WITTI = 'witti'
ALTONA = 'altona'
MEDALLA = 'medalla'
SPADINA = 'spadina'
ALL_CHAINS: Dict[str, BaseChainSetting] = {
MAINNET: MainnetSetting,
WITTI: WittiSetting,
ALTONA: AltonaSetting,
MEDALLA: MedallaSetting,
SPADINA: SpadinaSetting,
}


Expand Down

0 comments on commit 83e028c

Please sign in to comment.