mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-09 09:14:32 +00:00
remove unnecessary definitions from CapellaSpecBuilder
This commit is contained in:
parent
59d48210a1
commit
365b1f46f9
16
setup.py
16
setup.py
@ -561,22 +561,6 @@ class CapellaSpecBuilder(MergeSpecBuilder):
|
|||||||
from eth2spec.merge import {preset_name} as merge
|
from eth2spec.merge import {preset_name} as merge
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def preparations(cls):
|
|
||||||
return super().preparations()
|
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def sundry_functions(cls) -> str:
|
|
||||||
return super().sundry_functions()
|
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def hardcoded_ssz_dep_constants(cls) -> Dict[str, str]:
|
|
||||||
constants = {
|
|
||||||
'FINALIZED_ROOT_INDEX': 'GeneralizedIndex(105)',
|
|
||||||
'NEXT_SYNC_COMMITTEE_INDEX': 'GeneralizedIndex(55)',
|
|
||||||
}
|
|
||||||
return {**super().hardcoded_ssz_dep_constants(), **constants}
|
|
||||||
|
|
||||||
|
|
||||||
spec_builders = {
|
spec_builders = {
|
||||||
builder.fork: builder
|
builder.fork: builder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user