Use updated bags list: Companion to #10997 (#5065)

* Use updated bags list: Companion to #10997

* Use Score, not Value

* update lockfile for {"substrate"}

* Fix match_types

* Fix

Co-authored-by: parity-processbot <>
This commit is contained in:
Zeke Mostov
2022-03-10 09:02:15 +00:00
committed by GitHub
parent 49f7e5cce4
commit b13bb87870
8 changed files with 180 additions and 180 deletions
+2 -1
View File
@@ -466,9 +466,10 @@ parameter_types! {
impl pallet_bags_list::Config for Runtime {
type Event = Event;
type VoteWeightProvider = Staking;
type ScoreProvider = Staking;
type WeightInfo = weights::pallet_bags_list::WeightInfo<Runtime>;
type BagThresholds = BagThresholds;
type Score = sp_npos_elections::VoteWeight;
}
fn era_payout(