-
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
refactor!: Add context arg to sign mode handler GetSignBytes
#13701
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #13701 +/- ##
==========================================
- Coverage 56.25% 56.00% -0.26%
==========================================
Files 667 666 -1
Lines 56576 57916 +1340
==========================================
+ Hits 31829 32435 +606
- Misses 22165 22843 +678
- Partials 2582 2638 +56
|
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.
utACK. could we have an upgrading.md entry as many teams have to fork our ante handlers to add ibc ones. Also do we want this in 0.47? or can it wait for an alpha to be cut then merged?
Yeah i'm fine to wait for a 0.47 release branch, but maybe in 2 weeks this will start blocking textual work |
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
GetSignBytes
GetSignBytes
Putting as draft so it doesn't get merged accidentally |
GetSignBytes
GetSignBytes
86013ac
to
bec1699
Compare
This seems to be blocked on a vulnerability unrelated to this PR: https://github.com/cosmos/cosmos-sdk/actions/runs/3487690117 |
I'll fix conflicts and try to have another look at the btc dep |
[Cosmos SDK] Kudos, SonarCloud Quality Gate passed! |
[Cosmos SDK - SimApp] Kudos, SonarCloud Quality Gate passed! |
…s#13701) * refactor!: Add context arg to sign mode handler `GetSignBytes` * fix build * fix tests * Fix goling * fix lint * Fix lint * Fix test * Update CHANGELOG.md Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Fix tests * Fix rosetta deps * fix * go mod tidy all * go mod tidy Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
Description
Closes: #13646
The
context.Context
arg is set in this PR:sdk.WrapContext(sdkCtx)
in antehandler codenil
in tests where we know Textual won't be usedcontext.TODO()
in client code, where we need to update the wiring to pass acontext.Context
, to be tackled in Allow client-side signing with SIGN_MODE_TEXTUAL #13747Author 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
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