Skip to content

Commit

Permalink
Merge pull request #258 from ethereum/ropsten
Browse files Browse the repository at this point in the history
Add Ropsten config
  • Loading branch information
CarlBeek authored May 17, 2022
2 parents dc6fa0c + 1c5bf42 commit cbec05f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions staking_deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ class BaseChainSetting(NamedTuple):
PRATER = 'prater'
KINTSUGI = 'kintsugi'
KILN = 'kiln'
ROPSTEN = 'ropsten'


# 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)
Expand All @@ -30,6 +33,7 @@ class BaseChainSetting(NamedTuple):
PRATER: PraterSetting,
KINTSUGI: KintsugiSetting,
KILN: KilnSetting,
ROPSTEN: RopstenSetting,
}


Expand Down

0 comments on commit cbec05f

Please sign in to comment.