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'
|
MAINNET = 'mainnet'
|
||||||
PRATER = 'prater'
|
|
||||||
KINTSUGI = 'kintsugi'
|
|
||||||
KILN = 'kiln'
|
|
||||||
ROPSTEN = 'ropsten'
|
ROPSTEN = 'ropsten'
|
||||||
|
GOERLI = 'goerli'
|
||||||
|
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'))
|
||||||
# Ropsten setting
|
# Ropsten setting
|
||||||
RopstenSetting = BaseChainSetting(NETWORK_NAME=ROPSTEN, GENESIS_FORK_VERSION=bytes.fromhex('80000069'))
|
RopstenSetting = BaseChainSetting(NETWORK_NAME=ROPSTEN, GENESIS_FORK_VERSION=bytes.fromhex('80000069'))
|
||||||
# Testnet (spec v1.0.1)
|
# GOERLI (PRATER is alias)
|
||||||
PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=bytes.fromhex('00001020'))
|
_GOERLI_GENESIS_FORK_VERSION = bytes.fromhex('00001020')
|
||||||
# Merge Testnet (spec v1.1.4)
|
GoerliSetting = BaseChainSetting(NETWORK_NAME=GOERLI, GENESIS_FORK_VERSION=_GOERLI_GENESIS_FORK_VERSION)
|
||||||
KintsugiSetting = BaseChainSetting(NETWORK_NAME=KINTSUGI, GENESIS_FORK_VERSION=bytes.fromhex('60000069'))
|
PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=_GOERLI_GENESIS_FORK_VERSION)
|
||||||
# Merge Testnet (spec v1.1.9)
|
# Merge Testnet (spec v1.1.9)
|
||||||
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069'))
|
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069'))
|
||||||
|
|
||||||
|
|
||||||
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
||||||
MAINNET: MainnetSetting,
|
MAINNET: MainnetSetting,
|
||||||
PRATER: PraterSetting,
|
|
||||||
KINTSUGI: KintsugiSetting,
|
|
||||||
KILN: KilnSetting,
|
|
||||||
ROPSTEN: RopstenSetting,
|
ROPSTEN: RopstenSetting,
|
||||||
|
GOERLI: GoerliSetting,
|
||||||
|
PRATER: PraterSetting,
|
||||||
|
KILN: KilnSetting,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user