feat(fw): add pretty printing of vm traces #433
Labels
good first issue
Good for newcomers
scope:fw
Scope: Framework (evm|tools|forks|pytest)
type:feat
type: Feature
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):
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:
The text was updated successfully, but these errors were encountered: