Skip to content

Commit 854e13f

Browse files
Apply suggestions from code review
Co-authored-by: danceratopz <[email protected]>
1 parent 95229c9 commit 854e13f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/prague/eip7623_increase_calldata_cost/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from ethereum_test_tools import Opcodes as Op
2121
from 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
)

tests/prague/eip7623_increase_calldata_cost/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)