Skip to content

Commit 2365d77

Browse files
author
Darioush Jalali
authored
core/vm: update comments to match eip number (#28743)
1 parent 33c94ef commit 2365d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/vm/operations_acl.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ var (
197197
gasStaticCallEIP2929 = makeCallVariantGasCallEIP2929(gasStaticCall)
198198
gasCallCodeEIP2929 = makeCallVariantGasCallEIP2929(gasCallCode)
199199
gasSelfdestructEIP2929 = makeSelfdestructGasFn(true)
200-
// gasSelfdestructEIP3529 implements the changes in EIP-2539 (no refunds)
200+
// gasSelfdestructEIP3529 implements the changes in EIP-3529 (no refunds)
201201
gasSelfdestructEIP3529 = makeSelfdestructGasFn(false)
202202

203203
// gasSStoreEIP2929 implements gas cost for SSTORE according to EIP-2929
@@ -214,12 +214,12 @@ var (
214214
// see gasSStoreEIP2200(...) in core/vm/gas_table.go for more info about how EIP 2200 is specified
215215
gasSStoreEIP2929 = makeGasSStoreFunc(params.SstoreClearsScheduleRefundEIP2200)
216216

217-
// gasSStoreEIP2539 implements gas cost for SSTORE according to EIP-2539
217+
// gasSStoreEIP3529 implements gas cost for SSTORE according to EIP-3529
218218
// Replace `SSTORE_CLEARS_SCHEDULE` with `SSTORE_RESET_GAS + ACCESS_LIST_STORAGE_KEY_COST` (4,800)
219219
gasSStoreEIP3529 = makeGasSStoreFunc(params.SstoreClearsScheduleRefundEIP3529)
220220
)
221221

222-
// makeSelfdestructGasFn can create the selfdestruct dynamic gas function for EIP-2929 and EIP-2539
222+
// makeSelfdestructGasFn can create the selfdestruct dynamic gas function for EIP-2929 and EIP-3529
223223
func makeSelfdestructGasFn(refundsEnabled bool) gasFunc {
224224
gasFunc := func(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) {
225225
var (

0 commit comments

Comments
 (0)