-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
R4R: Various sign command improvements #2558
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2558 +/- ##
===========================================
- Coverage 58.84% 58.84% -0.01%
===========================================
Files 152 152
Lines 9424 9425 +1
===========================================
Hits 5546 5546
- Misses 3508 3509 +1
Partials 370 370 |
01e9870
to
a6229ab
Compare
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.
@alessio haven't gotten a chance to play with this yet, but I left some initial minor feedback.
x/auth/client/cli/sign.go
Outdated
flagAppend = "append" | ||
flagPrintSigs = "print-sigs" | ||
flagOffline = "offline" | ||
flagRawSignature = "raw-signature" |
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.
What's the diff between print-sigs
and raw-signature
? May I suggest renaming --raw-signature
to --sig-only
. Also, let's not jumble sig/s
with signature/s
. Let's stick to one.
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.
I rename --raw-signature
to --sig-only
. Plus, I renamed --print-sigs
to --validate-signatures
.
4768498
to
ab36fba
Compare
@alessio let's add the new flags on |
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.
See comments.
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.
Hate to be nit-picky here, but left some more minor feedback 👍
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.
testedACK -- thanks @alessio 🌵
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.
See comment.
- Exit with error if the user is attempting to sign with a key whose address is not among those who are expected to sign the transaction. - Add --print-signature-only to output only the generated signature.
9ab5733
to
3df3337
Compare
3df3337
to
06989be
Compare
docs/
)PENDING.md
with issue #Files changed
in the github PR explorerFor Admin Use: