Skip to content

Commit

Permalink
src/tools: Update invalid test_filler fixtures & pass tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Sep 26, 2023
1 parent 9955219 commit 0b3dc3e
Show file tree
Hide file tree
Showing 3 changed files with 227 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/ethereum_test_tools/spec/state_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
FixtureHeader,
Hash,
HeaderNonce,
InvalidFixtureBlock,
Number,
Transaction,
ZeroPaddedHexNumber,
Expand Down Expand Up @@ -128,7 +129,7 @@ def make_blocks(
chain_id=1,
eips: Optional[List[int]] = None,
) -> Tuple[
Optional[List[FixtureBlock]],
Optional[List[FixtureBlock | InvalidFixtureBlock]],
Optional[List[Optional[FixtureEngineNewPayload]]],
Hash,
Dict[str, Any],
Expand Down
2 changes: 0 additions & 2 deletions src/ethereum_test_tools/tests/test_filler.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ def test_fill_state_test(fork: Fork, expected_json_file: str, enable_hive: bool)

fixture_json = to_json(fixture)
remove_info(fixture_json)
with open("gen.json", "w") as fr:
json.dump(fixture_json, fr, indent=4)
assert fixture_json == expected


Expand Down
Loading

0 comments on commit 0b3dc3e

Please sign in to comment.