Skip to content

Commit

Permalink
Merge pull request #282 from ethereum/settings_patch_2
Browse files Browse the repository at this point in the history
Add Sepolia support and remove Kintsugi support for `dev`
  • Loading branch information
hwwhww authored Aug 1, 2022
2 parents 5e8bbfb + 7007a5f commit 4bd2752
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 @@ -14,6 +14,7 @@ class BaseChainSetting(NamedTuple):
GOERLI = 'goerli'
PRATER = 'prater'
KILN = 'kiln'
SEPOLIA = 'sepolia'


# Mainnet setting
Expand All @@ -24,6 +25,8 @@ class BaseChainSetting(NamedTuple):
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'))


ALL_CHAINS: Dict[str, BaseChainSetting] = {
Expand All @@ -32,6 +35,7 @@ class BaseChainSetting(NamedTuple):
GOERLI: GoerliSetting,
PRATER: GoerliSetting, # Prater is the old name of the Prater/Goerli testnet
KILN: KilnSetting,
SEPOLIA: SepoliaSetting,
}


Expand Down

0 comments on commit 4bd2752

Please sign in to comment.