foundry-rs / foundry-rs/foundry
feat(forge): truncate large data in execution traces
Open
A-tracing
C-forge
T-feature
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Forge
### Describe the feature you would like
from @hexonaut - add an arg to truncate function call input/output in the execution trace - we have some functions that pass large byte arrays and it makes the execution trace pretty useless.
### Additional context
- should be handled as a config in revm-insepctor TraceWriter in https://github.com/paradigmxyz/revm-inspectors/blob/bf724817ce484cf241076d2915d162e47a46f326/src/tracing/writer.rs#L102-L106
Edit: Started on revm-inspectors side https://github.com/paradigmxyz/revm-inspectors/pull/283
Contributor guide
Assessment
This issue has not been assessed yet.