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

fix: claim accured rewards first before adding delegation #334

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

javiersuweijie
Copy link
Member

When a new delegation is created, we need to first claim all already accrued rewards from all previous delegations. Else, the new delegation will get a share of the old accrued rewards.

@javiersuweijie javiersuweijie force-pushed the fix/v0.4/claim-accured-rewards-first branch from 3538dd4 to 513cb40 Compare March 25, 2024 03:43
@javiersuweijie javiersuweijie merged commit 361dd3d into release/v0.4.x Mar 25, 2024
3 checks passed
@emidev98 emidev98 deleted the fix/v0.4/claim-accured-rewards-first branch March 25, 2024 05:22
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