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 Eras basics #1567

Closed
shannonwells opened this issue May 31, 2023 · 1 comment
Closed

Staking Rewards Eras basics #1567

shannonwells opened this issue May 31, 2023 · 1 comment
Assignees
Labels
config Config needed for Genesis Provider Boosting

Comments

@shannonwells
Copy link
Collaborator

shannonwells commented May 31, 2023

Story

In order to calculate the Reward Pool size and pay out Staking Rewards, Frequency must know over how many blocks a Reward Pool applies, and must track what Era it is in.

Acceptance Criteria

  • An Era is a defined type in Capacity Config (probably u32)
  • An EraLength is a defined type in Capacity Config (in number of Blocks)
  • A CurrentEraInfo is a StorageValue in Capacity pallet storage
  • Logic is implemented similarly to Capacity Epochs to check every block whether to roll to a new Era and update the current Era in storage accordingly.

Not included

  • Anything to do with the Reward Pool
@shannonwells shannonwells added config Config needed for Genesis Provider Boosting labels May 31, 2023
@shannonwells shannonwells self-assigned this Jun 6, 2023
shannonwells added a commit that referenced this issue Jun 7, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 8, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 13, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 13, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 21, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 27, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jul 3, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jul 3, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Jul 7, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
@shannonwells
Copy link
Collaborator Author

finished

shannonwells added a commit that referenced this issue Sep 30, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Oct 11, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Oct 11, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Oct 13, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Oct 16, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Oct 18, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Nov 7, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567 
Does not include anything to do with the Reward Pool.

# Checklist
- [x] Chain spec updated
- [x] Design doc(s) updated 
- [x] Tests added
shannonwells added a commit that referenced this issue Dec 21, 2023
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Apr 17, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Apr 19, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Apr 22, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue May 3, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue May 6, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue May 14, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue May 21, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue May 22, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 12, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Jun 25, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Jul 18, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
shannonwells added a commit that referenced this issue Jul 23, 2024
Implement the basic functionality of tracking and rotating Reward Era. Closes #1567
Does not include anything to do with the Reward Pool.

- [x] Chain spec updated
- [x] Design doc(s) updated
- [x] Tests added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Config needed for Genesis Provider Boosting
Projects
None yet
Development

No branches or pull requests

1 participant