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

Implement claim_staking_reward extrinsic #1571

Closed
6 tasks done
Tracked by #1747
shannonwells opened this issue May 31, 2023 · 1 comment
Closed
6 tasks done
Tracked by #1747

Implement claim_staking_reward extrinsic #1571

shannonwells opened this issue May 31, 2023 · 1 comment

Comments

@shannonwells
Copy link
Collaborator

shannonwells commented May 31, 2023

Story

As an AccountId holder that is staking for rewards, I want to be able to get my rewards transferred to my account.

  • claiming rewards is all-or-nothing
  • on a reward claim, boost history items for all reward-eligible and expired eras are removed from the db entry. If empty, the record is reaped.

Acceptance Criteria

  • implement claim_staking_reward as outlined in the Design Doc including Errors and Event and detailed in this story
  • It uses the StakingRewardsProvider configured in runtime/mocks to do so.
  • Unit tests and end-to-end (integration) tests for same
  • update benchmarks
  • update weights
  • update implementation design doc
@shannonwells shannonwells added blocked Blocked by another issue Provider Boosting labels May 31, 2023
@shannonwells shannonwells changed the title Implement claim_staking_reward extrinsic Implement claim_staking_reward extrinsic May 31, 2023
@shannonwells shannonwells removed the blocked Blocked by another issue label May 10, 2024
@shannonwells
Copy link
Collaborator Author

Finished with #2080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants