-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature(writer): add support for external decoded data sources #151
feature(writer): add support for external decoded data sources #151
Conversation
fae0f71
to
7984d56
Compare
Re-marking this as draft until print traces pass again Still, open for feedback |
Formatting has been fixed, Foundry tests are now passing: foundry-rs/foundry#8224 |
Can you add tests here too? Using |
Added, please note that it shows the application of patches, not necessarily the full decoding as implemented in Foundry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pending @DaniPopes
Co-authored-by: DaniPopes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Closes: #14
nodes_mut
for mutability of nodes, required for populating added CallTrace fieldsdecoded.label
,decoded.return_data
,decoded.call_data
, wrapped in theDecodedCallTrace
container type.LogData
in aCallLog
to accompany it with additional decoded data fields:decoded.name
,decoded.params
, wrapped in theDecodedCallLog
container type.decoded.contract_name
has not been added as a field as it is only used in Foundry's gas report, not in the current trace render.It is likely that some stylistic updates will be followed up relatively quickly
Related PR: foundry-rs/foundry#8224