You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that an economic model (EM) has more or less been decided, use the values and caps described in the EM doc to calculate reward pool size and individual staking rewards.
Acceptance criteria:
update reward_pool_size and staking_reward_total to return correct values as described in the EM doc by integrating the values and caps in the document.
Tests that prove this using the examples in the document as well as any other needed test cases that exercise the model's limits
Change the trait and implementation of StakingRewardsProvider: remove 'from_eraparameter fromstaking_reward_total`, since we should always pay out the oldest staking rewards.
Tests for same
Possibly: Update/create (it's currently in a branch and may be out of date enough to start over) the Design Doc for the staking rewards economic model
Now that an economic model (EM) has more or less been decided, use the values and caps described in the EM doc to calculate reward pool size and individual staking rewards.
Acceptance criteria:
reward_pool_size
andstaking_reward_total
to return correct values as described in the EM doc by integrating the values and caps in the document.StakingRewardsProvider
: remove 'from_eraparameter from
staking_reward_total`, since we should always pay out the oldest staking rewards.Possibly: Update/create (it's currently in a branch and may be out of date enough to start over) the Design Doc for the staking rewards economic model
Related/includes:
claim_staking_reward
extrinsic #1571The text was updated successfully, but these errors were encountered: