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

Display amount of rewards obtained from reward withdrawal #2222

Closed
fedekunze opened this issue Mar 8, 2019 · 24 comments
Closed

Display amount of rewards obtained from reward withdrawal #2222

fedekunze opened this issue Mar 8, 2019 · 24 comments
Labels
high priority ❗ ux-improvement issues that would improve the user experience

Comments

@fedekunze
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently we don't show on the transactions how many tokens you gained when you withdraw rewards.

Describe the solution you'd like

Show the rewards obtained with the withdraw transaction.

Describe alternatives you've considered

Query balance before and after withdrawal and get the difference (short term)
Get the reward coins obtained through Gaia-lite (post-lunch release)

Additional context

Screen Shot 2019-03-05 at 10 31 10 AM

cc: @jackzampolin @alexanderbez

@fedekunze fedekunze added the ux-improvement issues that would improve the user experience label Mar 8, 2019
@alexanderbez
Copy link

This would be super simple once we implement an event-based log system in the sdk (e.g. ctx.Event("delegation_rewards", coins). I'm not sure there is a super clean solution in the short-term.

@jbibla
Copy link
Collaborator

jbibla commented Mar 9, 2019

post-lunch

🍔

@fedekunze
Copy link
Contributor Author

This would be super simple once we implement an event-based log system in the sdk (e.g. ctx.Event("delegation_rewards", coins). I'm not sure there is a super clean solution in the short-term.

I think that's too much overhead, we just need to either

  • add an amount field to the request withdraw message, or
  • return the amount withdrawn by adding it to the response message

@faboweb
Copy link
Collaborator

faboweb commented Mar 11, 2019

Should this issue move into the SDK?

@alexanderbez
Copy link

return the amount withdrawn by adding it to the response message

Seems like the easiest approach. Sure @faboweb.

@faboweb
Copy link
Collaborator

faboweb commented May 24, 2019

This is now possible as the tags on a withdraw tx include the withdraw amount.

@stale
Copy link

stale bot commented Aug 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 23, 2019
@faboweb
Copy link
Collaborator

faboweb commented Aug 23, 2019

Still relevant

@stale stale bot removed the stale label Aug 23, 2019
@stale
Copy link

stale bot commented Oct 5, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 5, 2019
@jbibla
Copy link
Collaborator

jbibla commented Oct 7, 2019

would be nice to do this still. probably very simple.

@stale stale bot removed the stale label Oct 7, 2019
@alexanderbez
Copy link

alexanderbez commented Oct 7, 2019

This is now emitted in the tx's event logs. Wait till the next major upgrade to use this functionality.

@jbibla jbibla changed the title Display fees obtained from reward withdrawal Display amount of rewards obtained from reward withdrawal Nov 11, 2019
@jbibla
Copy link
Collaborator

jbibla commented Nov 11, 2019

Wait till the next major upgrade

@alexanderbez do you mean cosmoshub-3?

@alexanderbez
Copy link

Yup!

@jbibla
Copy link
Collaborator

jbibla commented Nov 26, 2019

we can implement on gaia-13k6

@stale
Copy link

stale bot commented Dec 24, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Dec 24, 2019
@stale stale bot closed this as completed Dec 27, 2019
@faboweb faboweb reopened this Dec 27, 2019
@stale stale bot removed the stale label Dec 27, 2019
@stale
Copy link

stale bot commented Jan 24, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot unassigned colw Jan 24, 2020
@stale stale bot added the stale label Jan 24, 2020
@jbibla
Copy link
Collaborator

jbibla commented Jan 24, 2020

yes, please. let's do this already!

@stale stale bot removed the stale label Jan 24, 2020
@stale
Copy link

stale bot commented Feb 22, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Feb 22, 2020
@jackzampolin
Copy link

This should not be doable fwiw

@stale stale bot removed the stale label Feb 23, 2020
@jbibla
Copy link
Collaborator

jbibla commented Feb 24, 2020

yep! definitely, thanks @jackzampolin.

@Bitcoinera @mariopino is this covered with the new tx abstraction work?

@Bitcoinera
Copy link
Contributor

@Bitcoinera @mariopino is this covered with the new tx abstraction work?

Yes, it is. But in multidenom networks we only display the staking denom.

@jbibla
Copy link
Collaborator

jbibla commented Feb 24, 2020

in multidenom networks we only display the staking denom.

ok for now!

@Bitcoinera
Copy link
Contributor

ok for now!

Cool. This is how it is looking now:

@mariopino
Copy link
Contributor

@faboweb faboweb closed this as completed Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority ❗ ux-improvement issues that would improve the user experience
Projects
None yet
Development

No branches or pull requests

8 participants