mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-09 12:31:21 +00:00
Update chain settings
1. Add Goerli, which is an alias of Prater 2. Remove Kintsugi
This commit is contained in:
parent
7326f85db0
commit
160d69b52b
@ -10,30 +10,30 @@ class BaseChainSetting(NamedTuple):
|
||||
|
||||
|
||||
MAINNET = 'mainnet'
|
||||
PRATER = 'prater'
|
||||
KINTSUGI = 'kintsugi'
|
||||
KILN = 'kiln'
|
||||
ROPSTEN = 'ropsten'
|
||||
GOERLI = 'goerli'
|
||||
PRATER = 'prater'
|
||||
KILN = 'kiln'
|
||||
|
||||
|
||||
# Mainnet setting
|
||||
MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
|
||||
# Ropsten setting
|
||||
RopstenSetting = BaseChainSetting(NETWORK_NAME=ROPSTEN, GENESIS_FORK_VERSION=bytes.fromhex('80000069'))
|
||||
# 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('60000069'))
|
||||
# GOERLI (PRATER is alias)
|
||||
_GOERLI_GENESIS_FORK_VERSION = bytes.fromhex('00001020')
|
||||
GoerliSetting = BaseChainSetting(NETWORK_NAME=GOERLI, GENESIS_FORK_VERSION=_GOERLI_GENESIS_FORK_VERSION)
|
||||
PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=_GOERLI_GENESIS_FORK_VERSION)
|
||||
# Merge Testnet (spec v1.1.9)
|
||||
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069'))
|
||||
|
||||
|
||||
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
||||
MAINNET: MainnetSetting,
|
||||
PRATER: PraterSetting,
|
||||
KINTSUGI: KintsugiSetting,
|
||||
KILN: KilnSetting,
|
||||
ROPSTEN: RopstenSetting,
|
||||
GOERLI: GoerliSetting,
|
||||
PRATER: PraterSetting,
|
||||
KILN: KilnSetting,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user