Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: danceratopz <[email protected]>
  • Loading branch information
marioevz and danceratopz authored Dec 18, 2024
1 parent 95229c9 commit 854e13f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/prague/eip7623_increase_calldata_cost/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from ethereum_test_tools import Opcodes as Op
from ethereum_test_tools import Transaction, TransactionException

from .helpers import DataTestType, floor_cost_find
from .helpers import DataTestType, find_floor_cost_threshold


@pytest.fixture
Expand Down Expand Up @@ -209,7 +209,7 @@ def transaction_data_floor_cost_calculator(tokens: int) -> int:
else:
return Bytes(b"\0")

tokens = floor_cost_find(
tokens = find_floor_cost_threshold(
floor_data_gas_cost_calculator=transaction_data_floor_cost_calculator,
intrinsic_gas_cost_calculator=transaction_intrinsic_cost_calculator,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/prague/eip7623_increase_calldata_cost/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DataTestType(Enum):
FLOOR_GAS_COST_GREATER_THAN_INTRINSIC_GAS = auto()


def floor_cost_find(
def find_floor_cost_threshold(
floor_data_gas_cost_calculator: Callable[[int], int],
intrinsic_gas_cost_calculator: Callable[[int], int],
) -> int:
Expand Down

0 comments on commit 854e13f

Please sign in to comment.