File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
ethereum_test_specs/static_state/common Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ addopts =
13
13
-p pytest_plugins.filler.pre_alloc
14
14
-p pytest_plugins.filler.filler
15
15
-p pytest_plugins.filler.ported_tests
16
+ -p pytest_plugins.filler.static_filler
16
17
-p pytest_plugins.shared.execute_fill
17
18
-p pytest_plugins.forks.forks
18
19
-p pytest_plugins.eels_resolver
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ def safe_solc_command(
13
13
source_path = Path (source_file )
14
14
if not source_path .exists ():
15
15
raise FileNotFoundError (f"Source file not found: { source_file } " )
16
- if source_path .suffix not in (".yul" , ".sol" ):
17
- raise ValueError (f"Invalid file extension for solc: { source_path .suffix } " )
18
16
19
17
cmd : list [str ] = ["solc" ]
20
18
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ def pytest_configure(config: pytest.Config):
103
103
config .stash [metadata_key ]["Tools" ]["solc" ] = str (solc_version_semver )
104
104
105
105
# Check minimum version requirement
106
+ solc_version_semver = Version .parse (str (solc_version_semver ).split ()[0 ].split ("-" )[0 ])
106
107
if solc_version_semver < SOLC_EXPECTED_MIN_VERSION :
107
108
pytest .exit (
108
109
f"Unsupported solc version: { solc_version_semver } . Minimum required version is "
You can’t perform that action at this time.
0 commit comments