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

Add in check for minimum stake for unstaking #1832

Merged
merged 10 commits into from
May 1, 2024

Conversation

thewhaleking
Copy link
Contributor

Fixes #1828

Adds a check to ensure that the unstaked balance is greater than or equal to the minimum, or 0.

Adds a check to ensure that the unstaked balance is greater than or equal to the minimum, or 0.
@thewhaleking thewhaleking marked this pull request as ready for review April 30, 2024 22:26
@gus-opentensor
Copy link
Collaborator

@thewhaleking I know this is an ephemeral fix but could we please add a test.

@thewhaleking
Copy link
Contributor Author

@thewhaleking I know this is an ephemeral fix but could we please add a test.

Yes. One moment

Adds a check to ensure that the unstaked balance is greater than or equal to the minimum, or 0.
@thewhaleking thewhaleking merged commit 752c1ad into staging May 1, 2024
12 checks passed
@thewhaleking thewhaleking deleted the warmfix/add-thresholds-for-unstaking branch May 1, 2024 19:39
@gus-opentensor gus-opentensor mentioned this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants