ethereum / ethereum/execution-specs

Emit trace events as they happen instead of storing them

Open
#909 4 comments 0 reactions 0 assignees View on GitHub
A-spec-specs C-feat E-medium P-low stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.