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

[Bug]: Calculated final stake for delegator #22733

Open
1 task done
angelorc opened this issue Dec 3, 2024 · 0 comments
Open
1 task done

[Bug]: Calculated final stake for delegator #22733

angelorc opened this issue Dec 3, 2024 · 0 comments
Labels

Comments

@angelorc
Copy link

angelorc commented Dec 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Hello everyone, after updating bitsong to version 0.47 of cosmos-sdk we find a strange error on some wallets.

calculated final stake for delegator ... greater than current stake\n\tfinal stake:\t20601539275.278749610984576015\n\tcurrent stake:\t20395524409.388184804452950596

After carrying out some research, I found a note on the distribution module, however it does not explain how we could resolve the error.
https://github.com/cosmos/cosmos-sdk/blob/v0.47.8/x/distribution/keeper/delegation.go#L128

Cosmos SDK Version

0.47

How to reproduce?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant