forked from cerc-io/plugeth
63979bc9cc
There were several problems related to dumping state. - If a preimage was missing, even if we had set the `OnlyWithAddresses` to `false`, to export them anyway, the way the mapping was constructed (using `common.Address` as key) made the entries get lost anyway. Concerns both state- and blockchain tests. - Blockchain test execution was not configured to store preimages. This changes makes it so that the block test executor takes a callback, just like the state test executor already does. This callback can be used to examine the post-execution state, e.g. to aid debugging of test failures. |
||
---|---|---|
.. | ||
pruner | ||
snapshot | ||
access_list.go | ||
database.go | ||
dump.go | ||
iterator_test.go | ||
iterator.go | ||
journal.go | ||
metrics.go | ||
state_object_test.go | ||
state_object.go | ||
state_test.go | ||
statedb_fuzz_test.go | ||
statedb_test.go | ||
statedb.go | ||
sync_test.go | ||
sync.go | ||
transient_storage.go | ||
trie_prefetcher_test.go | ||
trie_prefetcher.go |