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

Interface: Staking balance updates #354

Closed
jurevans opened this issue Aug 4, 2023 · 0 comments · Fixed by #368
Closed

Interface: Staking balance updates #354

jurevans opened this issue Aug 4, 2023 · 0 comments · Fixed by #368
Assignees
Labels
bug Something isn't working

Comments

@jurevans
Copy link
Collaborator

jurevans commented Aug 4, 2023

Currently, when we submit a bond, unbond, or withdraw, the interface is not correctly updated with new balances.

Any change to staking should update the following:

  • bonded, unbonded, or withdrawn amount changes
  • fetch balances to show balance after staking minus gas fee

Staked amount changes could simply be optimistically updated if we know the transaction succeeded, so we don't need to query for new values immediately.

@jurevans jurevans added bug Something isn't working enhancement labels Aug 4, 2023
@jurevans jurevans added this to the Release 1.0 (Q4 2022) milestone Aug 4, 2023
@jurevans jurevans self-assigned this Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done (testnet)
Development

Successfully merging a pull request may close this issue.

1 participant