-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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(x/auth/tx): propagate tx options to signing handlers #17996
Conversation
If this fixes the issue, can we have this target main and we backport? |
Yea, once I get a confirmation from @damiannolan I'll rebase the rebase the branch from |
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.
Hey @kocubinski, I built simd
using the code in this PR and can confirm it works. I successfully signed a ibc MsgTransfer
using amino-json
.
I also tried using signmode=textual
and got the following:
err="[APDU_CODE_INVALID_P1P2] Wrong parameter(s) P1-P2"
Unsure what that's about right now. Happy to say that amino is working fine tho, maybe the textual signing error is related to something else but I would confirm its working before cutting a final.
LGTM. Could we add a test for this?
lets make another pr against main for this |
This seems unrelated to the current issue but I'm happy to follow up separately.
A test was added but it's very basic and doesn't expose the current bug. That would require some structural refactoring to give access to unexported fields in tests. I'm inclined to skip that for now. What do you think? |
51c1bfe
to
3ef834f
Compare
simplify and remove derefs
3ef834f
to
31247a1
Compare
Hi! just curious about this bug. You're using a ledger device to sign the tx, right ? could you please describe the steps to reproduce this error ? |
Hey @raynaudoe. Yes I've been using a ledger nano X for tx signing. This error arose when trying to sign an ibc There is a readme on the repository with useful commands but I can outline here what steps I took.
Bit of an involved setup but fairly quick with the scripts in that repo - feel free to do generate and sign offline if you want. |
@damiannolan Thanks for the description! |
No problem! Thanks a lot. I assume |
Co-authored-by: Marko <marbar3778@yahoo.com> (cherry picked from commit 758d3a1)
Yes, should be released very soon! |
Description
Closes: #17975
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
make lint
andmake test
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change