core: remove unused method and delete claude comment

This commit is contained in:
Jared Wasinger 2026-03-31 22:18:00 -04:00
parent fb6a02aa81
commit 03d4efd8df
2 changed files with 1 additions and 8 deletions

View file

@ -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)
}

View file

@ -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 {