Skip to content

Commit

Permalink
added lukso 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman authored Jan 20, 2023
1 parent f52d510 commit 3e9bf7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions staking_deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class BaseChainSetting(NamedTuple):

LUKSO = 'lukso'
LUKSO_L16 = 'l16'
LUKSO_2022 = 'l2022'
MAINNET = 'ethereum'
ROPSTEN = 'ropsten'
GOERLI = 'goerli'
Expand All @@ -25,6 +26,9 @@ class BaseChainSetting(NamedTuple):
# LUKSO L16 testnet setting
LUKSOL16Setting = BaseChainSetting(
NETWORK_NAME=LUKSO_L16, GENESIS_FORK_VERSION=bytes.fromhex('60000069'))
# LUKSO 2022 testnet setting
LUKSO2022Setting = BaseChainSetting(
NETWORK_NAME=LUKSO_2022, GENESIS_FORK_VERSION=bytes.fromhex('20220002'))
# Ethereum Mainnet setting
MainnetSetting = BaseChainSetting(
NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000'))
Expand All @@ -44,6 +48,7 @@ class BaseChainSetting(NamedTuple):
ALL_CHAINS: Dict[str, BaseChainSetting] = {
LUKSO: LUKSOSetting, # Due to change when mainnet is launched
LUKSO_L16: LUKSOL16Setting,
LUKSO_2022: LUKSO2022Setting,
MAINNET: MainnetSetting,
ROPSTEN: RopstenSetting,
GOERLI: GoerliSetting,
Expand Down

0 comments on commit 3e9bf7f

Please sign in to comment.