We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa80bb1 commit 76b20dbCopy full SHA for 76b20db
eth/tracers/native/gas_dimension_calc.go
@@ -819,17 +819,17 @@ func calcSStoreGas(
819
accessCost := cost - params.SstoreSetGas
820
ret = GasesByDimension{
821
OneDimensionalGasCost: cost,
822
- Computation: params.WarmStorageReadCostEIP2929,
+ Computation: 0,
823
StateAccess: accessCost,
824
- StateGrowth: params.SstoreSetGas - params.WarmStorageReadCostEIP2929,
+ StateGrowth: params.SstoreSetGas,
825
HistoryGrowth: 0,
826
StateGrowthRefund: diff,
827
}
828
} else if cost > 0 {
829
830
831
832
- StateAccess: cost - params.WarmStorageReadCostEIP2929,
+ StateAccess: cost,
833
StateGrowth: 0,
834
835
0 commit comments