-
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
Query genesis transactions #4788
Conversation
…-query-genesis-transactions
…-query-genesis-transactions
…-query-genesis-transactions
This pr is stuck on import cycle mentioned in #4785, my fix just pushed the import cycle off of build to tests.. |
imports github.com/cosmos/cosmos-sdk/x/staking/types
imports github.com/cosmos/cosmos-sdk/x/supply Seems that we'll have to either create a mocked |
Seems like a mocked supply is better, no? |
Agree, but just to make sure I follow, add Also, should this be a separate issue/pr? |
After playing around with this for a while, I am still not sure how to do this fix. I tried adding Edit: Supply was updated to be an interface instead of a concrete type. |
@colin-axner I've made some (incomplete) updates that I believe are in the direction of what we want. I've implemented the I haven't finished the implementation, but it should give you the general idea on what else needs to be done ⚡️ |
Codecov Report
@@ Coverage Diff @@
## master #4788 +/- ##
==========================================
- Coverage 54.21% 54.19% -0.02%
==========================================
Files 269 269
Lines 17179 17189 +10
==========================================
+ Hits 9313 9315 +2
- Misses 7176 7184 +8
Partials 690 690 |
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.
Small nit, but otherwise LGTM ⚡️
…smos/cosmos-sdk into colin/3867-query-genesis-transactions
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
Thanks @colin-axner! we forgot to update the spec tho |
can you point me to where it is out of date? |
fixes #3867
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added a relevant changelog entry:
clog add [section] [-t <tag>] [-m <msg>]
Re-reviewed
Files changed
in the github PR explorerFor Admin Use: