File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/prague/eip7623_increase_calldata_cost Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020from ethereum_test_tools import Opcodes as Op
2121from ethereum_test_tools import Transaction , TransactionException
2222
23- from .helpers import DataTestType , floor_cost_find
23+ from .helpers import DataTestType , find_floor_cost_threshold
2424
2525
2626@pytest .fixture
@@ -209,7 +209,7 @@ def transaction_data_floor_cost_calculator(tokens: int) -> int:
209209 else :
210210 return Bytes (b"\0 " )
211211
212- tokens = floor_cost_find (
212+ tokens = find_floor_cost_threshold (
213213 floor_data_gas_cost_calculator = transaction_data_floor_cost_calculator ,
214214 intrinsic_gas_cost_calculator = transaction_intrinsic_cost_calculator ,
215215 )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class DataTestType(Enum):
1515 FLOOR_GAS_COST_GREATER_THAN_INTRINSIC_GAS = auto ()
1616
1717
18- def floor_cost_find (
18+ def find_floor_cost_threshold (
1919 floor_data_gas_cost_calculator : Callable [[int ], int ],
2020 intrinsic_gas_cost_calculator : Callable [[int ], int ],
2121) -> int :
You can’t perform that action at this time.
0 commit comments