mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-20 22:38:11 +00:00
PR feedback
This commit is contained in:
parent
4d5bc83af4
commit
7a14e93c65
7
setup.py
7
setup.py
@ -312,8 +312,9 @@ class SpecBuilder(ABC):
|
||||
raise NotImplementedError()
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def implement_optimizations(cls, functions: Dict[str, str]) -> Dict[str, str]:
|
||||
return functions
|
||||
raise NotImplementedError()
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
@ -439,6 +440,10 @@ get_attesting_indices = cache_this(
|
||||
def invariant_checks(cls) -> str:
|
||||
return ''
|
||||
|
||||
@classmethod
|
||||
def implement_optimizations(cls, functions: Dict[str, str]) -> Dict[str, str]:
|
||||
return functions
|
||||
|
||||
@classmethod
|
||||
def build_spec(cls, preset_name: str,
|
||||
source_files: Sequence[Path], preset_files: Sequence[Path], config_file: Path) -> str:
|
||||
|
Loading…
x
Reference in New Issue
Block a user