-
Notifications
You must be signed in to change notification settings - Fork 990
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
Fix offline wrapper signature by elsewho (backport #4120) #4137
Conversation
Cherry-pick of 2d64081 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## maint-libs-0.46 #4137 +/- ##
================================================
Coverage 74.56% 74.57%
================================================
Files 341 341
Lines 107492 107499 +7
================================================
+ Hits 80150 80164 +14
+ Misses 27342 27335 -7 ☔ View full report in Codecov by Sentry. |
@@ -0,0 +1,3 @@ | |||
- Fixed a bug that was preventing generating wrapper signatures |
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 is not right - it's moved it out of the unreleased dir
629f969
to
dcf3762
Compare
Describe your changes
Fixes offline wrapper signatures and adds two new tests for this. The bug was only affecting offline wrapper signing when the signer did not own the keys to also sign the inner transaction:
The
tx
command now attaches the raw signatures to the tx when a--dump-wrapper-tx
is requested to allow for a different wrapper signer.The offline sign command and the custom tx one now return errors if a wrapper singer/signature is provided but the tx is not a wrapper.
Also removes a redundant
sign-tx
client command.Checklist before merging
breaking::
labelsnamada-docs
reponamada-indexer
ornamada-masp-indexer
, a corresponding PR is opened in that repoThis is an automatic backport of pull request #4120 done by [Mergify](https://mergify.com).