go-ethereum/core/state
Matthieu Vachon d444c54548 Fixed wrong assumption about SelfDestruct having only at max one withdraw balance change
It appears a self destruct can really lead to 3 balance changes, 2 of which are withdraw of the money if the contract being self destructed and the self destruct beneficiary are the same.

We thought it was a bug in the Geth tracing API but it appears it's not and we must actually correctly handle that when fixing up balance changes. So we now support the case where there is 2 withdraws, in this case, the old Firehose 2.x was only ever keeping the last one, so we can simply filter it out of the changes to retain backward compatibility.
2025-02-21 16:49:38 -05:00
..
pruner Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
snapshot all: use cmp.Compare (#30958) 2025-01-02 14:06:47 +01:00
access_events.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
access_events_test.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
access_list.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
database.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
dump.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
iterator.go core/state: introduce code reader interface (#30816) 2024-11-29 15:32:45 +01:00
iterator_test.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
journal.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
metrics.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
reader.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
state_object.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00
state_object_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
state_test.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00
statedb.go Removed prev in OnNewAccount as it was unsued 2025-02-20 10:19:05 -05:00
statedb_fuzz_test.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
statedb_hooked.go Fixed wrong assumption about SelfDestruct having only at max one withdraw balance change 2025-02-21 16:49:38 -05:00
statedb_hooked_test.go core/tracing: state journal wrapper (#30441) 2025-02-05 13:58:25 +01:00
statedb_test.go core/tracing: state journal wrapper (#30441) 2025-02-05 13:58:25 +01:00
stateupdate.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00
sync.go core,eth,internal: fix typo (#29024) 2024-02-20 19:42:48 +08:00
sync_test.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00
transient_storage.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
trie_prefetcher.go Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
trie_prefetcher_test.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00