From e6b7d3d50f90ee8b1fe6f574b5a00a4841eb4357 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Wed, 2 Feb 2022 15:30:20 -0700 Subject: [PATCH] Adds Kintsugi testnet support --- staking_deposit/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/staking_deposit/settings.py b/staking_deposit/settings.py index a57875c..17aa4df 100644 --- a/staking_deposit/settings.py +++ b/staking_deposit/settings.py @@ -11,6 +11,7 @@ class BaseChainSetting(NamedTuple): MAINNET = 'mainnet' PRATER = 'prater' +KINTSUGI = 'kintsugi' KILN = 'kiln' @@ -18,6 +19,8 @@ KILN = 'kiln' MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000')) # Testnet (spec v1.0.1) PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=bytes.fromhex('00001020')) +# Merge Testnet (spec v1.1.4) +KintsugiSetting = BaseChainSetting(NETWORK_NAME=KINTSUGI, GENESIS_FORK_VERSION=bytes.fromhex('0x60000069')) # Merge Testnet (spec v1.1.9) KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('0x70000069')) @@ -25,6 +28,7 @@ KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fro ALL_CHAINS: Dict[str, BaseChainSetting] = { MAINNET: MainnetSetting, PRATER: PraterSetting, + KINTSUGI: KintsugiSetting, KILN: KilnSetting, }