chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -93,7 +93,10 @@ pub mod pezpallet {
|
||||
|
||||
/// Means by which we can make payments to accounts. This also defines the currency and the
|
||||
/// balance which we use to denote that currency.
|
||||
type Paymaster: Pay<Beneficiary = <Self as pezframe_system::Config>::AccountId, AssetKind = ()>;
|
||||
type Paymaster: Pay<
|
||||
Beneficiary = <Self as pezframe_system::Config>::AccountId,
|
||||
AssetKind = (),
|
||||
>;
|
||||
|
||||
/// The current membership of payees.
|
||||
type Members: RankedMembers<AccountId = <Self as pezframe_system::Config>::AccountId>;
|
||||
@@ -469,7 +472,8 @@ impl<T: Config<I>, I: 'static>
|
||||
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
impl<T: Config<I>, I: 'static>
|
||||
pezpallet_ranked_collective::BenchmarkSetup<<T as pezframe_system::Config>::AccountId> for Pezpallet<T, I>
|
||||
pezpallet_ranked_collective::BenchmarkSetup<<T as pezframe_system::Config>::AccountId>
|
||||
for Pezpallet<T, I>
|
||||
{
|
||||
fn ensure_member(who: &<T as pezframe_system::Config>::AccountId) {
|
||||
Self::init(pezframe_system::RawOrigin::Signed(who.clone()).into()).unwrap();
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
use crate as pezpallet_salary;
|
||||
use crate::*;
|
||||
use core::cell::RefCell;
|
||||
use frame::{deps::pezsp_runtime::traits::Identity, testing_prelude::*, traits::tokens::ConvertRank};
|
||||
use frame::{
|
||||
deps::pezsp_runtime::traits::Identity, testing_prelude::*, traits::tokens::ConvertRank,
|
||||
};
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
type Block = MockBlock<Test>;
|
||||
|
||||
Reference in New Issue
Block a user