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.logSize = 0
|
||||||
csdb.preimages = []preimageEntry{}
|
csdb.preimages = []preimageEntry{}
|
||||||
csdb.hashToPreimageIndex = make(map[ethcmn.Hash]int)
|
csdb.hashToPreimageIndex = make(map[ethcmn.Hash]int)
|
||||||
|
csdb.accessList = newAccessList()
|
||||||
|
|
||||||
csdb.clearJournalAndRefund()
|
csdb.clearJournalAndRefund()
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user