mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-09 12:31:21 +00:00
Adds support for Kiln testnet & depricates Pyrmont
This commit is contained in:
parent
477fb09a04
commit
6a07492edf
@ -10,22 +10,22 @@ class BaseChainSetting(NamedTuple):
|
|||||||
|
|
||||||
|
|
||||||
MAINNET = 'mainnet'
|
MAINNET = 'mainnet'
|
||||||
PYRMONT = 'pyrmont'
|
|
||||||
PRATER = 'prater'
|
PRATER = 'prater'
|
||||||
|
KILN = 'kiln'
|
||||||
|
|
||||||
|
|
||||||
# Mainnet setting
|
# Mainnet setting
|
||||||
MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
|
MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
|
||||||
# Pre-launch testnet (spec v1.0.0)
|
|
||||||
PyrmontSetting = BaseChainSetting(NETWORK_NAME=PYRMONT, GENESIS_FORK_VERSION=bytes.fromhex('00002009'))
|
|
||||||
# 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.9)
|
||||||
|
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('0x70000069'))
|
||||||
|
|
||||||
|
|
||||||
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
||||||
MAINNET: MainnetSetting,
|
MAINNET: MainnetSetting,
|
||||||
PYRMONT: PyrmontSetting,
|
|
||||||
PRATER: PraterSetting,
|
PRATER: PraterSetting,
|
||||||
|
KILN: KilnSetting,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user