-
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
Converted balance from sdk.Int to sdk.Coin inside DelegationResponse #4806
Converted balance from sdk.Int to sdk.Coin inside DelegationResponse #4806
Conversation
@RiccardoM mind pulling from master? There was a recent issue with CI that's now resolved |
…coin-int-replacement
@fedekunze Done ✔️ |
Can someone help me with the |
Thanks! |
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.
sorry @RiccardoM . We need to also update the swagger.yaml
output for the delegation responses
I can't seem able to perform this command. Which executable should I have installed? I tried using |
Codecov Report
@@ Coverage Diff @@
## master #4806 +/- ##
==========================================
- Coverage 50.5% 50.49% -0.02%
==========================================
Files 288 288
Lines 18516 18516
==========================================
- Hits 9351 9349 -2
- Misses 8480 8482 +2
Partials 685 685 |
Codecov Report
@@ Coverage Diff @@
## master #4806 +/- ##
==========================================
- Coverage 54.21% 54.19% -0.02%
==========================================
Files 269 269
Lines 17179 17179
==========================================
- Hits 9313 9311 -2
- Misses 7176 7178 +2
Partials 690 690 |
@RiccardoM |
@alexanderbez Thank you! Done! |
Done! |
@@ -2365,8 +2365,8 @@ definitions: | |||
type: string | |||
shares: | |||
type: string | |||
height: |
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.
why was this deleted ?
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.
Looking at the LCD response, it didn't appear to be present inside the response itself. Am I wrong or was it an error?
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.
The entire swagger config needs to be refactored (responses are now: {"height": X, "result": Y}
)
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.
So, can we resolve this and open up another issue?
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.
👍 mind opening it?
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.
Looks good to me - @fedekunze's comment (https://github.com/cosmos/cosmos-sdk/pull/4806/files#r309864932) should be addressed before merging
Co-Authored-By: Alexander Bezobchuk <[email protected]>
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
Description
Updated the type of
balance
insideDelegationResponse
to besdk.Coin
instead ofsdk.Int
to work towards response standardization as described inside #4783.Check list
docs/
)clog add [section] [-t <tag>] [-m <msg>]
Files changed
in the github PR explorerFor Admin Use: