Add support for trace logging in anvil #9887
Labels
C-anvil
Command: anvil
first issue
A good way to start contributing
T-blocked
Type: blocked
T-feature
Type: feature
Component
Anvil
Describe the feature you would like
in forge t -vvvv we log nice traces:
it would be nice to have this as an option in anvil as well, we already have inspector support:
foundry/crates/anvil/src/eth/backend/mem/inspector.rs
Lines 19 to 21 in e5ec47b
that logs logs:
foundry/crates/anvil/src/eth/backend/executor.rs
Line 348 in e5ec47b
we can install another tracer that emits traces via
TracingInspector
ref:
foundry/crates/evm/evm/src/inspectors/stack.rs
Lines 448 to 463 in e5ec47b
and
foundry/crates/evm/traces/src/lib.rs
Lines 187 to 190 in e5ec47b
this should be configured via a new avil cli arg for
--print-traces
Additional context
No response
The text was updated successfully, but these errors were encountered: