Skip to content

Commit 35f9158

Browse files
committed
update to latest json fixtures
1 parent da2248b commit 35f9158

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

tests/json_infra/__init__.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@ class _FixtureSource(TypedDict):
2323
"fixture_path": "tests/json_infra/fixtures/ethereum_tests",
2424
},
2525
"latest_fork_tests": {
26-
"url": "https://github.com/ethereum/execution-spec-tests/releases/download/v4.5.0/fixtures_stable.tar.gz",
26+
"url": "https://github.com/ethereum/execution-spec-tests/releases/download/v5.0.0/fixtures_develop.tar.gz",
2727
"fixture_path": "tests/json_infra/fixtures/latest_fork_tests",
2828
},
29-
"osaka_tests": {
30-
"url": "https://github.com/ethereum/execution-spec-tests/releases/download/fusaka-devnet-5%40v1.1.0/fixtures_fusaka-devnet-5.tar.gz",
31-
"fixture_path": "tests/json_infra/fixtures/osaka_tests",
32-
},
3329
}
3430

3531

@@ -60,7 +56,6 @@ def _build_eest_test_paths(base_path: str) -> tuple:
6056
# Base paths
6157
ETHEREUM_TESTS_BASE = _get_fixture_path("ethereum_tests")
6258
EEST_TESTS_BASE = _get_fixture_path("latest_fork_tests")
63-
OSAKA_TESTS_BASE = _get_fixture_path("osaka_tests")
6459

6560
# Ethereum test paths
6661
(
@@ -77,10 +72,6 @@ def _build_eest_test_paths(base_path: str) -> tuple:
7772

7873
# EEST test paths
7974
EEST_BC_TESTS, EEST_STATE_TESTS = _build_eest_test_paths(EEST_TESTS_BASE)
80-
EEST_OSAKA_BC_TESTS, EEST_OSAKA_STATE_TESTS = _build_eest_test_paths(
81-
OSAKA_TESTS_BASE
82-
)
83-
8475

8576
ForkConfig = TypedDict(
8677
"ForkConfig",
@@ -117,11 +108,6 @@ def _create_fork_config(
117108
[STATE_ETHEREUM_TESTS, EEST_STATE_TESTS],
118109
)
119110

120-
OSAKA_DIRS = (
121-
[BC_ETHEREUM_TESTS, EEST_OSAKA_BC_TESTS],
122-
[STATE_ETHEREUM_TESTS, EEST_OSAKA_STATE_TESTS],
123-
)
124-
125111
FORKS: Dict[str, ForkConfig] = {
126112
**{
127113
json_fork: _create_fork_config(eels_fork, *PRE_CONSTANTINOPLE_DIRS)
@@ -149,7 +135,7 @@ def _create_fork_config(
149135
for json_fork, eels_fork in [
150136
("Cancun", "cancun"),
151137
("Prague", "prague"),
138+
("Osaka", "osaka"),
152139
]
153140
},
154-
"Osaka": _create_fork_config("osaka", *OSAKA_DIRS),
155141
}

0 commit comments

Comments
 (0)