Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ethstaker_deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def __str__(self) -> str:
EPHEMERY = 'ephemery'
GNOSIS = 'gnosis'
CHIADO = 'chiado'
KURTOSIS = 'kurtosis'

# Mainnet setting
MainnetSetting = BaseChainSetting(
Expand Down Expand Up @@ -92,6 +93,16 @@ def __str__(self) -> str:
MULTIPLIER=32,
MIN_ACTIVATION_AMOUNT=1,
MIN_DEPOSIT_AMOUNT=0.03125)
# Kurtosis setting
KurtosisSetting = BaseChainSetting(
NETWORK_NAME=KURTOSIS,
GENESIS_FORK_VERSION=bytes.fromhex('10000038'),
EXIT_FORK_VERSION=bytes.fromhex('40000910'), # Same as Hoodi
GENESIS_VALIDATORS_ROOT=bytes.fromhex('088243f664aec6b906743c9142cb2b8a1dc55e0b8f0d2aed841c2371eee0cccd'),
MULTIPLIER=1, # Same as Hoodi (default)
MIN_ACTIVATION_AMOUNT=32.0, # Same as Hoodi (default)
MIN_DEPOSIT_AMOUNT=1.0, # Same as Hoodi (default)
)


ALL_CHAINS: Dict[str, BaseChainSetting] = {
Expand All @@ -102,6 +113,7 @@ def __str__(self) -> str:
EPHEMERY: EphemerySetting,
GNOSIS: GnosisSetting,
CHIADO: ChiadoSetting,
KURTOSIS: KurtosisSetting,
}

ALL_CHAIN_KEYS: tuple[str, ...] = tuple(ALL_CHAINS.keys())
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,3 +388,5 @@ toolz==1.0.0 \
typing-inspection==0.4.0 \
--hash=sha256:50e72559fcd2a6367a19f7a7e610e6afcb9fac940c650290eed893d61386832f \
--hash=sha256:9765c87de36671694a67904bf2c96e395be9c6439bb6c87b5142569dcdd65122
typing_extensions==4.13.2 \
--hash=sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c