diff --git a/core/gaspool.go b/core/gaspool.go index 690882c7b1..418b09e810 100644 --- a/core/gaspool.go +++ b/core/gaspool.go @@ -132,12 +132,6 @@ func (gp *GasPool) Set(other *GasPool) { gp.cumulativeState = other.cumulativeState } -// AmsterdamDimensions returns the per-dimension cumulative gas values -// for 2D gas accounting (EIP-8037). -func (gp *GasPool) AmsterdamDimensions() (regular, state uint64) { - return gp.cumulativeRegular, gp.cumulativeState -} - func (gp *GasPool) String() string { return fmt.Sprintf("initial: %d, remaining: %d, cumulative used: %d", gp.initial, gp.remaining, gp.cumulativeUsed) } diff --git a/core/state_processor.go b/core/state_processor.go index 88b15c9251..5b37679c80 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -203,8 +203,7 @@ func MakeReceipt(evm *vm.EVM, result *ExecutionResult, statedb *state.StateDB, b } receipt.TxHash = tx.Hash() - // GasUsed = max(tx_gas_used - gas_refund, calldata_floor_gas_cost), unchanged - // in the Amsterdam fork. + // GasUsed = max(tx_gas_used - gas_refund, calldata_floor_gas_cost) receipt.GasUsed = result.UsedGas if tx.Type() == types.BlobTxType {