-
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
Implement MarshalJSON for Coins Type #4454
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4454 +/- ##
==========================================
+ Coverage 54.63% 54.69% +0.05%
==========================================
Files 250 250
Lines 16061 16065 +4
==========================================
+ Hits 8775 8786 +11
+ Misses 6641 6634 -7
Partials 645 645
Continue to review full report at Codecov.
|
@vikmeup We'll get this in the next point release v0.34.7. |
@alexanderbez Thank you for fixing it, but RPC still returns wrong https://stargate.cosmos.network/auth/accounts/cosmos1633n6ga6zee5nz2uhtsn5urug8qzxthmz85ne9 |
That's because we haven't included it in a release yet @kolya182. We will soon :) |
@alexanderbez Do you have ETA for |
@kolya182 end of next week. |
How about now ? |
@alexanderbez How about this week ? |
@kolya182 yes, we're going to be cutting a RC today. I anticipate we'll have a full release next week 👍 Sorry for any inconvenience. |
@alexanderbez Will you roll out update to https://github.com/cosmos/gaia repo ? |
@kolya182 SDK v0.36.0-rc1 and Gaia v1.0.0-rc1 have been cut. If the testnet operates smoothly, I anticipate we'll have a final release next week. Sorry for the delay! |
@kolya182 stargate is pointing to mainnet, not the testnet (which is running the latest version). |
When mainnet ? |
|
When coins are
nil
, they are JSON encoded asnull
in responses which is a bad UX for API and client consumers. This PR implements a custom JSON marshaler that encodesnil
coins as[]
. Decoding remains unchanged and behavior is left intact.closes: #4259
/cc @vikmeup
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] [stanza] [message]
rereviewed
Files changed
in the github PR explorerFor Admin Use: