decomplect: strip upgrade-name comments

This commit is contained in:
Hanzo AI
2026-05-19 08:12:14 -07:00
parent 070cd1114f
commit 1929e4346b
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -642,7 +642,6 @@ func (st *stateTransition) applyAuthorization(auth *types.SetCodeAuthorization)
// calcRefund computes refund counter, capped to a refund quotient.
func (st *stateTransition) calcRefund() uint64 {
// EVM compatibility: gas refunds are disabled (ApricotPhase1 behavior)
// This matches coreth/evm where refunds were disabled from genesis
if st.evm.ChainConfig().IsEVM(st.evm.Context.Time) {
return 0
-2
View File
@@ -540,7 +540,6 @@ type ChainConfig struct {
// Lux EVM activation. When EVMTimestamp is set, the chain uses Lux EVM
// gas accounting:
// - Coinbase receives full gas payment (no EIP-1559 burning)
// - Gas refunds are disabled (ApricotPhase1 behavior)
// Single canonical field — no aliases. Old `subnetEVMTimestamp` is gone.
EVMTimestamp *uint64 `json:"evmTimestamp,omitempty"` // EVM activation time (nil = standard geth, 0 = always EVM)
@@ -1020,7 +1019,6 @@ func (c *ChainConfig) IsVerkleGenesis() bool {
// IsEVM returns whether time is either equal to the EVM activation time or greater.
// When active, the chain uses Lux EVM gas accounting:
// - Coinbase receives full gas payment (no EIP-1559 base fee burning)
// - Gas refunds are disabled (ApricotPhase1 behavior)
func (c *ChainConfig) IsEVM(time uint64) bool {
return isTimestampForked(c.EVMTimestamp, time)
}