Skip to content

Commit

Permalink
fix issue after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny2022da committed Sep 25, 2024
1 parent d03c218 commit d8c3613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/parallel_statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ func (s *ParallelStateDB) reset() {
s.parallel.nonceChangesInSlot = addressToStructPool.Get().(map[common.Address]struct{})
s.parallel.nonceReadsInSlot = addressToUintPool.Get().(map[common.Address]uint64)
s.parallel.balanceChangesInSlot = addressToStructPool.Get().(map[common.Address]struct{})
s.parallel.balanceReadsInSlot = balancePool.Get().(map[common.Address]*big.Int)
s.parallel.balanceReadsInSlot = balancePool.Get().(map[common.Address]*uint256.Int)
s.parallel.locatStateObjects = addressToStateObjectsPool.Get().(map[common.Address]*stateObject)
s.parallel.codeReadsInSlot = addressToBytesPool.Get().(map[common.Address][]byte)
s.parallel.codeHashReadsInSlot = addressToHashPool.Get().(map[common.Address]common.Hash)
Expand Down
1 change: 1 addition & 0 deletions core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ func (s *StateDB) SelfDestruct(addr common.Address) {
})
stateObject.markSelfdestructed()
stateObject.data.Balance = new(uint256.Int)
stateObject.dirtyBalance = new(uint256.Int)
}

func (s *StateDB) Selfdestruct6780(addr common.Address) {
Expand Down

0 comments on commit d8c3613

Please sign in to comment.