Skip to content

Commit 666cd64

Browse files
authored
feat(fill): Disable --generate-all-formats for static tests (#1998)
* fix(specs/static): Add `pre_alloc_group` to untagged static tests * fix(fill): Don't generate all formats for static tests
1 parent b815fee commit 666cd64

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/cli/pytest_commands/fill.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ def _should_use_two_phase_execution(self, args: List[str]) -> bool:
153153
"--generate-pre-alloc-groups" in args
154154
or "--generate-all-formats" in args
155155
or self._is_tarball_output(args)
156+
) and (
157+
"--fill-static-tests"
158+
not in args # TODO: remove this once we have better grouping for static tests
156159
)
157160

158161
def _ensure_generate_all_formats_for_tarball(self, args: List[str]) -> List[str]:

src/ethereum_test_specs/static_state/state_static.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ def test_state_vectors(
188188
test_state_vectors = pytest.mark.fully_tagged(test_state_vectors)
189189
else:
190190
test_state_vectors = pytest.mark.untagged(test_state_vectors)
191+
test_state_vectors = pytest.mark.pre_alloc_group(
192+
"separate", reason="Uses hard-coded addresses"
193+
)(test_state_vectors)
191194

192195
return test_state_vectors
193196

0 commit comments

Comments
 (0)