-
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
Move QueryTx functions to x/auth/tx #8734
Conversation
e5acc38
to
2495dbd
Compare
Codecov Report
@@ Coverage Diff @@
## master #8734 +/- ##
==========================================
+ Coverage 61.38% 61.45% +0.06%
==========================================
Files 673 673
Lines 38337 38306 -31
==========================================
+ Hits 23535 23541 +6
+ Misses 12334 12285 -49
- Partials 2468 2480 +12
|
i forgot to add a changelog entry. it's an API-breaking change, so it deserves one. #8736 (comment) |
x/auth needs a big refactor. I started it few months ago, but it took more then expected and didn't finish. Major problem is that other packages (anything not in |
It's a major one indeed. Nothing outside |
Description
closes: #8680
closes: #8681
It was confusing that the gRPC handler
GetTxsEvent
was inx/auth/tx
, whereas the logicQueryTxsByEvents
was inx/auth/client
(same for querying tx by hash). I propose to put them together inx/auth/tx
.(on a related note: I find the 2 packages
x/auth/client
andx/auth/tx
too similar. For example,x/auth/client
exports theSignTx
function, which could totally be inx/auth/tx
. Maybe merging them would make things cleaner?)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