evm: reset accessList in EndBlock (#709)
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
parent
cfe629c14f
commit
0fe6353865
@ -690,6 +690,7 @@ func (csdb *CommitStateDB) Reset(_ ethcmn.Hash) error {
|
||||
csdb.logSize = 0
|
||||
csdb.preimages = []preimageEntry{}
|
||||
csdb.hashToPreimageIndex = make(map[ethcmn.Hash]int)
|
||||
csdb.accessList = newAccessList()
|
||||
|
||||
csdb.clearJournalAndRefund()
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user