Skip to content

core/state/statedb.go — Version Comparison

v1.17.3 v1.17.4
Branch etc/v1.17.3-full-node etc/v1.17.4-full-node
Delta +1 -1 +1 -1
ETC delta on v1.17.3 (+1 -1)
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)
        }
    }
ETC delta on v1.17.4 (+1 -1)
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 Version Comparison