88import textwrap
99import time
1010from abc import abstractmethod
11- from dataclasses import dataclass , field
11+ from dataclasses import dataclass
1212from pathlib import Path
1313from typing import Any , Dict , List , Mapping , Optional , Type
1414from urllib .parse import urlencode
1717from requests .exceptions import ConnectionError as RequestsConnectionError
1818from requests_unixsocket import Session # type: ignore
1919
20+ from ethereum_test_base_types import BlobSchedule
2021from ethereum_test_exceptions import ExceptionMapper
2122from ethereum_test_fixtures import FixtureFormat , FixtureVerifier
2223from ethereum_test_forks import Fork
@@ -136,9 +137,10 @@ class TransitionToolData:
136137 txs : List [Transaction ]
137138 env : Environment
138139 fork_name : str
139- chain_id : int = field (default = 1 )
140- reward : int = field (default = 0 )
141- state_test : bool = field (default = False )
140+ chain_id : int
141+ reward : int
142+ blob_schedule : BlobSchedule | None
143+ state_test : bool
142144
143145 def to_input (self ) -> TransitionToolInput :
144146 """Convert the data to a TransactionToolInput object."""
@@ -155,6 +157,7 @@ def get_request_data(self) -> TransitionToolRequest:
155157 fork = self .fork_name ,
156158 chain_id = self .chain_id ,
157159 reward = self .reward ,
160+ blob_schedule = self .blob_schedule ,
158161 ),
159162 input = self .to_input (),
160163 )
@@ -474,8 +477,9 @@ def evaluate(
474477 txs : List [Transaction ],
475478 env : Environment ,
476479 fork : Fork ,
477- chain_id : int = 1 ,
478- reward : int = 0 ,
480+ chain_id : int ,
481+ reward : int ,
482+ blob_schedule : BlobSchedule | None ,
479483 eips : Optional [List [int ]] = None ,
480484 debug_output_path : str = "" ,
481485 state_test : bool = False ,
@@ -502,6 +506,7 @@ def evaluate(
502506 fork_name = fork_name ,
503507 chain_id = chain_id ,
504508 reward = reward ,
509+ blob_schedule = blob_schedule ,
505510 state_test = state_test ,
506511 )
507512
0 commit comments