ethereum / ethereum/execution-specs
feat(fw): add pretty printing of vm traces
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 505
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 116
Description
Currently, `fill --traces -s` does print vm traces to the terminal if a test fails (note `-s` to prevent pytest from capturing stdout), but they're rather ugly. It'd be nice to have a more compact pretty print of these traces.
For example (assuming the test has been modified to fail upon filling):
```console
fill tests/berlin/eip2930_access_list/ --fork Berlin --evm-dump-dir=/tmp/evm-dump --traces -s
```
Screenshot:

Here's an example of a clean trace representation from retesteth:

Contributor guide
Assessment
This issue has not been assessed yet.