Skip to content

Commit

Permalink
Merge pull request #265 from ethereum/sepolia
Browse files Browse the repository at this point in the history
Add Sepolia support and remove Kintsugi support
  • Loading branch information
CarlBeek authored Jun 13, 2022
2 parents 9ab0b05 + 7087718 commit 70cadd6
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 @@ -11,29 +11,29 @@ class BaseChainSetting(NamedTuple):

MAINNET = 'mainnet'
PRATER = 'prater'
KINTSUGI = 'kintsugi'
KILN = 'kiln'
ROPSTEN = 'ropsten'
SEPOLIA = 'sepolia'


# 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'))
# Sepolia setting
SepoliaSetting = BaseChainSetting(NETWORK_NAME=SEPOLIA, GENESIS_FORK_VERSION=bytes.fromhex('90000069'))
# Testnet (spec v1.0.1)
PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=bytes.fromhex('00001020'))
# Merge Testnet (spec v1.1.4)
KintsugiSetting = BaseChainSetting(NETWORK_NAME=KINTSUGI, GENESIS_FORK_VERSION=bytes.fromhex('60000069'))
# Merge Testnet (spec v1.1.9)
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069'))


ALL_CHAINS: Dict[str, BaseChainSetting] = {
MAINNET: MainnetSetting,
PRATER: PraterSetting,
KINTSUGI: KintsugiSetting,
KILN: KilnSetting,
ROPSTEN: RopstenSetting,
SEPOLIA: SepoliaSetting,
}


Expand Down

0 comments on commit 70cadd6

Please sign in to comment.