mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-09 20:41:21 +00:00
Adds Kintsugi testnet support
This commit is contained in:
parent
0163bffccd
commit
e6b7d3d50f
@ -11,6 +11,7 @@ class BaseChainSetting(NamedTuple):
|
|||||||
|
|
||||||
MAINNET = 'mainnet'
|
MAINNET = 'mainnet'
|
||||||
PRATER = 'prater'
|
PRATER = 'prater'
|
||||||
|
KINTSUGI = 'kintsugi'
|
||||||
KILN = 'kiln'
|
KILN = 'kiln'
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +19,8 @@ KILN = 'kiln'
|
|||||||
MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
|
MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
|
||||||
# Testnet (spec v1.0.1)
|
# Testnet (spec v1.0.1)
|
||||||
PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=bytes.fromhex('00001020'))
|
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)
|
# Merge Testnet (spec v1.1.9)
|
||||||
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('0x70000069'))
|
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] = {
|
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
||||||
MAINNET: MainnetSetting,
|
MAINNET: MainnetSetting,
|
||||||
PRATER: PraterSetting,
|
PRATER: PraterSetting,
|
||||||
|
KINTSUGI: KintsugiSetting,
|
||||||
KILN: KilnSetting,
|
KILN: KilnSetting,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user