-
Notifications
You must be signed in to change notification settings - Fork 48
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
x/distribution withdraw-all-rewards got wrong account sequence on PeriodicVestingAccount #567
Comments
@kwunyeung The |
@dadamu the issue exists when an account has more than 5 delegations as If this has been fixed in |
@kwunyeung Tested it with 12 nodes. The default max-msgs is 5 so the error happens, setting it to 0 (meaning that send all msgs in one transaction) can solve it. |
I guess we need to mention it somewhere in the doc then. |
I've opened a PR to improve the UX of the |
Should have been solved with |
The buggy account is
https://morpheus.desmos.network/accounts/desmos1snmetx9sfrmznr4z6d3lnwlyvwu36sgcpzzhlr
I ran
to withdraw all rewards from all delegations but then after broadcasting the tx, it gave me this
The sequence number is incremented before the tx is committed. Interestingly, for the same account, withdrawing rewards from each delegation by
MsgWithdrawDelegatorReward
has no problem. It only happens with thewithdraw-all-rewards
command which broadcast a tx with multipleMsgWithdrawDelegatorReward
.I have tested this with other accounts but only this account would give the issue. It has 12 delegations and it's a
PeriodicVestingAccount
. Not sure if this is an issue inx/distribution
in the SDK or some misuse ofx/auth
.The text was updated successfully, but these errors were encountered: