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

Staking rewards #534

Merged
merged 42 commits into from
Sep 19, 2024
Merged

Staking rewards #534

merged 42 commits into from
Sep 19, 2024

Conversation

feuGeneA
Copy link
Contributor

@feuGeneA feuGeneA commented Sep 6, 2024

Why this should be merged

for #489

How this was tested

via the unit tests herein

@feuGeneA feuGeneA force-pushed the staking-rewards branch 4 times, most recently from 737bf91 to ea50cfb Compare September 6, 2024 21:35
@feuGeneA feuGeneA changed the base branch from unlock-stake to main September 6, 2024 21:38
@feuGeneA feuGeneA changed the base branch from main to staking-contract September 6, 2024 21:38
@feuGeneA feuGeneA changed the title Staking rewards ERC20 staking rewards Sep 9, 2024
@feuGeneA feuGeneA force-pushed the staking-rewards branch 3 times, most recently from 3d67738 to 19d26be Compare September 9, 2024 18:49
"PoSValidatorManager: delegation not pending added"
);

// Update the delegator status
$._delegatorStakes[delegationID].status = DelegatorStatus.Completed;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized we don't actually need a DelegatorStatus.Completed since we can clear the delegator's state when we get to this stage. I can remove it from the enum if others thinks that makes sense

@geoff-vball geoff-vball merged commit c1de7d3 into staking-contract Sep 19, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done ✅
Development

Successfully merging this pull request may close these issues.

8 participants