Skip to content

Commit 5f132e7

Browse files
authored
refactor(specs): remove unused regular gas constants in amsterdam (#2971)
1 parent 505c4a4 commit 5f132e7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • src/ethereum/forks/amsterdam/vm

src/ethereum/forks/amsterdam/vm/gas.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,18 @@ class GasCosts:
6868
COLD_STORAGE_ACCESS: Final[Uint] = Uint(2100)
6969

7070
# Storage
71-
STORAGE_SET: Final[Uint] = Uint(20000)
7271
COLD_STORAGE_WRITE: Final[Uint] = Uint(5000)
7372

7473
# Call
7574
CALL_VALUE: Final[Uint] = Uint(9000)
7675
CALL_STIPEND: Final[Uint] = Uint(2300)
77-
NEW_ACCOUNT: Final[Uint] = Uint(25000)
7876

7977
# Contract Creation
8078
CODE_DEPOSIT_PER_BYTE: Final[Uint] = Uint(200)
8179
CODE_INIT_PER_WORD: Final[Uint] = Uint(2)
8280
REGULAR_GAS_CREATE: Final[Uint] = Uint(9000)
8381

8482
# Authorization
85-
AUTH_PER_EMPTY_ACCOUNT: Final[int] = 25000
8683
PER_AUTH_BASE_COST: Final[Uint] = Uint(7500)
8784

8885
# Utility
@@ -218,7 +215,6 @@ class GasCosts:
218215
OPCODE_LOG_DATA_PER_BYTE: Final[Uint] = Uint(8)
219216
OPCODE_LOG_TOPIC: Final[Uint] = Uint(375)
220217
OPCODE_SELFDESTRUCT_BASE: Final[Uint] = Uint(5000)
221-
OPCODE_SELFDESTRUCT_NEW_ACCOUNT: Final[Uint] = Uint(25000)
222218

223219

224220
@final

0 commit comments

Comments
 (0)