eth2.0-specs/pysetup/spec_builders/electra.py

13 lines
267 B
Python

from .base import BaseSpecBuilder
from ..constants import ELECTRA
class ElectraSpecBuilder(BaseSpecBuilder):
fork: str = ELECTRA
@classmethod
def imports(cls, preset_name: str):
return f'''
from eth2spec.deneb import {preset_name} as deneb
'''