Skip to content

Commit 4b7ec5c

Browse files
committed
docs(specs): rename 'finalize' to 'normalize' in comments
1 parent 9fce100 commit 4b7ec5c

File tree

1 file changed

+3
-3
lines changed
  • src/ethereum/forks/amsterdam/block_access_lists

1 file changed

+3
-3
lines changed

src/ethereum/forks/amsterdam/block_access_lists/tracker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class StateChangeTracker:
9797
"""
9898
Cache of pre-transaction balance values, keyed by address.
9999
This cache is cleared at the start of each transaction and used by
100-
finalize_transaction_changes to filter out balance changes where
100+
normalize_balance_changes to filter out balance changes where
101101
the final balance equals the initial balance.
102102
"""
103103

@@ -293,7 +293,7 @@ def capture_pre_balance(
293293
to ensure we capture the pre-transaction balance correctly. The cache is
294294
cleared at the beginning of each transaction.
295295
296-
This is used by finalize_transaction_changes to determine which balance
296+
This is used by normalize_balance_changes to determine which balance
297297
changes should be filtered out.
298298
299299
Parameters
@@ -454,7 +454,7 @@ def handle_in_transaction_selfdestruct(
454454
code changes from the current transaction are also removed.
455455
456456
Note: Balance changes are handled separately by
457-
finalize_transaction_changes.
457+
normalize_balance_changes.
458458
459459
Parameters
460460
----------

0 commit comments

Comments
 (0)