mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
* 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:
@@ -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(
|
||||
|
||||
@@ -21,7 +21,7 @@ use super::{
|
||||
Runtime, WeightToFee, XcmPallet,
|
||||
};
|
||||
use frame_support::{
|
||||
match_type, parameter_types,
|
||||
match_types, parameter_types,
|
||||
traits::{Everything, Nothing},
|
||||
weights::Weight,
|
||||
};
|
||||
@@ -111,7 +111,7 @@ parameter_types! {
|
||||
pub type TrustedTeleporters =
|
||||
(xcm_builder::Case<KusamaForStatemine>, xcm_builder::Case<KusamaForEncointer>);
|
||||
|
||||
match_type! {
|
||||
match_types! {
|
||||
pub type OnlyParachains: impl Contains<MultiLocation> = {
|
||||
MultiLocation { parents: 0, interior: X1(Parachain(_)) }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user