Skip to content

Commit bc8713e

Browse files
feat(ci): Add static feature to produce fixtures_static (#1491)
* feat(github): Add `legacy` feature to produce `fixtures_legacy` * Apply suggestions from code review Co-authored-by: danceratopz <[email protected]> * Update .github/configs/feature.yaml * Update CHANGELOG.md * fix: changelog * fix: pyproject, pyright to point to the correct directory --------- Co-authored-by: danceratopz <[email protected]>
1 parent 6203535 commit bc8713e

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.github/configs/evm.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ develop:
66
impl: eels
77
repo: null
88
ref: null
9+
static:
10+
impl: evmone
11+
repo: ethereum/evmone
12+
ref: master
13+
targets: ["evmone-t8n", "evmone-eofparse"]
914
eip7692:
1015
impl: evmone
1116
repo: ethereum/evmone

.github/configs/feature.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ develop:
77
evm-type: develop
88
fill-params: --until=Prague
99
solc: 0.8.21
10+
static:
11+
evm-type: static
12+
fill-params: --until=Prague --fill-static-tests ./tests/static
13+
solc: 0.8.21
1014
eip7692:
1115
evm-type: eip7692
1216
fill-params: --fork=Osaka ./tests/osaka

docs/CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ Test fixtures for use by clients are available for each release on the [Github r
88

99
### 💥 Breaking Change
1010

11+
#### `fixtures_static`
12+
13+
A new fixture tarball has been included in this release: `fixtures_static.tar.gz`.
14+
15+
This tarball contains all tests inside of [`./tests/static`](https://github.com/ethereum/execution-spec-tests/tree/main/tests/static), which at this point only contains all tests copied from [`GeneralStateTests` in `ethereum/tests@7dc757ec132e372b6178a016b91f4c639f366c02`](https://github.com/ethereum/tests/tree/7dc757ec132e372b6178a016b91f4c639f366c02/src/GeneralStateTestsFiller).
16+
17+
The tests have been filled using the new static test filler introduced in [#1336](https://github.com/ethereum/execution-spec-tests/pull/1336), and enhanced in [#1362](https://github.com/ethereum/execution-spec-tests/pull/1362) and [#1439](https://github.com/ethereum/execution-spec-tests/pull/1439).
18+
19+
Users can expect that all tests currently living in [ethereum/tests](https://github.com/ethereum/tests/tree/develop/src) should eventually make its way into [`./tests/static`](https://github.com/ethereum/execution-spec-tests/tree/main/tests/static) and can rely that these tests, filled for new forks even, will be included in `fixtures_static.tar.gz`.
20+
1121
### 🛠️ Framework
1222

1323
#### `fill`
@@ -22,7 +32,7 @@ Test fixtures for use by clients are available for each release on the [Github r
2232

2333
-[EIP-7702](https://eips.ethereum.org/EIPS/eip-7702): Test that DELEGATECALL to a 7702 target works as intended ([#1485](https://github.com/ethereum/execution-spec-tests/pull/1485)).
2434
-[EIP-2573](https://eips.ethereum.org/EIPS/eip-2537): Includes a BLS12 point generator, alongside additional coverage many of the precompiles ([#1350](https://github.com/ethereum/execution-spec-tests/pull/1350)).
25-
- ✨ Add all [`GeneralStateTests` from `ethereum/tests`](https://github.com/ethereum/tests/tree/7dc757ec132e372b6178a016b91f4c639f366c02/src/GeneralStateTestsFiller) to `execution-spec-tests` located now at [tests/legacy/state_tests](https://github.com/ethereum/execution-spec-tests/tree/main/tests/legacy/state_tests) ([#1442](https://github.com/ethereum/execution-spec-tests/pull/1442)).
35+
- ✨ Add all [`GeneralStateTests` from `ethereum/tests`](https://github.com/ethereum/tests/tree/7dc757ec132e372b6178a016b91f4c639f366c02/src/GeneralStateTestsFiller) to `execution-spec-tests` located now at [tests/static/state_tests](https://github.com/ethereum/execution-spec-tests/tree/main/tests/static/state_tests) ([#1442](https://github.com/ethereum/execution-spec-tests/pull/1442)).
2636

2737
## [v4.3.0](https://github.com/ethereum/execution-spec-tests/releases/tag/v4.3.0) - 2025-04-18
2838

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ where = ["src"]
113113
exclude = ["*tests*"]
114114

115115
[tool.pyright]
116-
exclude = ["**/legacy/**"]
116+
exclude = ["tests/static/**"]
117117

118118
[tool.setuptools.package-data]
119119
ethereum_test_forks = ["forks/contracts/*.bin"]

0 commit comments

Comments
 (0)