-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(writer): add support for external decoded data sources (#151)
Closes: #14 - Add `nodes_mut` for mutability of nodes, required for populating added CallTrace fields - Adds `decoded.label`, `decoded.return_data`, `decoded.call_data`, wrapped in the `DecodedCallTrace` container type. - Wraps the raw `LogData` in a `CallLog` to accompany it with additional decoded data fields: `decoded.name`, `decoded.params`, wrapped in the `DecodedCallLog` 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 --------- Co-authored-by: DaniPopes <[email protected]>
- Loading branch information
1 parent
08c77df
commit bc01e05
Showing
6 changed files
with
428 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.