-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Remove GetSignatures from SigVerifiableTx #6550
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6550 +/- ##
==========================================
- Coverage 54.99% 54.99% -0.01%
==========================================
Files 562 562
Lines 38683 38703 +20
==========================================
+ Hits 21275 21283 +8
- Misses 15662 15671 +9
- Partials 1746 1749 +3 |
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.
ACK
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.
ACK. Can you add a test for the MultiSignatureData case?
@aaronc mind fixing the conflicts? |
@fedekunze I'm waiting on #6661 to finish this. |
var err error | ||
sigData, err := ModeInfoAndSigToSignatureData(si.ModeInfo, sigs[i]) | ||
if err != nil { | ||
return nil, err |
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.
nit, wrap error with signer info index
ref: #6213
In #6428,
GetSignaturesV2
was added toSigVerifiableTx
and is now used for signature verification in the ante handlers.This PR now removes
GetSignatures
fromSigVerifiableTx
because it is no longer needed and can't actually be safely used (because it exposes encoding details such as amino or proto encoding of multi-signatures).Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes