foundry-rs / foundry-rs/foundry

feat(forge): truncate large data in execution traces

Open
#10,305 5 comments 0 reactions 0 assignees View on GitHub
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

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.