From 3c3edbe8bb13730fb88d71b9100d1d5e0f1f3e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Wahrst=C3=A4tter?= <51536394+nerolation@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:49:48 +0200 Subject: [PATCH] Update src/ethereum/prague/fork.py Co-authored-by: Tanishq Jasoria --- src/ethereum/prague/fork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ethereum/prague/fork.py b/src/ethereum/prague/fork.py index fb3be60a7c..1bb021e0b1 100644 --- a/src/ethereum/prague/fork.py +++ b/src/ethereum/prague/fork.py @@ -964,7 +964,7 @@ def calculate_intrinsic_cost(tx: Transaction) -> Tuple[Uint, Uint]: tokens_in_calldata = zerobytes + (len(tx.data) - zerobytes) * 4 - data_cost = tokens_in_calldata * FLOOR_CALLDATA_COST + data_cost = tokens_in_calldata * STANDARD_CALLDATA_TOKEN_COST if tx.to == Bytes0(b""): create_cost = TX_CREATE_COST + int(init_code_cost(Uint(len(tx.data))))