mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
core: reuse chain rule
This commit is contained in:
parent
cac38e56f5
commit
ffbe46464e
1 changed files with 1 additions and 2 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Reference in a new issue