Skip to content

core/state/statedb.go

Type MOD
Upstream Lines 1546
Changed +1 -1

Honour IsSpiral as an EIP-3651 (warm coinbase) activator, since ETC enables it via Spiral without full Shanghai

diff --git a/core/state/statedb.go b/core/state/statedb.go
index 1c49d4602..8af124822 100644
--- a/core/state/statedb.go
+++ b/core/state/statedb.go
@@ -1473,7 +1473,7 @@ func (s *StateDB) Prepare(rules params.Rules, sender, coinbase common.Address, d
                al.AddSlot(el.Address, key)
            }
        }
-       if rules.IsShanghai { // EIP-3651: warm coinbase
+       if rules.IsShanghai || rules.IsSpiral { // EIP-3651: warm coinbase
            al.AddAddress(coinbase)
        }
    }

← Back to Core & EVM