From bbb2b30506f1b1a2365a61c8cd8196e5864489e3 Mon Sep 17 00:00:00 2001 From: Afanasii Kurakin Date: Fri, 18 Jun 2021 13:15:51 +0300 Subject: [PATCH] params: fix typo in gas cost comments (#23065) --- params/protocol_params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/params/protocol_params.go b/params/protocol_params.go index a49c4489f1..7abb2441bf 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -38,7 +38,7 @@ const ( Sha3Gas uint64 = 30 // Once per SHA3 operation. Sha3WordGas uint64 = 6 // Once per word of the SHA3 operation's data. - SstoreSetGas uint64 = 20000 // Once per SLOAD operation. + SstoreSetGas uint64 = 20000 // Once per SSTORE operation. SstoreResetGas uint64 = 5000 // Once per SSTORE operation if the zeroness changes from zero. SstoreClearGas uint64 = 5000 // Once per SSTORE operation if the zeroness doesn't change. SstoreRefundGas uint64 = 15000 // Once per SSTORE operation if the zeroness changes to zero.