[ADD] Make validator block rewards relative to bond up to a hard cap
Related to #1187 (closed)
- Add a new
NodeAccountproperty,EffectiveBond, which will be used to calculate block rewards and will be reset every churn - When distributing block rewards to validators, distribute in proportion to validators'
EffectiveBond - Add a new constant
ValidatorMaxRewardRatio, which is the ratio toMinimumBondInRuneat which a node'sEffectiveBondis capped - Add a store migration to update currently active validators'
EffectiveBond