Hsiao-Wei Wang f1aabcd718
Refactor setup.py (#3393)
* Refactor setup.py

* Update doc with the new file path

* Rearrange spec_builders

* Update doc
2023-06-26 18:01:56 +08:00

13 lines
267 B
Python

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