core: undo unnecessary fix

This commit is contained in:
MariusVanDerWijden 2026-07-13 12:08:02 +02:00
parent 3f24128b89
commit ae25892c8a
No known key found for this signature in database

View file

@ -1079,7 +1079,7 @@ func (st *stateTransition) applyAuthorization(rules params.Rules, auth *types.Se
track.written = true
}
// Durable state growth of the new account
if !st.state.Exist(authority) {
if st.state.Empty(authority) {
cost.StateGas += params.AccountCreationSize * st.evm.Context.CostPerStateByte
}
// Charge the net-new indicator bytes at most once per authority;