go-ethereum/core/state/snapshot
rjl493456442 261029b29a core/state/snapshot: fix storage issue
If an account is deleted in the tx_1 but recreated in the tx_2,
the it can happen that in this diff layer, both destructedSet
and storageData records this account. In this case, the storage
iterator should be able to iterate the slots belong to new account
but disable further iteration in deeper layers(belong to old account)
2020-04-26 19:44:54 +08:00
..
account.go core: initial version of state snapshots 2020-02-25 12:51:04 +02:00
conversion.go core/state/snapshot, tests: implement helper function 2020-04-26 16:06:56 +08:00
difflayer.go core/state/snapshot: fix storage issue 2020-04-26 19:44:54 +08:00
difflayer_test.go core/state/snapshot: implement storage iterator 2020-04-26 15:04:57 +08:00
disklayer.go core/state: extend snapshotter to handle account resurrections 2020-03-03 15:52:00 +02:00
disklayer_test.go all: seperate consensus error and evm internal error (#20830) 2020-04-22 11:25:36 +03:00
generate.go core/state/snapshot, tests: sync snap gen + snaps in consensus tests 2020-03-03 09:17:13 +02:00
iterator.go core/state/snapshot: fix storage issue 2020-04-26 19:44:54 +08:00
iterator_binary.go core/state/snapshot: fix storage issue 2020-04-26 19:44:54 +08:00
iterator_fast.go core/state/snapshot: fix storage issue 2020-04-26 19:44:54 +08:00
iterator_test.go core/state/snapshot: fix storage issue 2020-04-26 19:44:54 +08:00
journal.go core/state: extend snapshotter to handle account resurrections 2020-03-03 15:52:00 +02:00
snapshot.go core/state/snapshot: implement storage iterator 2020-04-26 15:04:57 +08:00
snapshot_test.go core/state/snapshot: implement storage iterator 2020-04-26 15:04:57 +08:00
sort.go core: fix broken tests due to API changes + linter 2020-02-25 12:51:16 +02:00
wipe.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
wipe_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00