mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-07 03:22:19 +00:00
Adds Prater testnet support
This commit is contained in:
parent
d45d8946aa
commit
fc466d3b32
@ -1,7 +1,7 @@
|
|||||||
from typing import Dict, NamedTuple
|
from typing import Dict, NamedTuple
|
||||||
|
|
||||||
|
|
||||||
DEPOSIT_CLI_VERSION = '1.1.0'
|
DEPOSIT_CLI_VERSION = '1.1.1'
|
||||||
|
|
||||||
|
|
||||||
class BaseChainSetting(NamedTuple):
|
class BaseChainSetting(NamedTuple):
|
||||||
@ -16,6 +16,7 @@ MEDALLA = 'medalla'
|
|||||||
SPADINA = 'spadina'
|
SPADINA = 'spadina'
|
||||||
ZINKEN = 'zinken'
|
ZINKEN = 'zinken'
|
||||||
PYRMONT = 'pyrmont'
|
PYRMONT = 'pyrmont'
|
||||||
|
PRATER = 'prater'
|
||||||
|
|
||||||
|
|
||||||
# Eth2 Mainnet setting
|
# Eth2 Mainnet setting
|
||||||
@ -32,6 +33,8 @@ SpadinaSetting = BaseChainSetting(ETH2_NETWORK_NAME=SPADINA, GENESIS_FORK_VERSIO
|
|||||||
ZinkenSetting = BaseChainSetting(ETH2_NETWORK_NAME=ZINKEN, GENESIS_FORK_VERSION=bytes.fromhex('00000003'))
|
ZinkenSetting = BaseChainSetting(ETH2_NETWORK_NAME=ZINKEN, GENESIS_FORK_VERSION=bytes.fromhex('00000003'))
|
||||||
# Eth2 pre-launch testnet (spec v1.0.0)
|
# Eth2 pre-launch testnet (spec v1.0.0)
|
||||||
PyrmontSetting = BaseChainSetting(ETH2_NETWORK_NAME=PYRMONT, GENESIS_FORK_VERSION=bytes.fromhex('00002009'))
|
PyrmontSetting = BaseChainSetting(ETH2_NETWORK_NAME=PYRMONT, GENESIS_FORK_VERSION=bytes.fromhex('00002009'))
|
||||||
|
# Eth2 testnet (spec v1.0.1)
|
||||||
|
PraterSetting = BaseChainSetting(ETH2_NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=bytes.fromhex('00001020'))
|
||||||
|
|
||||||
|
|
||||||
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
||||||
@ -42,6 +45,7 @@ ALL_CHAINS: Dict[str, BaseChainSetting] = {
|
|||||||
SPADINA: SpadinaSetting,
|
SPADINA: SpadinaSetting,
|
||||||
ZINKEN: ZinkenSetting,
|
ZINKEN: ZinkenSetting,
|
||||||
PYRMONT: PyrmontSetting,
|
PYRMONT: PyrmontSetting,
|
||||||
|
PRATER: PraterSetting,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -6,7 +6,7 @@ THIS IS A STUB FOR RUNNING THE APP
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="eth2deposit",
|
name="eth2deposit",
|
||||||
version='1.1.0',
|
version='1.1.1',
|
||||||
py_modules=["eth2deposit"],
|
py_modules=["eth2deposit"],
|
||||||
packages=find_packages(exclude=('tests', 'docs')),
|
packages=find_packages(exclude=('tests', 'docs')),
|
||||||
python_requires=">=3.7,<4",
|
python_requires=">=3.7,<4",
|
||||||
|
Loading…
Reference in New Issue
Block a user