2023-06-26 10:01:56 +00:00
|
|
|
from .base import BaseSpecBuilder
|
2024-02-16 04:29:00 +00:00
|
|
|
from ..constants import ELECTRA
|
2023-06-26 10:01:56 +00:00
|
|
|
|
|
|
|
|
2024-02-16 04:29:00 +00:00
|
|
|
class ElectraSpecBuilder(BaseSpecBuilder):
|
|
|
|
fork: str = ELECTRA
|
2023-06-26 10:01:56 +00:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def imports(cls, preset_name: str):
|
|
|
|
return f'''
|
|
|
|
from eth2spec.deneb import {preset_name} as deneb
|
|
|
|
'''
|