From 03d4efd8df96c0ec79c9f58259ef3aa8ec41117c Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Tue, 31 Mar 2026 22:18:00 -0400 Subject: [PATCH] core: remove unused method and delete claude comment --- core/gaspool.go | 6 ------ core/state_processor.go | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) 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 {