-
Notifications
You must be signed in to change notification settings - Fork 2k
feat(cast): Verbose signing output #10529
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
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.
this makes the output no longer usable with a regular pipe, so I think we can do this is --verbose is passed?
wdyt @zerosnacks
@mattsse been a while 👋 Could also add a new flag |
gm ser, didn't notice the @ until now :D ah, we even have this already here: foundry/crates/cast/src/cmd/wallet/mod.rs Lines 603 to 611 in 776897b
I believe this should respect the |
Not fully understanding your reply, that won't output the message & address though for |
@mattsse @zerosnacks Updated! Appreciate the feedback. Waiting for tests to re-run |
TBH looking at the rest of the file, it might make sense to also do this for Spoke to Matthias added |
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!
ty
Thanks! |
Motivation
closes #10424
Adds some extra logging to the signing of a transaction.
Solution
I simply added two logs at the end of signing.
I wonder if this might be considered a breaking change? If some tools rely on the cli output to only return the signature, they would need to add extra parsing...
We could add a verbosity flag, open to ideas
PR Checklist