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

Nominator can stake less than minimum nominator stake #1709

Closed
vedhavyas opened this issue Jul 27, 2023 · 0 comments · Fixed by #1714
Closed

Nominator can stake less than minimum nominator stake #1709

vedhavyas opened this issue Jul 27, 2023 · 0 comments · Fixed by #1714
Assignees
Labels
execution Subspace execution

Comments

@vedhavyas
Copy link
Member

A nominator can stake less than minimum nominator stake with following steps

  • Nominator sends Withdraw all from an operator
  • Sends another deposit less than minimum(order of this step will not matter, either before or after withdrawl but within same epoch)
    During epoch transition, since we process withdrawals first and then deposits after without checking minimum, then nominator will essentially, stake less than minimum.

This can be solved if we ensure there is only either Pending Deposit or Pending Withdrawal for a given epoch. They can send multiple Pending Deposits or Pending Withdrawals and amount gets accumulated until the epoch is finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execution Subspace execution
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants