core/vm: fix typo in comment (#26838)

fixes eip 220 ->  2200
This commit is contained in:
xiyang 2023-03-09 17:39:17 +08:00 committed by GitHub
parent b80f05bde2
commit 1bf1168432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ func gasSStore(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySi
return params.NetSstoreDirtyGas, nil return params.NetSstoreDirtyGas, nil
} }
// Here come the EIP220 rules: // Here come the EIP2200 rules:
// //
// (0.) If *gasleft* is less than or equal to 2300, fail the current call. // (0.) If *gasleft* is less than or equal to 2300, fail the current call.
// (1.) If current value equals new value (this is a no-op), SLOAD_GAS is deducted. // (1.) If current value equals new value (this is a no-op), SLOAD_GAS is deducted.