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

This commit is contained in:
aaronbuchwald 2021-04-30 06:46:34 -04:00 committed by GitHub
parent bb43cd7a79
commit 8130dd5cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const (
WarmStorageReadCostEIP2929 = uint64(100) // WARM_STORAGE_READ_COST WarmStorageReadCostEIP2929 = uint64(100) // WARM_STORAGE_READ_COST
) )
// gasSStoreEIP2929 implements gas cost for SSTORE according to EIP-2929" // gasSStoreEIP2929 implements gas cost for SSTORE according to EIP-2929
// //
// When calling SSTORE, check if the (address, storage_key) pair is in accessed_storage_keys. // When calling SSTORE, check if the (address, storage_key) pair is in accessed_storage_keys.
// If it is not, charge an additional COLD_SLOAD_COST gas, and add the pair to accessed_storage_keys. // If it is not, charge an additional COLD_SLOAD_COST gas, and add the pair to accessed_storage_keys.