|
6 | 6 | from pathlib import Path
|
7 | 7 | from typing import List, Literal, Mapping, Optional, Sized, Tuple
|
8 | 8 |
|
9 |
| -from semver import Version |
10 |
| - |
11 | 9 | from ethereum_test_base_types import AccessList, Address, BlobSchedule, Bytes, ForkBlobSchedule
|
12 | 10 | from ethereum_test_base_types.conversions import BytesConvertible
|
13 | 11 | from ethereum_test_vm import EVMCodeType, Opcodes
|
@@ -46,11 +44,6 @@ def solc_name(cls) -> str:
|
46 | 44 | return cls._solc_name
|
47 | 45 | return cls.name().lower()
|
48 | 46 |
|
49 |
| - @classmethod |
50 |
| - def solc_min_version(cls) -> Version: |
51 |
| - """Return minimum version of solc that supports this fork.""" |
52 |
| - return Version.parse("0.8.20") |
53 |
| - |
54 | 47 | @classmethod
|
55 | 48 | def header_base_fee_required(cls, block_number: int = 0, timestamp: int = 0) -> bool:
|
56 | 49 | """At genesis, header must not contain base fee."""
|
@@ -929,11 +922,6 @@ def get_blob_constant(cls, name: str) -> int | Literal["big"]:
|
929 | 922 | )
|
930 | 923 | return retrieved_constant
|
931 | 924 |
|
932 |
| - @classmethod |
933 |
| - def solc_min_version(cls) -> Version: |
934 |
| - """Return minimum version of solc that supports this fork.""" |
935 |
| - return Version.parse("0.8.24") |
936 |
| - |
937 | 925 | @classmethod
|
938 | 926 | def header_excess_blob_gas_required(cls, block_number: int = 0, timestamp: int = 0) -> bool:
|
939 | 927 | """Excess blob gas is required starting from Cancun."""
|
@@ -1131,11 +1119,6 @@ def is_deployed(cls) -> bool:
|
1131 | 1119 | """
|
1132 | 1120 | return False
|
1133 | 1121 |
|
1134 |
| - @classmethod |
1135 |
| - def solc_min_version(cls) -> Version: |
1136 |
| - """Return minimum version of solc that supports this fork.""" |
1137 |
| - return Version.parse("1.0.0") # set a high version; currently unknown |
1138 |
| - |
1139 | 1122 | @classmethod
|
1140 | 1123 | def precompiles(cls, block_number: int = 0, timestamp: int = 0) -> List[Address]:
|
1141 | 1124 | """
|
@@ -1421,11 +1404,6 @@ def valid_opcodes(
|
1421 | 1404 | Opcodes.CLZ,
|
1422 | 1405 | ] + super(Prague, cls).valid_opcodes()
|
1423 | 1406 |
|
1424 |
| - @classmethod |
1425 |
| - def solc_min_version(cls) -> Version: |
1426 |
| - """Return minimum version of solc that supports this fork.""" |
1427 |
| - return Version.parse("1.0.0") # set a high version; currently unknown |
1428 |
| - |
1429 | 1407 | @classmethod
|
1430 | 1408 | def precompiles(cls, block_number: int = 0, timestamp: int = 0) -> List[Address]:
|
1431 | 1409 | """
|
@@ -1514,8 +1492,3 @@ def is_deployed(cls) -> bool:
|
1514 | 1492 | development.
|
1515 | 1493 | """
|
1516 | 1494 | return False
|
1517 |
| - |
1518 |
| - @classmethod |
1519 |
| - def solc_min_version(cls) -> Version: |
1520 |
| - """Return minimum version of solc that supports this fork.""" |
1521 |
| - return Version.parse("1.0.0") # set a high version; currently unknown |
0 commit comments