mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
* wk2048 | D6 | issue-7143-treasury-refactor | integration * wk2048 | D6 | issue-7143-treasury-refactor | integration | p2 * trait -> config * fix weight files and import * missed some * fix import * fix imports * alphabetize * fix config traits * fix trait * update traits * update weights * "Update Substrate" * fix features * Update runtime/kusama/src/lib.rs * Update runtime/polkadot/src/lib.rs * add bounties and tips in proxy filters * remove unused * remove unused * remove unused Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: parity-processbot <> Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
@@ -138,18 +138,6 @@ mod tests {
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
pub struct Nobody;
|
||||
impl frame_support::traits::Contains<AccountId> for Nobody {
|
||||
fn contains(_: &AccountId) -> bool { false }
|
||||
fn sorted_members() -> Vec<AccountId> { vec![] }
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
fn add(_: &AccountId) { unimplemented!() }
|
||||
}
|
||||
impl frame_support::traits::ContainsLengthBound for Nobody {
|
||||
fn min_len() -> usize { 0 }
|
||||
fn max_len() -> usize { 0 }
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry");
|
||||
}
|
||||
@@ -165,18 +153,8 @@ mod tests {
|
||||
type SpendPeriod = ();
|
||||
type Burn = ();
|
||||
type BurnDestination = ();
|
||||
type Tippers = Nobody;
|
||||
type TipCountdown = ();
|
||||
type TipFindersFee = ();
|
||||
type TipReportDepositBase = ();
|
||||
type DataDepositPerByte = ();
|
||||
type BountyDepositBase = ();
|
||||
type BountyDepositPayoutDelay = ();
|
||||
type BountyUpdatePeriod = ();
|
||||
type MaximumReasonLength = ();
|
||||
type BountyCuratorDeposit = ();
|
||||
type BountyValueMinimum = ();
|
||||
type ModuleId = TreasuryModuleId;
|
||||
type SpendFunds = ();
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user