mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
Update fork constants
This commit is contained in:
parent
738b9818b3
commit
57378c87d3
@ -4,6 +4,7 @@ from .typing import SpecForkName, PresetBaseName
|
||||
#
|
||||
# SpecForkName
|
||||
#
|
||||
|
||||
# Some of the Spec module functionality is exposed here to deal with phase-specific changes.
|
||||
PHASE0 = SpecForkName('phase0')
|
||||
ALTAIR = SpecForkName('altair')
|
||||
@ -17,15 +18,24 @@ CUSTODY_GAME = SpecForkName('custody_game')
|
||||
DAS = SpecForkName('das')
|
||||
EIP6110 = SpecForkName('eip6110')
|
||||
|
||||
#
|
||||
# SpecFork settings
|
||||
#
|
||||
|
||||
# The forks that are deployed on Mainnet
|
||||
MAINNET_FORKS = (PHASE0, ALTAIR, BELLATRIX, CAPELLA)
|
||||
# The forks that pytest can run with.
|
||||
ALL_PHASES = (
|
||||
# Formal forks
|
||||
PHASE0, ALTAIR, BELLATRIX, CAPELLA, DENEB,
|
||||
# Experimental patches
|
||||
*MAINNET_FORKS,
|
||||
DENEB,
|
||||
# Experimental features
|
||||
EIP6110,
|
||||
)
|
||||
# The forks that have light client specs
|
||||
LIGHT_CLIENT_TESTING_FORKS = (*MAINNET_FORKS, DENEB)
|
||||
# The forks that output to the test vectors.
|
||||
TESTGEN_FORKS = (PHASE0, ALTAIR, BELLATRIX, CAPELLA, DENEB, EIP6110)
|
||||
TESTGEN_FORKS = (*MAINNET_FORKS, DENEB, EIP6110)
|
||||
|
||||
ALL_FORK_UPGRADES = {
|
||||
# pre_fork_name: post_fork_name
|
||||
@ -46,7 +56,7 @@ AFTER_DENEB_UPGRADES = {key: value for key, value in ALL_FORK_UPGRADES.items()
|
||||
AFTER_DENEB_PRE_POST_FORKS = AFTER_DENEB_UPGRADES.items()
|
||||
|
||||
#
|
||||
# Config
|
||||
# Config and Preset
|
||||
#
|
||||
MAINNET = PresetBaseName('mainnet')
|
||||
MINIMAL = PresetBaseName('minimal')
|
||||
|
Loading…
x
Reference in New Issue
Block a user