From ffbe46464ecf313892a1a707701fcfa2c6a1342a Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Mon, 23 Mar 2026 21:30:00 +0800 Subject: [PATCH] core: reuse chain rule --- core/state_transition.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/state_transition.go b/core/state_transition.go index ddf4cb9ea5..52375bedaa 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -583,8 +583,7 @@ func (st *stateTransition) execute() (*ExecutionResult, error) { st.evm.AccessEvents.AddAccount(st.evm.Context.Coinbase, true, math.MaxUint64) } } - // TODO(rjl493456442) export evm.chainRules - if st.evm.ChainConfig().IsAmsterdam(st.evm.Context.BlockNumber, st.evm.Context.Time) { + if rules.IsAmsterdam { st.evm.StateDB.EmitLogsForBurnAccounts() } return &ExecutionResult{