Skip to content
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

Remove mentions of shares from client returns #3516

Closed
jackzampolin opened this issue Feb 6, 2019 · 2 comments · Fixed by #3857
Closed

Remove mentions of shares from client returns #3516

jackzampolin opened this issue Feb 6, 2019 · 2 comments · Fixed by #3857
Assignees
Labels
S:proposed T: Dev UX UX for SDK developers (i.e. how to call our code)
Projects
Milestone

Comments

@jackzampolin
Copy link
Member

Ref: luniehq/lunie#1931

@faboweb
Copy link
Contributor

faboweb commented Feb 11, 2019

Summing up:
Clients should not care about the internal concept of shares.
I as a user only want to know how many tokens I have delegated to a validator so I can quickly evaluate how much value I have delegated.
Same: I as a user want to withdraw x tokens I have delegated to a validator.

Therefor in the CLI and REST interface displaying and withdrawing (and redelegation?!) of stake should only happen in tokens. Those tokens are then converted into and from shares internally.

@rigelrozanski rigelrozanski added T: Dev UX UX for SDK developers (i.e. how to call our code) API labels Feb 14, 2019
@rigelrozanski
Copy link
Contributor

makes ample sense - some consideration needs to given based truncation which may occur based on values of shares etc.. but I don't think it's anything unmanageable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:proposed T: Dev UX UX for SDK developers (i.e. how to call our code)
Projects
No open projects
v0.34.0
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants