Skip to content

Commit c612ae4

Browse files
committed
fix: merge fixes
1 parent 1366e4d commit c612ae4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ethereum/forks/amsterdam/transactions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def calculate_intrinsic_cost(tx: Transaction) -> Tuple[Uint, Uint]:
603603
)
604604

605605
# Data token floor cost for access list bytes.
606-
access_list_cost += tokens_in_access_list * GAS_TX_DATA_TOKEN_FLOOR
606+
access_list_cost += tokens_in_access_list * GasCosts.TX_DATA_TOKEN_FLOOR
607607

608608
auth_cost = Uint(0)
609609
if isinstance(tx, SetCodeTransaction):
@@ -619,7 +619,7 @@ def calculate_intrinsic_cost(tx: Transaction) -> Tuple[Uint, Uint]:
619619

620620
# Floor gas cost (EIP-7623: minimum gas for data-heavy transactions).
621621
data_floor_gas_cost = (
622-
total_floor_tokens * GAS_TX_DATA_TOKEN_FLOOR + GAS_TX_BASE
622+
total_floor_tokens * GasCosts.TX_DATA_TOKEN_FLOOR + GasCosts.TX_BASE
623623
)
624624

625625
return (

0 commit comments

Comments
 (0)