Companion for #10896: Minor Uniques pallet improvements (#1070)

* Formatting

* Add set_accept_ownership weight

* Revert lock file

* Fixes

* Fixed

* Revert lock

* Fixes

* Bump Substrate
This commit is contained in:
Gavin Wood
2022-03-07 11:02:03 +01:00
committed by GitHub
parent 2ebbbc1dc0
commit ca379cf7c8
16 changed files with 222 additions and 200 deletions
@@ -18,7 +18,7 @@ use super::{
Runtime, XcmpQueue,
};
use frame_support::{
match_type, parameter_types,
match_types, parameter_types,
traits::{EnsureOneOf, Everything, Nothing},
weights::{IdentityFee, Weight},
};
@@ -106,13 +106,11 @@ parameter_types! {
pub const MaxInstructions: u32 = 100;
}
match_type! {
match_types! {
pub type ParentOrParentsExecutivePlurality: impl Contains<MultiLocation> = {
MultiLocation { parents: 1, interior: Here } |
MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) }
};
}
match_type! {
pub type ParentOrSiblings: impl Contains<MultiLocation> = {
MultiLocation { parents: 1, interior: Here } |
MultiLocation { parents: 1, interior: X1(_) }