go-ethereum/triedb
rjl493456442 a840e9b59f
triedb/pathdb: fix state revert on v2 history (#31060)
State history v2 has been shipped and will take effect after the Cancun fork.
However, the state revert function does not differentiate between v1 and v2,
instead blindly using the storage map key for state reversion. 

This mismatch between the keys of the live state set and the state history
can trigger a panic: `non-existent storage slot for reverting`.

This flaw has been fixed in this PR.
2025-01-22 14:06:36 +01:00
..
database core/state, triedb/database: refactor state reader (#30712) 2024-11-09 08:08:06 +08:00
hashdb cmd, core, miner: rework genesis setup (#30907) 2025-01-14 11:49:30 +01:00
pathdb triedb/pathdb: fix state revert on v2 history (#31060) 2025-01-22 14:06:36 +01:00
database.go cmd, core, miner: rework genesis setup (#30907) 2025-01-14 11:49:30 +01:00
history.go cmd, triedb: implement history inspection (#29267) 2024-03-22 20:12:10 +08:00
preimages.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
states.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00