Skip to content

Commit

Permalink
tools: StateTest default env
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Jan 3, 2024
1 parent 6dbdcb1 commit 5a22b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ethereum_test_tools/spec/state/state_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Ethereum state test spec definition and filler.
"""
from copy import copy
from dataclasses import dataclass
from dataclasses import dataclass, field
from typing import Callable, Generator, List, Mapping, Optional, Type

from ethereum_test_forks import Cancun, Fork
Expand All @@ -27,10 +27,10 @@ class StateTest(BaseTest):
Filler type that tests transactions over the period of a single block.
"""

env: Environment
pre: Mapping
post: Mapping
tx: Transaction
env: Environment = field(default_factory=Environment)
engine_api_error_code: Optional[EngineAPIError] = None
blockchain_test_header_verify: Optional[Header] = None
blockchain_test_rlp_modifier: Optional[Header] = None
Expand Down

0 comments on commit 5a22b2f

Please sign in to comment.