Skip to content

Commit

Permalink
Merge pull request ethereum#320 from ethereum/zhejiang
Browse files Browse the repository at this point in the history
Add Zhejiang, remove Kiln
  • Loading branch information
hwwhww authored Jan 31, 2023
2 parents 259cfea + 116fe0e commit f420df6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions staking_deposit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class BaseChainSetting(NamedTuple):
ROPSTEN = 'ropsten'
GOERLI = 'goerli'
PRATER = 'prater'
KILN = 'kiln'
SEPOLIA = 'sepolia'
ZHEJIANG = 'zhejiang'


# Mainnet setting
Expand All @@ -23,19 +23,19 @@ class BaseChainSetting(NamedTuple):
RopstenSetting = BaseChainSetting(NETWORK_NAME=ROPSTEN, GENESIS_FORK_VERSION=bytes.fromhex('80000069'))
# Goerli setting
GoerliSetting = BaseChainSetting(NETWORK_NAME=GOERLI, GENESIS_FORK_VERSION=bytes.fromhex('00001020'))
# Merge Testnet (spec v1.1.9)
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069'))
# Sepolia setting
SepoliaSetting = BaseChainSetting(NETWORK_NAME=SEPOLIA, GENESIS_FORK_VERSION=bytes.fromhex('90000069'))
# Zhejiang setting
ZhejiangSetting = BaseChainSetting(NETWORK_NAME=ZHEJIANG, GENESIS_FORK_VERSION=bytes.fromhex('00000069'))


ALL_CHAINS: Dict[str, BaseChainSetting] = {
MAINNET: MainnetSetting,
ROPSTEN: RopstenSetting,
GOERLI: GoerliSetting,
PRATER: GoerliSetting, # Prater is the old name of the Prater/Goerli testnet
KILN: KilnSetting,
SEPOLIA: SepoliaSetting,
ZHEJIANG: ZhejiangSetting,
}


Expand Down

0 comments on commit f420df6

Please sign in to comment.