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

13 lines
302 B
Python
Raw Normal View History

2023-06-26 10:07:48 +00:00
from .base import BaseSpecBuilder
from ..constants import EIP7002
class EIP7002SpecBuilder(BaseSpecBuilder):
fork: str = EIP7002
@classmethod
def imports(cls, preset_name: str):
return super().imports(preset_name) + f'''
from eth2spec.capella import {preset_name} as capella
'''