From 828a9863681d1ff882954ee72f8417ae711a59b3 Mon Sep 17 00:00:00 2001 From: dimiandre Date: Fri, 13 Nov 2020 19:06:32 +0100 Subject: [PATCH] add pyrmont testnet --- eth2deposit/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eth2deposit/settings.py b/eth2deposit/settings.py index 4c7a5ccf..626ebf84 100644 --- a/eth2deposit/settings.py +++ b/eth2deposit/settings.py @@ -20,6 +20,8 @@ class BaseChainSetting(NamedTuple): SpadinaSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000002')) # Eth2 "dress rehearsal" testnet (spec v0.12.3) ZinkenSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000003')) +# Eth2 temporary testnet for v1.0 clients +PyrmontSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00002009')) MAINNET = 'mainnet' @@ -28,6 +30,8 @@ class BaseChainSetting(NamedTuple): MEDALLA = 'medalla' SPADINA = 'spadina' ZINKEN = 'zinken' +PYRMONT = 'pyrmont' + ALL_CHAINS: Dict[str, BaseChainSetting] = { MAINNET: MainnetSetting, WITTI: WittiSetting, @@ -35,6 +39,7 @@ class BaseChainSetting(NamedTuple): MEDALLA: MedallaSetting, SPADINA: SpadinaSetting, ZINKEN: ZinkenSetting, + PYRMONT: PyrmontSetting, }