disputes rewards (#5862)

* refactor backing points to only reward active set

* impl disputes::RewardValidators

* enable rewards on westend, kusama, polkadot

* fmt

* make dispute points same as backing

* disable on polkadot for now
This commit is contained in:
Andronik
2022-09-08 13:36:01 +02:00
committed by GitHub
parent ec26fbdb85
commit c79dd8751c
3 changed files with 52 additions and 23 deletions
+1 -1
View File
@@ -944,7 +944,7 @@ impl assigned_slots::Config for Runtime {
impl parachains_disputes::Config for Runtime {
type Event = Event;
type RewardValidators = ();
type RewardValidators = parachains_reward_points::RewardValidatorsWithEraPoints<Runtime>;
type PunishValidators = ();
type WeightInfo = weights::runtime_parachains_disputes::WeightInfo<Runtime>;
}