-
Notifications
You must be signed in to change notification settings - Fork 367
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
Add RewardsPerSecond
param to x/community
module
#1707
Add RewardsPerSecond
param to x/community
module
#1707
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i believe we should also update protonet and internal testnet genesis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a migration?
Yup, will check if @rhuairahrighairidh will be adding migrations for the existing params in the target branch that I can add to or if they'll be done in a separate PR |
7a8b10f
into
ro-incentive-restructuring-add-switchover-param
* add community params type * add get/set params methods * add community genesis state type * add community init/export genesis * add querier methods for params * add query cli cmd * update changelog * update protonet genesis * Add `RewardsPerSecond` param to `x/community` module (#1707) * Add RewardsPerSecond param to community * Update rewards per second param to int * Add rewards_per_second to protonet genesis * Use default rewards per second of 744191 * Include value if negative in Validate error * Rename RewardsPerSecond param to StakingRewardsPerSecond * Add changelog entry * Add param migration, update consensus version to 2 * Update proto docs * Update staking_rewards_per_second param name in protonet genesis (#1730) * Update godoc Co-authored-by: Robert Pirtle <Astropirtle@gmail.com> * add genesis state tests * document what 0 upgrade time means * update kvtool to include new params --------- Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
Description
x/community
for payout amount per second.744191
per second reward to protonet genesis (~4.6 KAVA per block, using 23,471,808 KAVA per year)Checklist