From 289b674a0531b7c768b8cee0527fc85150e06e9b Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Fri, 13 Nov 2020 00:01:48 +0800 Subject: [PATCH] Add PyrmontSetting --- eth2deposit/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eth2deposit/settings.py b/eth2deposit/settings.py index 4c7a5cc..e1c60e2 100644 --- a/eth2deposit/settings.py +++ b/eth2deposit/settings.py @@ -20,6 +20,8 @@ MedallaSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000001') 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 testnet (spec v1.0.0) +PyrmontSetting = BaseChainSetting(GENESIS_FORK_VERSION=bytes.fromhex('00000000')) MAINNET = 'mainnet' @@ -28,6 +30,7 @@ ALTONA = 'altona' MEDALLA = 'medalla' SPADINA = 'spadina' ZINKEN = 'zinken' +Pyrmont = 'pyrmont' ALL_CHAINS: Dict[str, BaseChainSetting] = { MAINNET: MainnetSetting, WITTI: WittiSetting, @@ -35,6 +38,7 @@ ALL_CHAINS: Dict[str, BaseChainSetting] = { MEDALLA: MedallaSetting, SPADINA: SpadinaSetting, ZINKEN: ZinkenSetting, + Pyrmont: PyrmontSetting, }