You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes sense for ensuring cast logs has consistent behaviour. That said it would be nice if there was a way that cast could use the signature to output the fields in a formatted manner. E.g. something like:
Perhaps there's already a command along these lines that I'm missing? What is the command line workflow you use for this? I'm new to foundry - any advice appreciated!
Additional context
No response
The text was updated successfully, but these errors were encountered:
zerosnacks
changed the title
Parsing and formatting log data on the CLI
feat(cast): add event-decode command to parsing and formatting log data
Jul 5, 2024
Component
Cast
Describe the feature you would like
With
cast
, we can fetch the logs with:We can filter down to the events that we care about by providing a signature:
However the stdout still gives us unformatted, raw data (despite knowing the Event signature):
This makes sense for ensuring
cast logs
has consistent behaviour. That said it would be nice if there was a way thatcast
could use the signature to output the fields in a formatted manner. E.g. something like:Which outputs something like:
Perhaps there's already a command along these lines that I'm missing? What is the command line workflow you use for this? I'm new to foundry - any advice appreciated!
Additional context
No response
The text was updated successfully, but these errors were encountered: