go-ethereum/cmd/evm/internal/t8ntool
fselmo 70111ffdd5 cmd/evm/t8ntool: stream post-state alloc to disk
For file-based alloc output, write each account to the output file as
the state iterator yields it, instead of materializing the full
post-state in an Alloc map and then marshaling it again with
MarshalIndent. Peak memory becomes one account's JSON encoding rather
than the whole post-state plus its indent buffer, which on
benchmark-scale dumps reduced t8n heap_sys peak from ~20 GiB to ~8 GiB
in local profiling.

The on-disk JSON is the same shape saveFile would produce for an Alloc
map. The buffered collector is retained for the stdout/stderr and
binary-trie paths.
2026-04-24 11:52:27 +02:00
..
block.go core/vm: implement eip-7843: SLOTNUM (#33589) 2026-02-26 13:53:46 +01:00
execution.go cmd, core, trie, triedb: split CachingDB into merkle + binary dbs. (#34700) 2026-04-17 08:55:54 +08:00
file_tracer.go cmd/evm: add --opcode.count flag to t8n (#33800) 2026-02-17 20:42:53 +01:00
flags.go cmd/evm: add --opcode.count flag to t8n (#33800) 2026-02-17 20:42:53 +01:00
gen_execresult.go all: implement eip-7702 set code tx (#30078) 2024-12-16 11:29:37 +01:00
gen_header.go core/vm: implement eip-7843: SLOTNUM (#33589) 2026-02-26 13:53:46 +01:00
gen_stenv.go core/vm: implement eip-7843: SLOTNUM (#33589) 2026-02-26 13:53:46 +01:00
transaction.go core: implement eip-7976: Increase Calldata Floor Cost (#34748) 2026-04-21 16:20:02 +08:00
transition.go cmd/evm/t8ntool: stream post-state alloc to disk 2026-04-24 11:52:27 +02:00
tx_iterator.go core/types: cleanup tx signer logic (#31434) 2025-03-19 16:05:44 +01:00
utils.go all: fix typos in comments (#29186) 2024-03-07 22:56:19 +01:00