Unverified Commit 1bf11684 authored by xiyang's avatar xiyang Committed by GitHub

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

fixes eip 220 ->  2200
parent b80f05bd
...@@ -163,7 +163,7 @@ func gasSStore(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySi ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment