Skip to content

core/state/statedb.go

Type MOD
Upstream Lines 1500
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 e6d8b5bff..86aa87210 100644
--- a/core/state/statedb.go
+++ b/core/state/statedb.go
@@ -1427,7 +1427,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