diff --git a/core/state_processor.go b/core/state_processor.go index 09cc4b1722..c13b696022 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -155,7 +155,9 @@ func ApplyTransactionWithEVM(msg *Message, config *params.ChainConfig, gp *GasPo // Merge the tx-local access event into the "block-local" one, in order to collect // all values, so that the witness can be built. - statedb.AccessEvents().Merge(evm.AccessEvents) + if statedb.GetTrie().IsVerkle() { + statedb.AccessEvents().Merge(evm.AccessEvents) + } // Set the receipt logs and create the bloom filter. receipt.Logs = statedb.GetLogs(tx.Hash(), blockNumber.Uint64(), blockHash)