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

15 lines
292 B
Python
Raw Normal View History

2024-01-05 10:43:37 +00:00
from typing import Dict
from .base import BaseSpecBuilder
from ..constants import PEERDAS
class PeerDASSpecBuilder(BaseSpecBuilder):
fork: str = PEERDAS
@classmethod
def imports(cls, preset_name: str):
return f'''
from eth2spec.deneb import {preset_name} as deneb
'''