go-ethereum/cmd
Martin Holst Swende 63979bc9cc
cmd/evm, core/state: fix post-exec dump of state (statetests, blockchaintests) (#28504)
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.
2023-11-28 13:54:17 +01:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
bootnode cmd/bootnode: fix timer leak (#27754) 2023-08-01 14:12:11 +02:00
clef cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
devp2p cmd/devp2p/internal/ethtest: undo debug-hack (#28588) 2023-11-23 09:22:09 +01:00
ethkey cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
evm cmd/evm, core/state: fix post-exec dump of state (statetests, blockchaintests) (#28504) 2023-11-28 13:54:17 +01:00
geth cmd/evm, core/state: fix post-exec dump of state (statetests, blockchaintests) (#28504) 2023-11-28 13:54:17 +01:00
p2psim all: replace some cases of strings.SplitN with strings.Cut (#28446) 2023-11-15 14:42:33 +01:00
rlpdump cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
utils cmd, les, tests: remove light client code (#28586) 2023-11-23 16:28:26 +02:00