Skip to content

Improvement: Handle zero_shares dual to slashing/rounding#155

Merged
jiujiteiro merged 4 commits intomainfrom
hieu/edge-case
Sep 29, 2025
Merged

Improvement: Handle zero_shares dual to slashing/rounding#155
jiujiteiro merged 4 commits intomainfrom
hieu/edge-case

Conversation

@hieuvubk
Copy link
Contributor

  • Zero shares:
    • Tokens lock but zero shares remain so we could not undelegate theirs delegations => Undelegate fail
    • Delete lock entry and burn corresponding amount to fix this edge case

@jiujiteiro jiujiteiro merged commit 9dcddd7 into main Sep 29, 2025
4 checks passed
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.

2 participants