Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
evm: reset accessList in EndBlock (#709)
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Kunze <[email protected]>
  • Loading branch information
summerpro and fedekunze authored Jan 19, 2021
1 parent cfe629c commit 0fe6353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/evm/types/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fe6353

Please sign in to comment.