As recommended by @holiman on https://github.com/holiman/goevmlab/pull/131#issuecomment-2009562191 and @MariusVanDerWijden on discord, we shouldn't be storing EVM trace events longer than necessary. For example, we'd need to change this: https://github.com/ethereum/execution-specs/blob/8fad0e6b6d89313a639bea55f6942cd666b1afd9/src/ethereum_spec_tools/evm_tools/t8n/evm_trace.py#L207 And remove this: https://github.com/ethereum/execution-specs/blob/119208cf1a13d5002074bcee3b8ea4ef096eeb0d/src/ethereum/shanghai/vm/__init__.py#L47
As recommended by @holiman on holiman/goevmlab#131 (comment) and @MariusVanDerWijden on discord, we shouldn't be storing EVM trace events longer than necessary.
For example, we'd need to change this:
execution-specs/src/ethereum_spec_tools/evm_tools/t8n/evm_trace.py
Line 207 in 8fad0e6
And remove this:
execution-specs/src/ethereum/shanghai/vm/__init__.py
Line 47 in 119208c